|
FFmpeg
|
#include "libavutil/bprint.h"#include "libavutil/log.h"#include "libavutil/opt.h"#include "avformat.h"#include "internal.h"#include "subtitles.h"Go to the source code of this file.
Data Structures | |
| struct | TEDCaptionsDemuxer |
Macros | |
| #define | BETWEEN(a, amin, amax) ((unsigned)((a) - (amin)) <= (amax) - (amin)) |
| #define | HEX_DIGIT_TEST(c) (BETWEEN(c, '0', '9') || BETWEEN((c) | 32, 'a', 'z')) |
| #define | HEX_DIGIT_VAL(c) ((c) <= '9' ? (c) - '0' : ((c) | 32) - 'a' + 10) |
| #define | ERR_CODE(c) (c < 0 ? c : AVERROR_INVALIDDATA) |
Functions | |
| 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) |
Variables | |
| static const AVOption | tedcaptions_options [] |
| static const AVClass | tedcaptions_demuxer_class |
| AVInputFormat | ff_tedcaptions_demuxer |
Definition at line 50 of file tedcaptionsdec.c.
Referenced by parse_boolean(), and parse_int().
Definition at line 52 of file tedcaptionsdec.c.
Referenced by parse_string().
Definition at line 53 of file tedcaptionsdec.c.
Referenced by parse_string().
| #define ERR_CODE | ( | c | ) | (c < 0 ? c : AVERROR_INVALIDDATA) |
Definition at line 54 of file tedcaptionsdec.c.
Referenced by expect_byte(), parse_file(), and parse_string().
Definition at line 56 of file tedcaptionsdec.c.
Referenced by parse_string().
|
static |
Definition at line 70 of file tedcaptionsdec.c.
Referenced by expect_byte(), parse_boolean(), parse_file(), parse_int(), parse_string(), and skip_spaces().
|
static |
Definition at line 77 of file tedcaptionsdec.c.
Referenced by expect_byte(), parse_boolean(), parse_file(), and parse_int().
|
static |
Definition at line 84 of file tedcaptionsdec.c.
Referenced by parse_file(), parse_label(), and parse_string().
|
static |
Definition at line 93 of file tedcaptionsdec.c.
Referenced by parse_file(), and parse_label().
|
static |
Definition at line 141 of file tedcaptionsdec.c.
Referenced by parse_file().
|
static |
Definition at line 154 of file tedcaptionsdec.c.
Referenced by parse_file().
|
static |
Definition at line 176 of file tedcaptionsdec.c.
Referenced by parse_file().
|
static |
Definition at line 191 of file tedcaptionsdec.c.
Referenced by tedcaptions_read_header().
|
static |
Definition at line 275 of file tedcaptionsdec.c.
|
static |
Definition at line 309 of file tedcaptionsdec.c.
|
static |
Definition at line 316 of file tedcaptionsdec.c.
|
static |
Definition at line 324 of file tedcaptionsdec.c.
|
static |
Definition at line 347 of file tedcaptionsdec.c.
|
static |
Definition at line 35 of file tedcaptionsdec.c.
|
static |
Definition at line 43 of file tedcaptionsdec.c.
| AVInputFormat ff_tedcaptions_demuxer |
Definition at line 356 of file tedcaptionsdec.c.
1.8.2