2001-11-16 23:06:48 +01:00
|
|
|
/*
|
|
|
|
* Worldwide channel/frequency list
|
|
|
|
*
|
|
|
|
* Nathan Laredo (laredo@broked.net)
|
|
|
|
*
|
2009-05-13 04:58:57 +02:00
|
|
|
* Frequencies are given in kHz
|
2010-01-30 23:26:47 +01:00
|
|
|
*
|
2015-04-13 09:36:54 +02:00
|
|
|
* This file is part of mpv.
|
2010-01-30 23:26:47 +01:00
|
|
|
*
|
2015-04-13 09:36:54 +02:00
|
|
|
* mpv is free software; you can redistribute it and/or modify
|
2010-01-30 23:26:47 +01:00
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
2015-04-13 09:36:54 +02:00
|
|
|
* mpv is distributed in the hope that it will be useful,
|
2010-01-30 23:26:47 +01:00
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License along
|
2015-04-13 09:36:54 +02:00
|
|
|
* with mpv. If not, see <http://www.gnu.org/licenses/>.
|
2001-11-16 23:06:48 +01:00
|
|
|
*/
|
2008-01-01 22:35:58 +01:00
|
|
|
|
2008-02-22 10:09:46 +01:00
|
|
|
#ifndef MPLAYER_FREQUENCIES_H
|
|
|
|
#define MPLAYER_FREQUENCIES_H
|
2008-01-01 22:35:58 +01:00
|
|
|
|
2014-04-13 18:00:51 +02:00
|
|
|
#define NTSC_AUDIO_CARRIER 4500
|
|
|
|
#define PAL_AUDIO_CARRIER_I 6000
|
|
|
|
#define PAL_AUDIO_CARRIER_BGHN 5500
|
|
|
|
#define PAL_AUDIO_CARRIER_MN 4500
|
|
|
|
#define PAL_AUDIO_CARRIER_D 6500
|
|
|
|
#define SEACAM_AUDIO_DKK1L 6500
|
|
|
|
#define SEACAM_AUDIO_BG 5500
|
2001-11-16 23:06:48 +01:00
|
|
|
/* NICAM 728 32-kHz, 14-bit digital stereo audio is transmitted in 1ms frames
|
|
|
|
containing 8 bits frame sync, 5 bits control, 11 bits additional data, and
|
|
|
|
704 bits audio data. The bit rate is reduced by transmitting only 10 bits
|
|
|
|
plus parity of each 14 bit sample, the largest sample in a frame determines
|
2009-05-13 04:58:57 +02:00
|
|
|
which 10 bits are transmitted. The parity bits for audio samples also
|
2001-11-16 23:06:48 +01:00
|
|
|
specify the scaling factor used for that channel during that frame. The
|
|
|
|
companeded audio data is interleaved to reduce the influence of dropouts
|
|
|
|
and the whole frame except for sync bits is scrambled for spectrum shaping.
|
|
|
|
Data is modulated using QPSK, at below following subcarrier freqs */
|
2014-04-13 18:00:51 +02:00
|
|
|
#define NICAM728_PAL_BGH 5850
|
|
|
|
#define NICAM728_PAL_I 6552
|
2001-11-16 23:06:48 +01:00
|
|
|
|
|
|
|
/* COMPREHENSIVE LIST OF FORMAT BY COUNTRY
|
|
|
|
(M) NTSC used in:
|
2014-04-13 18:00:51 +02:00
|
|
|
Antigua, Aruba, Bahamas, Barbados, Belize, Bermuda, Bolivia, Burma,
|
|
|
|
Canada, Chile, Colombia, Costa Rica, Cuba, Curacao, Dominican Republic,
|
|
|
|
Ecuador, El Salvador, Guam Guatemala, Honduras, Jamaica, Japan,
|
|
|
|
South Korea, Mexico, Montserrat, Myanmar, Nicaragua, Panama, Peru,
|
|
|
|
Philippines, Puerto Rico, St Christopher and Nevis, Samoa, Suriname,
|
|
|
|
Taiwan, Trinidad/Tobago, United States, Venezuela, Virgin Islands
|
2001-11-16 23:06:48 +01:00
|
|
|
(B) PAL used in:
|
2014-04-13 18:00:51 +02:00
|
|
|
Albania, Algeria, Australia, Austria, Bahrain, Bangladesh, Belgium,
|
|
|
|
Bosnia-Herzegovinia, Brunei Darussalam, Cambodia, Cameroon, Croatia,
|
|
|
|
Cyprus, Denmark, Egypt, Ethiopia, Equatorial Guinea, Finland, Germany,
|
|
|
|
Ghana, Gibraltar, Greenland, Iceland, India, Indonesia, Israel, Italy,
|
|
|
|
Jordan, Kenya, Kuwait, Liberia, Libya, Luxembourg, Malaysa, Maldives,
|
|
|
|
Malta, Nepal, Netherlands, New Zeland, Nigeria, Norway, Oman, Pakistan,
|
|
|
|
Papua New Guinea, Portugal, Qatar, Sao Tome and Principe, Saudi Arabia,
|
|
|
|
Seychelles, Sierra Leone, Singapore, Slovenia, Somali, Spain,
|
|
|
|
Sri Lanka, Sudan, Swaziland, Sweden, Switzeland, Syria, Thailand,
|
|
|
|
Tunisia, Turkey, Uganda, United Arab Emirates, Yemen
|
2001-11-16 23:06:48 +01:00
|
|
|
(N) PAL used in: (Combination N = 4.5MHz audio carrier, 3.58MHz burst)
|
2014-04-13 18:00:51 +02:00
|
|
|
Argentina (Combination N), Paraguay, Uruguay
|
2001-11-16 23:06:48 +01:00
|
|
|
(M) PAL (525/60, 3.57MHz burst) used in:
|
2014-04-13 18:00:51 +02:00
|
|
|
Brazil
|
2001-11-16 23:06:48 +01:00
|
|
|
(G) PAL used in:
|
2014-04-13 18:00:51 +02:00
|
|
|
Albania, Algeria, Austria, Bahrain, Bosnia/Herzegovinia, Cambodia,
|
|
|
|
Cameroon, Croatia, Cyprus, Denmark, Egypt, Ethiopia, Equatorial Guinea,
|
|
|
|
Finland, Germany, Gibraltar, Greenland, Iceland, Israel, Italy, Jordan,
|
|
|
|
Kenya, Kuwait, Liberia, Libya, Luxembourg, Malaysia, Monaco,
|
|
|
|
Mozambique, Netherlands, New Zealand, Norway, Oman, Pakistan,
|
|
|
|
Papa New Guinea, Portugal, Qatar, Romania, Sierra Leone, Singapore,
|
|
|
|
Slovenia, Somalia, Spain, Sri Lanka, Sudan, Swaziland, Sweeden,
|
|
|
|
Switzerland, Syria, Thailand, Tunisia, Turkey, United Arab Emirates,
|
|
|
|
Yemen, Zambia, Zimbabwe
|
2001-11-16 23:06:48 +01:00
|
|
|
(D) PAL used in:
|
2014-04-13 18:00:51 +02:00
|
|
|
China, North Korea, Romania, Czech Republic
|
2001-11-16 23:06:48 +01:00
|
|
|
(H) PAL used in:
|
2014-04-13 18:00:51 +02:00
|
|
|
Belgium
|
2001-11-16 23:06:48 +01:00
|
|
|
(I) PAL used in:
|
2014-04-13 18:00:51 +02:00
|
|
|
Angola, Botswana, Gambia, Guinea-Bissau, Hong Kong, Ireland, Lesotho,
|
|
|
|
Malawi, Nambia, Nigeria, South Africa, Tanzania, United Kingdom,
|
|
|
|
Zanzibar
|
2001-11-16 23:06:48 +01:00
|
|
|
(B) SECAM used in:
|
2014-04-13 18:00:51 +02:00
|
|
|
Djibouti, Greece, Iran, Iraq, Lebanon, Mali, Mauritania, Mauritus,
|
|
|
|
Morocco
|
2001-11-16 23:06:48 +01:00
|
|
|
(D) SECAM used in:
|
2014-04-13 18:00:51 +02:00
|
|
|
Afghanistan, Armenia, Azerbaijan, Belarus, Bulgaria,
|
|
|
|
Estonia, Georgia, Hungary, Zazakhstan, Lithuania, Mongolia, Moldova,
|
|
|
|
Russia, Slovak Republic, Ukraine, Vietnam
|
2001-11-16 23:06:48 +01:00
|
|
|
(G) SECAM used in:
|
2014-04-13 18:00:51 +02:00
|
|
|
Greecem Iran, Iraq, Mali, Mauritus, Morocco, Saudi Arabia
|
2001-11-16 23:06:48 +01:00
|
|
|
(K) SECAM used in:
|
2014-04-13 18:00:51 +02:00
|
|
|
Armenia, Azerbaijan, Bulgaria, Estonia, Georgia,
|
|
|
|
Hungary, Kazakhstan, Lithuania, Madagascar, Moldova, Poland, Russia,
|
|
|
|
Slovak Republic, Ukraine, Vietnam
|
2001-11-16 23:06:48 +01:00
|
|
|
(K1) SECAM used in:
|
2014-04-13 18:00:51 +02:00
|
|
|
Benin, Burkina Faso, Burundi, Chad, Cape Verde, Central African
|
|
|
|
Republic, Comoros, Congo, Gabon, Madagascar, Niger, Rwanda, Senegal,
|
|
|
|
Togo, Zaire
|
2001-11-16 23:06:48 +01:00
|
|
|
(L) SECAM used in:
|
2014-04-13 18:00:51 +02:00
|
|
|
France
|
2001-11-16 23:06:48 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
/* --------------------------------------------------------------------- */
|
|
|
|
|
|
|
|
struct CHANLIST {
|
2006-04-03 08:38:55 +02:00
|
|
|
char name[8];
|
2001-11-16 23:06:48 +01:00
|
|
|
int freq;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct CHANLISTS {
|
2006-07-16 03:40:24 +02:00
|
|
|
const char *name;
|
2006-04-03 08:38:55 +02:00
|
|
|
const struct CHANLIST *list;
|
|
|
|
int count;
|
2001-11-16 23:06:48 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#define CHAN_COUNT(x) (sizeof(x)/sizeof(struct CHANLIST))
|
|
|
|
|
|
|
|
/* --------------------------------------------------------------------- */
|
|
|
|
|
2006-04-03 08:38:55 +02:00
|
|
|
extern const struct CHANLISTS chanlists[];
|
2014-06-10 20:12:19 +02:00
|
|
|
extern const int chancount;
|
2008-01-01 22:35:58 +01:00
|
|
|
|
2008-02-22 10:09:46 +01:00
|
|
|
#endif /* MPLAYER_FREQUENCIES_H */
|