00001 #ifndef CHANNELTABLES_H
00002 #define CHANNELTABLES_H
00003
00004 typedef struct
00005 {
00006 char *name;
00007 int freq;
00008 } CHANLIST;
00009
00010
00011 typedef struct
00012 {
00013 char *name;
00014 CHANLIST *list;
00015 int count;
00016 } CHANLISTS;
00017
00018 #define CHAN_COUNT(x) (sizeof(x)/sizeof(CHANLIST))
00019
00020 extern CHANLISTS chanlists[];
00021
00022 #define NTSC_AUDIO_CARRIER 4500
00023 #define PAL_AUDIO_CARRIER_I 6000
00024 #define PAL_AUDIO_CARRIER_BGHN 5500
00025 #define PAL_AUDIO_CARRIER_MN 4500
00026 #define PAL_AUDIO_CARRIER_D 6500
00027 #define SEACAM_AUDIO_DKK1L 6500
00028 #define SEACAM_AUDIO_BG 5500
00029 #define NICAM728_PAL_BGH 5850
00030 #define NICAM728_PAL_I 6552
00031
00032
00033 #define NTSC 0
00034 #define PAL 1
00035 #define SECAM 2
00036
00037
00038 #define NTSC_BCAST 0
00039 #define NTSC_CABLE 1
00040 #define NTSC_HRC 2
00041 #define NTSC_BCAST_JP 3
00042 #define NTSC_CABLE_JP 4
00043 #define PAL_EUROPE 5
00044 #define PAL_E_EUROPE 6
00045 #define PAL_ITALY 7
00046 #define PAL_NEWZEALAND 8
00047 #define PAL_AUSTRALIA 9
00048 #define PAL_IRELAND 10
00049
00050 #endif