00001 /* 00002 This file is copied from the xawtv sources, which are released 00003 under the terms of the GNU GPL. This licence header added for clarity 00004 by Malte Starotik <malte@kde.org> 00005 00006 This program is free software; you can redistribute it and/or 00007 modify it under the terms of the GNU General Public 00008 License as published by the Free Software Foundation; either 00009 version 2 of the License, or (at your option) any later version. 00010 00011 This program is distributed in the hope that it will be useful, 00012 but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 General Public License for more details. 00015 00016 You should have received a copy of the GNU General Public License 00017 along with this program; see the file COPYING. If not, write to 00018 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 00019 Boston, MA 02111-1307, USA. 00020 */ 00021 00022 /* $Id: frequencies.h,v 1.2 2002/09/20 04:03:24 adawit Exp $ */ 00023 00024 /* 00025 * Worldwide channel/frequency list 00026 * 00027 * Nathan Laredo (laredo@broked.net) 00028 * 00029 * Frequencies are given in kHz 00030 */ 00031 #define NTSC_AUDIO_CARRIER 4500 00032 #define PAL_AUDIO_CARRIER_I 6000 00033 #define PAL_AUDIO_CARRIER_BGHN 5500 00034 #define PAL_AUDIO_CARRIER_MN 4500 00035 #define PAL_AUDIO_CARRIER_D 6500 00036 #define SEACAM_AUDIO_DKK1L 6500 00037 #define SEACAM_AUDIO_BG 5500 00038 /* NICAM 728 32-kHz, 14-bit digital stereo audio is transmitted in 1ms frames 00039 containing 8 bits frame sync, 5 bits control, 11 bits additional data, and 00040 704 bits audio data. The bit rate is reduced by transmitting only 10 bits 00041 plus parity of each 14 bit sample, the largest sample in a frame determines 00042 which 10 bits are transmitted. The parity bits for audio samples also 00043 specify the scaling factor used for that channel during that frame. The 00044 companeded audio data is interleaved to reduce the influence of dropouts 00045 and the whole frame except for sync bits is scrambled for spectrum shaping. 00046 Data is modulated using QPSK, at below following subcarrier freqs */ 00047 #define NICAM728_PAL_BGH 5850 00048 #define NICAM728_PAL_I 6552 00049 00050 /* COMPREHENSIVE LIST OF FORMAT BY COUNTRY 00051 (M) NTSC used in: 00052 Antigua, Aruba, Bahamas, Barbados, Belize, Bermuda, Bolivia, Burma, 00053 Canada, Chile, Colombia, Costa Rica, Cuba, Curacao, Dominican Republic, 00054 Ecuador, El Salvador, Guam Guatemala, Honduras, Jamaica, Japan, 00055 South Korea, Mexico, Montserrat, Myanmar, Nicaragua, Panama, Peru, 00056 Philippines, Puerto Rico, St Christopher and Nevis, Samoa, Suriname, 00057 Taiwan, Trinidad/Tobago, United States, Venezuela, Virgin Islands 00058 (B) PAL used in: 00059 Albania, Algeria, Australia, Austria, Bahrain, Bangladesh, Belgium, 00060 Bosnia-Herzegovinia, Brunei Darussalam, Cambodia, Cameroon, Croatia, 00061 Cyprus, Denmark, Egypt, Ethiopia, Equatorial Guinea, Finland, Germany, 00062 Ghana, Gibraltar, Greenland, Iceland, India, Indonesia, Israel, Italy, 00063 Jordan, Kenya, Kuwait, Liberia, Libya, Luxembourg, Malaysa, Maldives, 00064 Malta, Nepal, Netherlands, New Zeland, Nigeria, Norway, Oman, Pakistan, 00065 Papua New Guinea, Portugal, Qatar, Sao Tome and Principe, Saudi Arabia, 00066 Seychelles, Sierra Leone, Singapore, Slovenia, Somali, Spain, 00067 Sri Lanka, Sudan, Swaziland, Sweden, Switzeland, Syria, Thailand, 00068 Tunisia, Turkey, Uganda, United Arab Emirates, Yemen 00069 (N) PAL used in: (Combination N = 4.5MHz audio carrier, 3.58MHz burst) 00070 Argentina (Combination N), Paraguay, Uruguay 00071 (M) PAL (525/60, 3.57MHz burst) used in: 00072 Brazil 00073 (G) PAL used in: 00074 Albania, Algeria, Austria, Bahrain, Bosnia/Herzegovinia, Cambodia, 00075 Cameroon, Croatia, Cyprus, Denmark, Egypt, Ethiopia, Equatorial Guinea, 00076 Finland, Germany, Gibraltar, Greenland, Iceland, Israel, Italy, Jordan, 00077 Kenya, Kuwait, Liberia, Libya, Luxembourg, Malaysia, Monaco, 00078 Mozambique, Netherlands, New Zealand, Norway, Oman, Pakistan, 00079 Papa New Guinea, Portugal, Qatar, Romania, Sierra Leone, Singapore, 00080 Slovenia, Somalia, Spain, Sri Lanka, Sudan, Swaziland, Sweeden, 00081 Switzerland, Syria, Thailand, Tunisia, Turkey, United Arab Emirates, 00082 Yemen, Zambia, Zimbabwe 00083 (D) PAL used in: 00084 China, North Korea, Romania, Czech Republic 00085 (H) PAL used in: 00086 Belgium 00087 (I) PAL used in: 00088 Angola, Botswana, Gambia, Guinea-Bissau, Hong Kong, Ireland, Lesotho, 00089 Malawi, Nambia, Nigeria, South Africa, Tanzania, United Kingdom, 00090 Zanzibar 00091 (B) SECAM used in: 00092 Djibouti, Greece, Iran, Iraq, Lebanon, Mali, Mauritania, Mauritus, 00093 Morocco 00094 (D) SECAM used in: 00095 Afghanistan, Armenia, Azerbaijan, Belarus, Bulgaria, 00096 Estonia, Georgia, Hungary, Zazakhstan, Lithuania, Mongolia, Moldova, 00097 Russia, Slovak Republic, Ukraine, Vietnam 00098 (G) SECAM used in: 00099 Greecem Iran, Iraq, Mali, Mauritus, Morocco, Saudi Arabia 00100 (K) SECAM used in: 00101 Armenia, Azerbaijan, Bulgaria, Estonia, Georgia, 00102 Hungary, Kazakhstan, Lithuania, Madagascar, Moldova, Poland, Russia, 00103 Slovak Republic, Ukraine, Vietnam 00104 (K1) SECAM used in: 00105 Benin, Burkina Faso, Burundi, Chad, Cape Verde, Central African 00106 Republic, Comoros, Congo, Gabon, Madagascar, Niger, Rwanda, Senegal, 00107 Togo, Zaire 00108 (L) SECAM used in: 00109 France 00110 */ 00111 00112 /* --------------------------------------------------------------------- */ 00113 00114 struct CHANLIST { 00115 const char *name; 00116 int freq; 00117 }; 00118 00119 struct CHANLISTS { 00120 const char *name; 00121 struct CHANLIST *list; 00122 int count; 00123 }; 00124 00125 #define CHAN_COUNT(x) (sizeof(x)/sizeof(struct CHANLIST)) 00126 00127 /* --------------------------------------------------------------------- */ 00128 00129 extern struct CHANLISTS chanlists[]; 00130 00131 extern int chantab; 00132 extern struct CHANLIST *chanlist; 00133 extern int chancount; 00134 00135 /* vim: ts=4 sw=4 noet 00136 */