Go to the source code of this file.
|
static void | av_bprint_utf8 (AVBPrint *bp, unsigned c) |
|
static void | next_byte (AVIOContext *pb, int *cur_byte) |
|
static void | skip_spaces (AVIOContext *pb, int *cur_byte) |
|
static int | expect_byte (AVIOContext *pb, int *cur_byte, uint8_t c) |
|
static int | parse_string (AVIOContext *pb, int *cur_byte, AVBPrint *bp, int full) |
|
static int | parse_label (AVIOContext *pb, int *cur_byte, AVBPrint *bp) |
|
static int | parse_boolean (AVIOContext *pb, int *cur_byte, int *result) |
|
static int | parse_int (AVIOContext *pb, int *cur_byte, int64_t *result) |
|
static int | parse_file (AVIOContext *pb, FFDemuxSubtitlesQueue *subs) |
|
static av_cold int | tedcaptions_read_header (AVFormatContext *avf) |
|
static int | tedcaptions_read_packet (AVFormatContext *avf, AVPacket *packet) |
|
static int | tedcaptions_read_close (AVFormatContext *avf) |
|
static av_cold int | tedcaptions_read_probe (AVProbeData *p) |
|
static int | tedcaptions_read_seek (AVFormatContext *avf, int stream_index, int64_t min_ts, int64_t ts, int64_t max_ts, int flags) |
|
◆ BETWEEN
#define BETWEEN |
( |
|
a, |
|
|
|
amin, |
|
|
|
amax |
|
) |
| ((unsigned)((a) - (amin)) <= (amax) - (amin)) |
◆ HEX_DIGIT_TEST
◆ HEX_DIGIT_VAL
#define HEX_DIGIT_VAL |
( |
|
c | ) |
((c) <= '9' ? (c) - '0' : ((c) | 32) - 'a' + 10) |
◆ ERR_CODE
◆ av_bprint_utf8()
static void av_bprint_utf8 |
( |
AVBPrint * |
bp, |
|
|
unsigned |
c |
|
) |
| |
|
static |
◆ next_byte()
◆ skip_spaces()
◆ expect_byte()
◆ parse_string()
◆ parse_label()
◆ parse_boolean()
◆ parse_int()
◆ parse_file()
◆ tedcaptions_read_header()
◆ tedcaptions_read_packet()
◆ tedcaptions_read_close()
◆ tedcaptions_read_probe()
◆ tedcaptions_read_seek()
static int tedcaptions_read_seek |
( |
AVFormatContext * |
avf, |
|
|
int |
stream_index, |
|
|
int64_t |
min_ts, |
|
|
int64_t |
ts, |
|
|
int64_t |
max_ts, |
|
|
int |
flags |
|
) |
| |
|
static |
◆ tedcaptions_options
Initial value:= {
{ "start_time", "set the start time (offset) of the subtitles, in ms",
{ .i64 = 15000 }, INT64_MIN, INT64_MAX,
}
#define AV_OPT_FLAG_SUBTITLE_PARAM
#define AV_OPT_FLAG_DECODING_PARAM
a generic parameter which can be set by the user for demuxing or decoding
Definition at line 35 of file tedcaptionsdec.c.
◆ tedcaptions_demuxer_class
const AVClass tedcaptions_demuxer_class |
|
static |
Initial value:= {
.class_name = "tedcaptions_demuxer",
}
#define LIBAVUTIL_VERSION_INT
const char * av_default_item_name(void *ptr)
Return the context name.
static const AVOption tedcaptions_options[]
Definition at line 43 of file tedcaptionsdec.c.
◆ ff_tedcaptions_demuxer
Initial value:= {
.name = "tedcaptions",
}
static int tedcaptions_read_seek(AVFormatContext *avf, int stream_index, int64_t min_ts, int64_t ts, int64_t max_ts, int flags)
static const AVClass tedcaptions_demuxer_class
static int tedcaptions_read_packet(AVFormatContext *avf, AVPacket *packet)
static av_cold int read_close(AVFormatContext *ctx)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int tedcaptions_read_close(AVFormatContext *avf)
static av_cold int tedcaptions_read_header(AVFormatContext *avf)
static int read_header(FFV1Context *f)
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
static av_cold int tedcaptions_read_probe(AVProbeData *p)
Definition at line 356 of file tedcaptionsdec.c.