Mercurial > mplayer.hg
annotate libmpdemux/dvb_defaults.h @ 17031:da7759ed81be
sync with 1.1159
author | gpoirier |
---|---|
date | Tue, 22 Nov 2005 17:36:00 +0000 |
parents | 8dd7a656eaf8 |
children | 0783dd397f74 |
rev | line source |
---|---|
9610 | 1 /* dvb_defaults.h |
2 | |
3 Provided by Tomi Ollila | |
4 | |
5 Copyright (C) Dave Chapman 2002 | |
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 | 11 This program is free software; you can redistribute it and/or |
12 modify it under the terms of the GNU General Public License | |
13 as published by the Free Software Foundation; either version 2 | |
14 of the License, or (at your option) any later version. | |
15 | |
16 This program is distributed in the hope that it will be useful, | |
17 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
19 GNU General Public License for more details. | |
20 | |
21 You should have received a copy of the GNU General Public License | |
22 along with this program; if not, write to the Free Software | |
23 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
24 Or, point your browser to http://www.gnu.org/copyleft/gpl.html | |
25 | |
26 */ | |
27 | |
28 #ifndef _DVB_DEFAULTS_H | |
29 #define _DVB_DEFAULTS_H | |
30 | |
31 /* DVB-S */ | |
32 | |
33 // With a diseqc system you may need different values per LNB. I hope | |
34 // no-one ever asks for that :-) | |
35 | |
36 #define SLOF (11700*1000UL) | |
37 #define LOF1 (9750*1000UL) | |
38 #define LOF2 (10600*1000UL) | |
39 | |
40 | |
41 | |
42 #ifdef FINLAND | |
43 /* FINLAND settings 1 */ | |
44 #define DVB_T_LOCATION "Suomessa" | |
45 #define BANDWIDTH_DEFAULT BANDWIDTH_8_MHZ | |
46 #define HP_CODERATE_DEFAULT FEC_2_3 | |
47 #define CONSTELLATION_DEFAULT QAM_64 | |
48 #define TRANSMISSION_MODE_DEFAULT TRANSMISSION_MODE_8K | |
49 #define GUARD_INTERVAL_DEFAULT GUARD_INTERVAL_1_8 | |
50 #define HIERARCHY_DEFAULT HIERARCHY_NONE | |
51 #endif | |
52 | |
53 | |
54 #ifdef FINLAND2 | |
55 /* FINLAND settings 2 (someone verify there is such environment) */ | |
56 #define DVB_T_LOCATION "Suomessa II" | |
57 #define BANDWIDTH_DEFAULT BANDWIDTH_8_MHZ | |
58 #define HP_CODERATE_DEFAULT FEC_1_2 | |
59 #define CONSTELLATION_DEFAULT QAM_64 | |
60 #define TRANSMISSION_MODE_DEFAULT TRANSMISSION_MODE_2K | |
61 #define GUARD_INTERVAL_DEFAULT GUARD_INTERVAL_1_8 | |
62 #define HIERARCHY_DEFAULT HIERARCHY_NONE | |
63 #endif | |
64 | |
65 #if defined (UK) && defined (HP_CODERATE_DEFAULT) | |
66 #error Multible countries defined | |
67 #endif | |
68 | |
69 | |
70 | |
71 #ifndef DVB_T_LOCATION | |
72 #ifndef UK | |
12309 | 73 #warning No DVB-T country defined in dvb_defaults.h, defaulting to UK. Ignore this if using Satellite or Cable. |
9610 | 74 #endif |
75 | |
76 /* UNITED KINGDOM settings */ | |
77 #define DVB_T_LOCATION "in United Kingdom" | |
78 #define BANDWIDTH_DEFAULT BANDWIDTH_8_MHZ | |
79 #define HP_CODERATE_DEFAULT FEC_2_3 | |
80 #define CONSTELLATION_DEFAULT QAM_64 | |
81 #define TRANSMISSION_MODE_DEFAULT TRANSMISSION_MODE_2K | |
82 #define GUARD_INTERVAL_DEFAULT GUARD_INTERVAL_1_32 | |
83 #define HIERARCHY_DEFAULT HIERARCHY_NONE | |
84 #endif | |
85 | |
86 | |
87 #if HIERARCHY_DEFAULT == HIERARCHY_NONE && !defined (LP_CODERATE_DEFAULT) | |
88 #define LP_CODERATE_DEFAULT (0) /* unused if HIERARCHY_NONE */ | |
89 #endif | |
90 | |
91 #endif |