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