MythTV  master
cc.h
Go to the documentation of this file.
1 #ifndef CC_H
2 #define CC_H
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7 
8 #define CC_VBIBUFSIZE 65536*2
9 
10 //cc is 32 columns per row, this allows for extra characters
11 #define CC_BUFSIZE 256
12 
13 struct cc
14 {
15  int fd;
17  int code1;
18  int code2;
19 
23  int scale0, scale1;
24 };
25 
26 void cc_decode(struct cc *cc);
27 
28 struct cc *cc_open(const char *vbi_name);
29 void cc_close(struct cc *cc);
30 void cc_handler(struct cc *cc);
31 
32 #ifdef __cplusplus
33 }
34 #endif
35 
36 #endif
int scale1
Definition: cc.h:23
void cc_handler(struct cc *cc)
Definition: cc.h:13
int start_line
Definition: cc.h:21
char buffer[CC_VBIBUFSIZE]
Definition: cc.h:16
#define CC_VBIBUFSIZE
Definition: cc.h:8
int fd
Definition: cc.h:15
int code2
Definition: cc.h:18
int line_count
Definition: cc.h:22
void cc_close(struct cc *cc)
Definition: cc.cpp:201
int scale0
Definition: cc.h:23
struct cc * cc_open(const char *vbi_name)
int samples_per_line
Definition: cc.h:20
int code1
Definition: cc.h:17
void cc_decode(struct cc *cc)
Definition: cc.cpp:231