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