r870: Merge 2.1:
[cinelerra_cv.git] / cinelerra / chantables.h
blob37eb819b2d0deab42dba7e88d4fdf47a4ed1066b
1 #ifndef CHANNELTABLES_H
2 #define CHANNELTABLES_H
4 typedef struct
6 char *name;
7 int freq;
8 } CHANLIST;
11 typedef struct
13 char *name;
14 CHANLIST *list;
15 int count;
16 } CHANLISTS;
18 #define CHAN_COUNT(x) (sizeof(x)/sizeof(CHANLIST))
20 extern CHANLISTS chanlists[];
22 #define NTSC_AUDIO_CARRIER 4500
23 #define PAL_AUDIO_CARRIER_I 6000
24 #define PAL_AUDIO_CARRIER_BGHN 5500
25 #define PAL_AUDIO_CARRIER_MN 4500
26 #define PAL_AUDIO_CARRIER_D 6500
27 #define SEACAM_AUDIO_DKK1L 6500
28 #define SEACAM_AUDIO_BG 5500
29 #define NICAM728_PAL_BGH 5850
30 #define NICAM728_PAL_I 6552
32 // Norms
33 #define NTSC 0
34 #define PAL 1
35 #define SECAM 2
37 // Frequencies
38 #define NTSC_BCAST 0
39 #define NTSC_CABLE 1
40 #define NTSC_HRC 2
41 #define NTSC_BCAST_JP 3
42 #define NTSC_CABLE_JP 4
43 #define PAL_EUROPE 5
44 #define PAL_E_EUROPE 6
45 #define PAL_ITALY 7
46 #define PAL_NEWZEALAND 8
47 #define PAL_AUSTRALIA 9
48 #define PAL_IRELAND 10
50 #endif