MythTV
master
libs
libmythtv
recorders
vbitext
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
;
16
char
buffer
[
CC_VBIBUFSIZE
];
17
int
code1
;
18
int
code2
;
19
20
int
samples_per_line
;
21
int
start_line
;
22
int
line_count
;
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
cc::scale1
int scale1
Definition:
cc.h:23
cc_handler
void cc_handler(struct cc *cc)
cc
Definition:
cc.h:13
cc::start_line
int start_line
Definition:
cc.h:21
cc::buffer
char buffer[CC_VBIBUFSIZE]
Definition:
cc.h:16
CC_VBIBUFSIZE
#define CC_VBIBUFSIZE
Definition:
cc.h:8
cc::fd
int fd
Definition:
cc.h:15
cc::code2
int code2
Definition:
cc.h:18
cc::line_count
int line_count
Definition:
cc.h:22
cc_close
void cc_close(struct cc *cc)
Definition:
cc.cpp:201
cc::scale0
int scale0
Definition:
cc.h:23
cc_open
struct cc * cc_open(const char *vbi_name)
cc::samples_per_line
int samples_per_line
Definition:
cc.h:20
cc::code1
int code1
Definition:
cc.h:17
cc_decode
void cc_decode(struct cc *cc)
Definition:
cc.cpp:231
Generated on Mon Dec 9 2019 03:15:24 for MythTV by
1.8.15