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 (const 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()
static void next_byte |
( |
AVIOContext * |
pb, |
|
|
int * |
cur_byte |
|
) |
| |
|
static |
◆ skip_spaces()
static void skip_spaces |
( |
AVIOContext * |
pb, |
|
|
int * |
cur_byte |
|
) |
| |
|
static |
◆ expect_byte()
static int expect_byte |
( |
AVIOContext * |
pb, |
|
|
int * |
cur_byte, |
|
|
uint8_t |
c |
|
) |
| |
|
static |
◆ parse_string()
static int parse_string |
( |
AVIOContext * |
pb, |
|
|
int * |
cur_byte, |
|
|
AVBPrint * |
bp, |
|
|
int |
full |
|
) |
| |
|
static |
◆ parse_label()
static int parse_label |
( |
AVIOContext * |
pb, |
|
|
int * |
cur_byte, |
|
|
AVBPrint * |
bp |
|
) |
| |
|
static |
◆ parse_boolean()
static int parse_boolean |
( |
AVIOContext * |
pb, |
|
|
int * |
cur_byte, |
|
|
int * |
result |
|
) |
| |
|
static |
◆ parse_int()
◆ parse_file()
◆ tedcaptions_read_header()
◆ tedcaptions_read_packet()
◆ tedcaptions_read_close()
◆ tedcaptions_read_probe()
◆ tedcaptions_read_seek()
◆ tedcaptions_options
Initial value:= {
{ "start_time", "set the start time (offset) of the subtitles, in ms",
{ .i64 = 15000 }, INT64_MIN, INT64_MAX,
}
Definition at line 36 of file tedcaptionsdec.c.
◆ tedcaptions_demuxer_class
const AVClass tedcaptions_demuxer_class |
|
static |
Initial value:= {
.class_name = "tedcaptions_demuxer",
}
Definition at line 44 of file tedcaptionsdec.c.
◆ ff_tedcaptions_demuxer
static const AVOption tedcaptions_options[]
static int tedcaptions_read_seek(AVFormatContext *avf, int stream_index, int64_t min_ts, int64_t ts, int64_t max_ts, int flags)
static av_cold int read_close(AVFormatContext *ctx)
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
static const AVClass tedcaptions_demuxer_class
@ AV_OPT_TYPE_INT64
Underlying C type is int64_t.
#define FF_INFMT_FLAG_INIT_CLEANUP
For an FFInputFormat with this flag set read_close() needs to be called by the caller upon read_heade...
#define LIBAVUTIL_VERSION_INT
static int read_header(FFV1Context *f)
const char * av_default_item_name(void *ptr)
Return the context name.
static int tedcaptions_read_packet(AVFormatContext *avf, AVPacket *packet)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
static av_cold int tedcaptions_read_probe(const AVProbeData *p)
#define AV_OPT_FLAG_SUBTITLE_PARAM
static int tedcaptions_read_close(AVFormatContext *avf)
#define AV_OPT_FLAG_DECODING_PARAM
A generic parameter which can be set by the user for demuxing or decoding.
static int read_probe(const AVProbeData *p)
static av_cold int tedcaptions_read_header(AVFormatContext *avf)