FFmpeg
2.8.17
|
Go to the source code of this file.
Data Structures | |
struct | Screen |
struct | CCaptionSubContext |
Macros | |
#define | SCREEN_ROWS 15 |
#define | SCREEN_COLUMNS 32 |
#define | SET_FLAG(var, val) ( (var) |= ( 1 << (val)) ) |
#define | UNSET_FLAG(var, val) ( (var) &= ~( 1 << (val)) ) |
#define | CHECK_FLAG(var, val) ( (var) & ( 1 << (val)) ) |
#define | COR3(var, with1, with2, with3) ( (var) == (with1) || (var) == (with2) || (var) == (with3) ) |
Enumerations | |
enum | cc_mode { CCMODE_POPON, CCMODE_PAINTON, CCMODE_ROLLUP_2, CCMODE_ROLLUP_3, CCMODE_ROLLUP_4, CCMODE_TEXT } |
enum | cc_color_code { CCCOL_WHITE, CCCOL_GREEN, CCCOL_BLUE, CCCOL_CYAN, CCCOL_RED, CCCOL_YELLOW, CCCOL_MAGENTA, CCCOL_USERDEFINED, CCCOL_BLACK, CCCOL_TRANSPARENT } |
enum | cc_font { CCFONT_REGULAR, CCFONT_ITALICS, CCFONT_UNDERLINED, CCFONT_UNDERLINED_ITALICS } |
Variables | |
static const unsigned char | pac2_attribs [32][3] |
static const uint8_t | parity_table [256] |
static const AVOption | options [] |
static const AVClass | ccaption_dec_class |
AVCodec | ff_ccaption_decoder |
#define SCREEN_ROWS 15 |
Definition at line 27 of file ccaption_dec.c.
Referenced by reap_screen().
#define SCREEN_COLUMNS 32 |
Definition at line 28 of file ccaption_dec.c.
Referenced by roll_up(), and write_char().
Definition at line 30 of file ccaption_dec.c.
Referenced by handle_char(), handle_textattr(), and roll_up().
Definition at line 31 of file ccaption_dec.c.
Referenced by roll_up().
Definition at line 32 of file ccaption_dec.c.
Referenced by reap_screen(), and roll_up().
#define COR3 | ( | var, | |
with1, | |||
with2, | |||
with3 | |||
) | ( (var) == (with1) || (var) == (with2) || (var) == (with3) ) |
Referenced by process_cc608().
enum cc_mode |
Enumerator | |
---|---|
CCMODE_POPON | |
CCMODE_PAINTON | |
CCMODE_ROLLUP_2 | |
CCMODE_ROLLUP_3 | |
CCMODE_ROLLUP_4 | |
CCMODE_TEXT |
Definition at line 38 of file ccaption_dec.c.
enum cc_color_code |
Enumerator | |
---|---|
CCCOL_WHITE | |
CCCOL_GREEN | |
CCCOL_BLUE | |
CCCOL_CYAN | |
CCCOL_RED | |
CCCOL_YELLOW | |
CCCOL_MAGENTA | |
CCCOL_USERDEFINED | |
CCCOL_BLACK | |
CCCOL_TRANSPARENT |
Definition at line 47 of file ccaption_dec.c.
enum cc_font |
Enumerator | |
---|---|
CCFONT_REGULAR | |
CCFONT_ITALICS | |
CCFONT_UNDERLINED | |
CCFONT_UNDERLINED_ITALICS |
Definition at line 60 of file ccaption_dec.c.
|
static |
Definition at line 176 of file ccaption_dec.c.
|
static |
Definition at line 193 of file ccaption_dec.c.
|
static |
ctx | closed caption context just to print log |
Definition at line 205 of file ccaption_dec.c.
Referenced by handle_char(), handle_delete_end_of_row(), handle_pac(), and handle_textattr().
|
static |
This function after validating parity bit, also remove it from data pair.
The first byte doesn't pass parity, we replace it with a solid blank and process the pair. If the second byte doesn't pass parity, it returns INVALIDDATA user can ignore the whole pair and pass the other pair.
Definition at line 229 of file ccaption_dec.c.
Referenced by decode().
|
static |
Definition at line 265 of file ccaption_dec.c.
Referenced by handle_char(), handle_delete_end_of_row(), handle_pac(), handle_textattr(), and roll_up().
|
static |
Definition at line 283 of file ccaption_dec.c.
Referenced by process_cc608().
|
static |
Definition at line 316 of file ccaption_dec.c.
Referenced by handle_edm(), and process_cc608().
|
static |
Definition at line 349 of file ccaption_dec.c.
Referenced by process_cc608().
|
static |
Definition at line 368 of file ccaption_dec.c.
Referenced by process_cc608().
|
static |
pts | it is required to set end time |
Definition at line 402 of file ccaption_dec.c.
Referenced by handle_eoc(), and process_cc608().
|
static |
Definition at line 413 of file ccaption_dec.c.
Referenced by process_cc608().
|
static |
Definition at line 422 of file ccaption_dec.c.
Referenced by process_cc608().
|
static |
Definition at line 430 of file ccaption_dec.c.
Referenced by process_cc608().
|
static |
Definition at line 458 of file ccaption_dec.c.
Referenced by decode().
|
static |
Definition at line 521 of file ccaption_dec.c.
Referenced by frame_alloc(), frame_free(), get_buffer(), get_format(), main(), and show_formats_devices().
|
static |
Definition at line 67 of file ccaption_dec.c.
Referenced by handle_pac(), and handle_textattr().
|
static |
Definition at line 105 of file ccaption_dec.c.
Referenced by validate_cc_data_pair().
|
static |
Definition at line 566 of file ccaption_dec.c.
|
static |
Definition at line 570 of file ccaption_dec.c.
AVCodec ff_ccaption_decoder |
Definition at line 577 of file ccaption_dec.c.