Add explanatory comments to the #endif part of multiple inclusion guards.
[mplayer/greg.git] / stream / frequencies.h
blob13cf111f448b42810b0190a1d901b05ac239345c
1 /*
2 * Worldwide channel/frequency list
4 * Nathan Laredo (laredo@broked.net)
6 * Frequencies are given in kHz
7 */
8 #define NTSC_AUDIO_CARRIER 4500
9 #define PAL_AUDIO_CARRIER_I 6000
10 #define PAL_AUDIO_CARRIER_BGHN 5500
11 #define PAL_AUDIO_CARRIER_MN 4500
12 #define PAL_AUDIO_CARRIER_D 6500
13 #define SEACAM_AUDIO_DKK1L 6500
14 #define SEACAM_AUDIO_BG 5500
15 /* NICAM 728 32-kHz, 14-bit digital stereo audio is transmitted in 1ms frames
16 containing 8 bits frame sync, 5 bits control, 11 bits additional data, and
17 704 bits audio data. The bit rate is reduced by transmitting only 10 bits
18 plus parity of each 14 bit sample, the largest sample in a frame determines
19 which 10 bits are transmitted. The parity bits for audio samples also
20 specify the scaling factor used for that channel during that frame. The
21 companeded audio data is interleaved to reduce the influence of dropouts
22 and the whole frame except for sync bits is scrambled for spectrum shaping.
23 Data is modulated using QPSK, at below following subcarrier freqs */
24 #define NICAM728_PAL_BGH 5850
25 #define NICAM728_PAL_I 6552
27 /* COMPREHENSIVE LIST OF FORMAT BY COUNTRY
28 (M) NTSC used in:
29 Antigua, Aruba, Bahamas, Barbados, Belize, Bermuda, Bolivia, Burma,
30 Canada, Chile, Colombia, Costa Rica, Cuba, Curacao, Dominican Republic,
31 Ecuador, El Salvador, Guam Guatemala, Honduras, Jamaica, Japan,
32 South Korea, Mexico, Montserrat, Myanmar, Nicaragua, Panama, Peru,
33 Philippines, Puerto Rico, St Christopher and Nevis, Samoa, Suriname,
34 Taiwan, Trinidad/Tobago, United States, Venezuela, Virgin Islands
35 (B) PAL used in:
36 Albania, Algeria, Australia, Austria, Bahrain, Bangladesh, Belgium,
37 Bosnia-Herzegovinia, Brunei Darussalam, Cambodia, Cameroon, Croatia,
38 Cyprus, Denmark, Egypt, Ethiopia, Equatorial Guinea, Finland, Germany,
39 Ghana, Gibraltar, Greenland, Iceland, India, Indonesia, Israel, Italy,
40 Jordan, Kenya, Kuwait, Liberia, Libya, Luxembourg, Malaysa, Maldives,
41 Malta, Nepal, Netherlands, New Zeland, Nigeria, Norway, Oman, Pakistan,
42 Papua New Guinea, Portugal, Qatar, Sao Tome and Principe, Saudi Arabia,
43 Seychelles, Sierra Leone, Singapore, Slovenia, Somali, Spain,
44 Sri Lanka, Sudan, Swaziland, Sweden, Switzeland, Syria, Thailand,
45 Tunisia, Turkey, Uganda, United Arab Emirates, Yemen
46 (N) PAL used in: (Combination N = 4.5MHz audio carrier, 3.58MHz burst)
47 Argentina (Combination N), Paraguay, Uruguay
48 (M) PAL (525/60, 3.57MHz burst) used in:
49 Brazil
50 (G) PAL used in:
51 Albania, Algeria, Austria, Bahrain, Bosnia/Herzegovinia, Cambodia,
52 Cameroon, Croatia, Cyprus, Denmark, Egypt, Ethiopia, Equatorial Guinea,
53 Finland, Germany, Gibraltar, Greenland, Iceland, Israel, Italy, Jordan,
54 Kenya, Kuwait, Liberia, Libya, Luxembourg, Malaysia, Monaco,
55 Mozambique, Netherlands, New Zealand, Norway, Oman, Pakistan,
56 Papa New Guinea, Portugal, Qatar, Romania, Sierra Leone, Singapore,
57 Slovenia, Somalia, Spain, Sri Lanka, Sudan, Swaziland, Sweeden,
58 Switzerland, Syria, Thailand, Tunisia, Turkey, United Arab Emirates,
59 Yemen, Zambia, Zimbabwe
60 (D) PAL used in:
61 China, North Korea, Romania, Czech Republic
62 (H) PAL used in:
63 Belgium
64 (I) PAL used in:
65 Angola, Botswana, Gambia, Guinea-Bissau, Hong Kong, Ireland, Lesotho,
66 Malawi, Nambia, Nigeria, South Africa, Tanzania, United Kingdom,
67 Zanzibar
68 (B) SECAM used in:
69 Djibouti, Greece, Iran, Iraq, Lebanon, Mali, Mauritania, Mauritus,
70 Morocco
71 (D) SECAM used in:
72 Afghanistan, Armenia, Azerbaijan, Belarus, Bulgaria,
73 Estonia, Georgia, Hungary, Zazakhstan, Lithuania, Mongolia, Moldova,
74 Russia, Slovak Republic, Ukraine, Vietnam
75 (G) SECAM used in:
76 Greecem Iran, Iraq, Mali, Mauritus, Morocco, Saudi Arabia
77 (K) SECAM used in:
78 Armenia, Azerbaijan, Bulgaria, Estonia, Georgia,
79 Hungary, Kazakhstan, Lithuania, Madagascar, Moldova, Poland, Russia,
80 Slovak Republic, Ukraine, Vietnam
81 (K1) SECAM used in:
82 Benin, Burkina Faso, Burundi, Chad, Cape Verde, Central African
83 Republic, Comoros, Congo, Gabon, Madagascar, Niger, Rwanda, Senegal,
84 Togo, Zaire
85 (L) SECAM used in:
86 France
89 /* --------------------------------------------------------------------- */
91 struct CHANLIST {
92 char name[8];
93 int freq;
96 struct CHANLISTS {
97 const char *name;
98 const struct CHANLIST *list;
99 int count;
102 #define CHAN_COUNT(x) (sizeof(x)/sizeof(struct CHANLIST))
104 /* --------------------------------------------------------------------- */
106 extern const struct CHANLISTS chanlists[];
107 //extern struct STRTAB chanlist_names[];
109 extern int chantab;
110 extern const struct CHANLIST *chanlist;
111 extern int chancount;