2 * This file is part of MPlayer.
4 * MPlayer is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * MPlayer is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License along
15 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22 #include "frequencies.h"
24 /* --------------------------------------------------------------------- */
27 static const struct CHANLIST ntsc_bcast
[] = {
114 static const struct CHANLIST ntsc_cable
[] = {
255 static const struct CHANLIST ntsc_hrc
[] = {
395 /* --------------------------------------------------------------------- */
398 static const struct CHANLIST ntsc_bcast_jp
[] = {
466 static const struct CHANLIST ntsc_cable_jp
[] = {
521 /* --------------------------------------------------------------------- */
524 static const struct CHANLIST pal_australia
[] = {
580 /* --------------------------------------------------------------------- */
583 /* CCIR frequencies */
585 #define FREQ_CCIR_I_III \
603 #define FREQ_CCIR_SL_SH \
613 { "SE10", 168250 }, \
615 { "SE11", 231250 }, \
616 { "SE12", 238250 }, \
617 { "SE13", 245250 }, \
618 { "SE14", 252250 }, \
619 { "SE15", 259250 }, \
620 { "SE16", 266250 }, \
621 { "SE17", 273250 }, \
622 { "SE18", 280250 }, \
623 { "SE19", 287250 }, \
626 #define FREQ_CCIR_H \
649 /* OIRT frequencies */
651 #define FREQ_OIRT_I_III \
667 #define FREQ_OIRT_SL_SH \
677 { "SR11", 231250 }, \
678 { "SR12", 239250 }, \
679 { "SR13", 247250 }, \
680 { "SR14", 255250 }, \
681 { "SR15", 263250 }, \
682 { "SR16", 271250 }, \
683 { "SR17", 279250 }, \
684 { "SR18", 287250 }, \
738 static const struct CHANLIST europe_west
[] = {
745 static const struct CHANLIST europe_east
[] = {
754 static const struct CHANLIST pal_italy
[] = {
768 static const struct CHANLIST pal_ireland
[] = {
809 static const struct CHANLIST secam_france
[] = {
858 /* --------------------------------------------------------------------- */
860 static const struct CHANLIST pal_newzealand
[] = {
875 /* --------------------------------------------------------------------- */
877 /* China broadcast */
878 static const struct CHANLIST pal_bcast_cn
[] = {
975 /* --------------------------------------------------------------------- */
976 /* South Africa Broadcast */
978 static const struct CHANLIST pal_bcast_za
[] ={
990 /* --------------------------------------------------------------------- */
992 static const struct CHANLIST argentina
[] = {
1088 /* --------------------------------------------------------------------- */
1090 static const struct CHANLIST russia
[] = {
1191 /* --------------------------------------------------------------------- */
1193 const struct CHANLISTS chanlists
[] = {
1194 { "us-bcast", ntsc_bcast
, CHAN_COUNT(ntsc_bcast
) },
1195 { "us-cable", ntsc_cable
, CHAN_COUNT(ntsc_cable
) },
1196 { "us-cable-hrc", ntsc_hrc
, CHAN_COUNT(ntsc_hrc
) },
1197 { "japan-bcast", ntsc_bcast_jp
, CHAN_COUNT(ntsc_bcast_jp
) },
1198 { "japan-cable", ntsc_cable_jp
, CHAN_COUNT(ntsc_cable_jp
) },
1199 { "europe-west", europe_west
, CHAN_COUNT(europe_west
) },
1200 { "europe-east", europe_east
, CHAN_COUNT(europe_east
) },
1201 { "italy", pal_italy
, CHAN_COUNT(pal_italy
) },
1202 { "newzealand", pal_newzealand
, CHAN_COUNT(pal_newzealand
) },
1203 { "australia", pal_australia
, CHAN_COUNT(pal_australia
) },
1204 { "ireland", pal_ireland
, CHAN_COUNT(pal_ireland
) },
1205 { "france", secam_france
, CHAN_COUNT(secam_france
) },
1206 { "china-bcast", pal_bcast_cn
, CHAN_COUNT(pal_bcast_cn
) },
1207 { "southafrica", pal_bcast_za
, CHAN_COUNT(pal_bcast_za
) },
1208 { "argentina", argentina
, CHAN_COUNT(argentina
) },
1209 { "russia", russia
, CHAN_COUNT(russia
) },
1210 { NULL
, NULL
, 0 } /* EOF */
1214 const struct CHANLIST
*chanlist
= europe_west
;
1215 int chancount
= CHAN_COUNT(europe_west
);