FFmpeg
|
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 | OFFSET(x) offsetof(CCaptionSubContext, x) |
#define | SD AV_OPT_FLAG_SUBTITLE_PARAM | AV_OPT_FLAG_DECODING_PARAM |
Enumerations | |
enum | cc_mode { CCMODE_POPON, CCMODE_PAINTON, CCMODE_ROLLUP, 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 AVRational | ass_tb = {1, 100} |
static const unsigned char | pac2_attribs [32][3] |
static const AVOption | options [] |
static const AVClass | ccaption_dec_class |
AVCodec | ff_ccaption_decoder |
#define SCREEN_ROWS 15 |
Definition at line 26 of file ccaption_dec.c.
Referenced by capture_screen(), and roll_up().
#define SCREEN_COLUMNS 32 |
Definition at line 27 of file ccaption_dec.c.
Referenced by capture_screen(), roll_up(), and write_char().
Definition at line 29 of file ccaption_dec.c.
Referenced by handle_char(), handle_textattr(), and roll_up().
Definition at line 30 of file ccaption_dec.c.
Referenced by roll_up().
Definition at line 31 of file ccaption_dec.c.
Referenced by capture_screen(), and roll_up().
#define OFFSET | ( | x | ) | offsetof(CCaptionSubContext, x) |
Definition at line 646 of file ccaption_dec.c.
#define SD AV_OPT_FLAG_SUBTITLE_PARAM | AV_OPT_FLAG_DECODING_PARAM |
Definition at line 647 of file ccaption_dec.c.
Referenced by common_vt_4t_24w_msa(), common_vt_4t_8x6_msa(), common_vt_8t_12w_msa(), copy_8x8_msa(), copy_width8_msa(), ff_loop_filter_v_16_8_msa(), ff_loop_filter_v_8_8_msa(), ff_vp8_v_loop_filter8uv_msa(), hevc_hv_4t_6w_msa(), hevc_hz_4t_6w_msa(), hevc_hz_bi_8t_24w_msa(), hevc_hz_biwgt_8t_24w_msa(), hevc_hz_biwgt_8t_48w_msa(), hevc_intra_pred_angular_lower_4width_msa(), hevc_intra_pred_angular_upper_4width_msa(), hevc_intra_pred_dc_8x8_msa(), hevc_intra_pred_horiz_8x8_msa(), hevc_intra_pred_vert_8x8_msa(), hevc_loopfilter_luma_hor_msa(), hevc_sao_edge_filter_0degree_8width_msa(), hevc_sao_edge_filter_135degree_8width_msa(), hevc_sao_edge_filter_45degree_8width_msa(), hevc_sao_edge_filter_90degree_8width_msa(), hevc_vt_4t_6w_msa(), intra_predict_hor_dc_8x8_msa(), intra_predict_mad_cow_dc_0l0_8x8_msa(), intra_predict_mad_cow_dc_l00_8x8_msa(), and intra_predict_plane_8x8_msa().
enum cc_mode |
Enumerator | |
---|---|
CCMODE_POPON | |
CCMODE_PAINTON | |
CCMODE_ROLLUP | |
CCMODE_TEXT |
Definition at line 39 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 46 of file ccaption_dec.c.
enum cc_font |
Enumerator | |
---|---|
CCFONT_REGULAR | |
CCFONT_ITALICS | |
CCFONT_UNDERLINED | |
CCFONT_UNDERLINED_ITALICS |
Definition at line 59 of file ccaption_dec.c.
|
static |
Definition at line 142 of file ccaption_dec.c.
|
static |
Definition at line 171 of file ccaption_dec.c.
|
static |
Definition at line 179 of file ccaption_dec.c.
|
static |
ctx | closed caption context just to print log |
Definition at line 202 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 232 of file ccaption_dec.c.
Referenced by decode().
|
static |
Definition at line 266 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 282 of file ccaption_dec.c.
Referenced by process_cc608().
|
static |
Definition at line 316 of file ccaption_dec.c.
Referenced by avf_read_header(), decode(), and reap_screen().
|
static |
Definition at line 380 of file ccaption_dec.c.
Referenced by handle_edm(), handle_eoc(), and process_cc608().
|
static |
Definition at line 388 of file ccaption_dec.c.
Referenced by process_cc608().
|
static |
Definition at line 403 of file ccaption_dec.c.
Referenced by process_cc608().
|
static |
pts | it is required to set end time |
Definition at line 432 of file ccaption_dec.c.
Referenced by handle_eoc(), and process_cc608().
|
static |
Definition at line 449 of file ccaption_dec.c.
Referenced by process_cc608().
|
static |
Definition at line 465 of file ccaption_dec.c.
Referenced by process_cc608().
|
static |
Definition at line 471 of file ccaption_dec.c.
Referenced by process_cc608().
|
static |
Definition at line 496 of file ccaption_dec.c.
Referenced by decode().
|
static |
Definition at line 572 of file ccaption_dec.c.
Referenced by frame_alloc(), get_buffer(), get_format(), main(), and show_formats_devices().
|
static |
Definition at line 33 of file ccaption_dec.c.
|
static |
Definition at line 66 of file ccaption_dec.c.
Referenced by handle_pac(), and handle_textattr().
|
static |
Definition at line 648 of file ccaption_dec.c.
|
static |
Definition at line 653 of file ccaption_dec.c.
AVCodec ff_ccaption_decoder |
Definition at line 660 of file ccaption_dec.c.