confirm prefs update, fix bg_pixmap sz, plugin layout tweaks
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / chantables.h
1
2 /*
3  * CINELERRA
4  * Copyright (C) 2008 Adam Williams <broadcast at earthling dot net>
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19  *
20  */
21
22 #ifndef CHANNELTABLES_H
23 #define CHANNELTABLES_H
24
25 typedef struct
26 {
27         const char *name;
28         int   freq;
29 } CHANLIST;
30
31
32 typedef struct
33 {
34     const char             *name;
35     CHANLIST             *list;
36     int               count;
37 } CHANLISTS;
38
39 #define CHAN_COUNT(x) (sizeof(x)/sizeof(CHANLIST))
40
41 #define NTSC_AUDIO_CARRIER      4500
42 #define PAL_AUDIO_CARRIER_I     6000
43 #define PAL_AUDIO_CARRIER_BGHN  5500
44 #define PAL_AUDIO_CARRIER_MN    4500
45 #define PAL_AUDIO_CARRIER_D     6500
46 #define SEACAM_AUDIO_DKK1L      6500
47 #define SEACAM_AUDIO_BG         5500
48 #define NICAM728_PAL_BGH        5850
49 #define NICAM728_PAL_I          6552
50
51 // Norms
52 #define NTSC 0
53 #define PAL 1
54 #define SECAM 2
55
56 // Frequencies
57 #define NTSC_DVB 0
58 #define CATV_DVB 1
59 #define NTSC_BCAST 2
60 #define NTSC_CABLE 3
61 #define NTSC_HRC 4
62 #define NTSC_BCAST_JP 5
63 #define NTSC_CABLE_JP 6
64 #define PAL_EUROPE 7
65 #define PAL_E_EUROPE 8
66 #define PAL_ITALY 9
67 #define PAL_NEWZEALAND 10
68 #define PAL_AUSTRALIA 11
69 #define PAL_IRELAND 12
70 #define CHANLIST_SIZE 13
71
72 extern CHANLISTS chanlists[CHANLIST_SIZE];
73
74 #endif