00001 #ifndef FREQUENCIES_H 00002 #define FREQUENCIES_H 00003 00004 /* 00005 * Worldwide channel/frequency list 00006 * 00007 * Nathan Laredo (laredo@broked.net) 00008 * 00009 * Frequencies are given in kHz 00010 */ 00011 #define NTSC_AUDIO_CARRIER 4500 00012 #define PAL_AUDIO_CARRIER_I 6000 00013 #define PAL_AUDIO_CARRIER_BGHN 5500 00014 #define PAL_AUDIO_CARRIER_MN 4500 00015 #define PAL_AUDIO_CARRIER_D 6500 00016 #define SEACAM_AUDIO_DKK1L 6500 00017 #define SEACAM_AUDIO_BG 5500 00018 /* NICAM 728 32-kHz, 14-bit digital stereo audio is transmitted in 1ms frames 00019 containing 8 bits frame sync, 5 bits control, 11 bits additional data, and 00020 704 bits audio data. The bit rate is reduced by transmitting only 10 bits 00021 plus parity of each 14 bit sample, the largest sample in a frame determines 00022 which 10 bits are transmitted. The parity bits for audio samples also 00023 specify the scaling factor used for that channel during that frame. The 00024 companeded audio data is interleaved to reduce the influence of dropouts 00025 and the whole frame except for sync bits is scrambled for spectrum shaping. 00026 Data is modulated using QPSK, at below following subcarrier freqs */ 00027 #define NICAM728_PAL_BGH 5850 00028 #define NICAM728_PAL_I 6552 00029 00030 /* COMPREHENSIVE LIST OF FORMAT BY COUNTRY 00031 (M) NTSC used in: 00032 Antigua, Aruba, Bahamas, Barbados, Belize, Bermuda, Bolivia, Burma, 00033 Canada, Chile, Colombia, Costa Rica, Cuba, Curacao, Dominican Republic, 00034 Ecuador, El Salvador, Guam Guatemala, Honduras, Jamaica, Japan, 00035 South Korea, Mexico, Montserrat, Myanmar, Nicaragua, Panama, Peru, 00036 Philippines, Puerto Rico, St Christopher and Nevis, Samoa, Suriname, 00037 Taiwan, Trinidad/Tobago, United States, Venezuela, Virgin Islands 00038 (B) PAL used in: 00039 Albania, Algeria, Australia, Austria, Bahrain, Bangladesh, Belgium, 00040 Bosnia-Herzegovinia, Brunei Darussalam, Cambodia, Cameroon, Croatia, 00041 Cyprus, Denmark, Egypt, Ethiopia, Equatorial Guinea, Finland, Germany, 00042 Ghana, Gibraltar, Greenland, Iceland, India, Indonesia, Israel, Italy, 00043 Jordan, Kenya, Kuwait, Liberia, Libya, Luxembourg, Malaysa, Maldives, 00044 Malta, Nepal, Netherlands, New Zeland, Nigeria, Norway, Oman, Pakistan, 00045 Papua New Guinea, Portugal, Qatar, Sao Tome and Principe, Saudi Arabia, 00046 Seychelles, Sierra Leone, Singapore, Slovenia, Somali, Spain, 00047 Sri Lanka, Sudan, Swaziland, Sweden, Switzeland, Syria, Thailand, 00048 Tunisia, Turkey, Uganda, United Arab Emirates, Yemen 00049 (N) PAL used in: (Combination N = 4.5MHz audio carrier, 3.58MHz burst) 00050 Argentina (Combination N), Paraguay, Uruguay 00051 (M) PAL (525/60, 3.57MHz burst) used in: 00052 Brazil 00053 (G) PAL used in: 00054 Albania, Algeria, Austria, Bahrain, Bosnia/Herzegovinia, Cambodia, 00055 Cameroon, Croatia, Cyprus, Denmark, Egypt, Ethiopia, Equatorial Guinea, 00056 Finland, Germany, Gibraltar, Greenland, Iceland, Israel, Italy, Jordan, 00057 Kenya, Kuwait, Liberia, Libya, Luxembourg, Malaysia, Monaco, 00058 Mozambique, Netherlands, New Zealand, Norway, Oman, Pakistan, 00059 Papa New Guinea, Portugal, Qatar, Romania, Sierra Leone, Singapore, 00060 Slovenia, Somalia, Spain, Sri Lanka, Sudan, Swaziland, Sweeden, 00061 Switzerland, Syria, Thailand, Tunisia, Turkey, United Arab Emirates, 00062 Yemen, Zambia, Zimbabwe 00063 (D) PAL used in: 00064 China, North Korea, Romania, Czech Republic 00065 (H) PAL used in: 00066 Belgium 00067 (I) PAL used in: 00068 Angola, Botswana, Gambia, Guinea-Bissau, Hong Kong, Ireland, Lesotho, 00069 Malawi, Nambia, Nigeria, South Africa, Tanzania, United Kingdom, 00070 Zanzibar 00071 (B) SECAM used in: 00072 Djibouti, Greece, Iran, Iraq, Lebanon, Mali, Mauritania, Mauritus, 00073 Morocco 00074 (D) SECAM used in: 00075 Afghanistan, Armenia, Azerbaijan, Belarus, Bulgaria, 00076 Estonia, Georgia, Hungary, Zazakhstan, Lithuania, Mongolia, Moldova, 00077 Russia, Slovak Republic, Ukraine, Vietnam 00078 (G) SECAM used in: 00079 Greecem Iran, Iraq, Mali, Mauritus, Morocco, Saudi Arabia 00080 (K) SECAM used in: 00081 Armenia, Azerbaijan, Bulgaria, Estonia, Georgia, 00082 Hungary, Kazakhstan, Lithuania, Madagascar, Moldova, Poland, Russia, 00083 Slovak Republic, Ukraine, Vietnam 00084 (K1) SECAM used in: 00085 Benin, Burkina Faso, Burundi, Chad, Cape Verde, Central African 00086 Republic, Comoros, Congo, Gabon, Madagascar, Niger, Rwanda, Senegal, 00087 Togo, Zaire 00088 (L) SECAM used in: 00089 France 00090 */ 00091 00092 /* --------------------------------------------------------------------- */ 00093 00094 typedef struct CHANLIST { 00095 const char *name; 00096 int freq; 00097 } _chanlist; 00098 00099 typedef struct CHANLISTS { 00100 const char *name; 00101 struct CHANLIST *list; 00102 int count; 00103 } _chanlists; 00104 00105 #define CHAN_COUNT(x) (sizeof(x)/sizeof(struct CHANLIST)) 00106 00107 /* --------------------------------------------------------------------- */ 00108 00109 extern struct CHANLISTS chanlists[]; 00110 00111 #endif
1.5.5