annotate libmpdemux/dvb_defaults.h @ 17243:67ce2e4206ea

support downscaling frames for dynamic b frame decission
author gpoirier
date Sun, 25 Dec 2005 21:29:18 +0000
parents 8dd7a656eaf8
children 0783dd397f74
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9610
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
1 /* dvb_defaults.h
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
2
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
3 Provided by Tomi Ollila
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
4
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
5 Copyright (C) Dave Chapman 2002
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
6
15178
8dd7a656eaf8 Mark modified imported files as such to comply more closely with GPL ¡ø2a.
diego
parents: 12309
diff changeset
7 Modified for use with MPlayer, for details see the CVS changelog at
8dd7a656eaf8 Mark modified imported files as such to comply more closely with GPL ¡ø2a.
diego
parents: 12309
diff changeset
8 http://www.mplayerhq.hu/cgi-bin/cvsweb.cgi/main/
8dd7a656eaf8 Mark modified imported files as such to comply more closely with GPL ¡ø2a.
diego
parents: 12309
diff changeset
9 $Id$
8dd7a656eaf8 Mark modified imported files as such to comply more closely with GPL ¡ø2a.
diego
parents: 12309
diff changeset
10
9610
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
11 This program is free software; you can redistribute it and/or
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
12 modify it under the terms of the GNU General Public License
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
13 as published by the Free Software Foundation; either version 2
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
14 of the License, or (at your option) any later version.
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
15
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
16 This program is distributed in the hope that it will be useful,
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
17 but WITHOUT ANY WARRANTY; without even the implied warranty of
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
19 GNU General Public License for more details.
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
20
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
21 You should have received a copy of the GNU General Public License
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
22 along with this program; if not, write to the Free Software
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
23 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
24 Or, point your browser to http://www.gnu.org/copyleft/gpl.html
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
25
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
26 */
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
27
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
28 #ifndef _DVB_DEFAULTS_H
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
29 #define _DVB_DEFAULTS_H
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
30
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
31 /* DVB-S */
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
32
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
33 // With a diseqc system you may need different values per LNB. I hope
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
34 // no-one ever asks for that :-)
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
35
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
36 #define SLOF (11700*1000UL)
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
37 #define LOF1 (9750*1000UL)
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
38 #define LOF2 (10600*1000UL)
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
39
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
40
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
41
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
42 #ifdef FINLAND
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
43 /* FINLAND settings 1 */
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
44 #define DVB_T_LOCATION "Suomessa"
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
45 #define BANDWIDTH_DEFAULT BANDWIDTH_8_MHZ
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
46 #define HP_CODERATE_DEFAULT FEC_2_3
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
47 #define CONSTELLATION_DEFAULT QAM_64
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
48 #define TRANSMISSION_MODE_DEFAULT TRANSMISSION_MODE_8K
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
49 #define GUARD_INTERVAL_DEFAULT GUARD_INTERVAL_1_8
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
50 #define HIERARCHY_DEFAULT HIERARCHY_NONE
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
51 #endif
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
52
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
53
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
54 #ifdef FINLAND2
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
55 /* FINLAND settings 2 (someone verify there is such environment) */
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
56 #define DVB_T_LOCATION "Suomessa II"
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
57 #define BANDWIDTH_DEFAULT BANDWIDTH_8_MHZ
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
58 #define HP_CODERATE_DEFAULT FEC_1_2
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
59 #define CONSTELLATION_DEFAULT QAM_64
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
60 #define TRANSMISSION_MODE_DEFAULT TRANSMISSION_MODE_2K
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
61 #define GUARD_INTERVAL_DEFAULT GUARD_INTERVAL_1_8
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
62 #define HIERARCHY_DEFAULT HIERARCHY_NONE
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
63 #endif
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
64
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
65 #if defined (UK) && defined (HP_CODERATE_DEFAULT)
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
66 #error Multible countries defined
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
67 #endif
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
68
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
69
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
70
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
71 #ifndef DVB_T_LOCATION
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
72 #ifndef UK
12309
5c375ea5fb0f new configuration structure, gcc warn silencing
nicodvb
parents: 9610
diff changeset
73 #warning No DVB-T country defined in dvb_defaults.h, defaulting to UK. Ignore this if using Satellite or Cable.
9610
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
74 #endif
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
75
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
76 /* UNITED KINGDOM settings */
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
77 #define DVB_T_LOCATION "in United Kingdom"
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
78 #define BANDWIDTH_DEFAULT BANDWIDTH_8_MHZ
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
79 #define HP_CODERATE_DEFAULT FEC_2_3
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
80 #define CONSTELLATION_DEFAULT QAM_64
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
81 #define TRANSMISSION_MODE_DEFAULT TRANSMISSION_MODE_2K
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
82 #define GUARD_INTERVAL_DEFAULT GUARD_INTERVAL_1_32
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
83 #define HIERARCHY_DEFAULT HIERARCHY_NONE
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
84 #endif
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
85
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
86
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
87 #if HIERARCHY_DEFAULT == HIERARCHY_NONE && !defined (LP_CODERATE_DEFAULT)
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
88 #define LP_CODERATE_DEFAULT (0) /* unused if HIERARCHY_NONE */
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
89 #endif
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
90
76c6d8f1ebf5 this is a combo patch that:
arpi
parents:
diff changeset
91 #endif