Go to the source code of this file.
|
static int | html_color_parse (AVCodecContext *avctx, const char *str) |
|
static const char * | srt_to_ass (AVCodecContext *avctx, char *out, char *out_end, const char *in, int x1, int y1, int x2, int y2) |
|
static const char * | read_ts (const char *buf, int *ts_start, int *ts_end, int *x1, int *y1, int *x2, int *y2) |
|
static int | srt_decode_frame (AVCodecContext *avctx, void *data, int *got_sub_ptr, AVPacket *avpkt) |
|
Enumerator |
---|
PARAM_UNKNOWN |
|
PARAM_SIZE |
|
PARAM_COLOR |
|
PARAM_FACE |
|
PARAM_NUMBER |
|
Definition at line 35 of file srtdec.c.
static int html_color_parse |
( |
AVCodecContext * |
avctx, |
|
|
const char * |
str |
|
) |
| |
|
static |
static const char* read_ts |
( |
const char * |
buf, |
|
|
int * |
ts_start, |
|
|
int * |
ts_end, |
|
|
int * |
x1, |
|
|
int * |
y1, |
|
|
int * |
x2, |
|
|
int * |
y2 |
|
) |
| |
|
static |
static const char* srt_to_ass |
( |
AVCodecContext * |
avctx, |
|
|
char * |
out, |
|
|
char * |
out_end, |
|
|
const char * |
in, |
|
|
int |
x1, |
|
|
int |
y1, |
|
|
int |
x2, |
|
|
int |
y2 |
|
) |
| |
|
static |
Initial value:= {
.name = "srt",
}
int ff_ass_subtitle_header_default(AVCodecContext *avctx)
Generate a suitable AVCodecContext.subtitle_header for SUBTITLE_ASS with default style.
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int srt_decode_frame(AVCodecContext *avctx, void *data, int *got_sub_ptr, AVPacket *avpkt)
Definition at line 234 of file srtdec.c.