|
FFmpeg
|
#include "avcodec.h"#include "ass.h"#include "codec_internal.h"#include "libavutil/bprint.h"#include "libavutil/mathematics.h"Go to the source code of this file.
Functions | |
| static int64_t | parse_webvtt_timestamp (const char *buf) |
| static int | read_cue_timestamp (const char *body, int len, int64_t cue_start, int64_t cue_end, int64_t prev_ts, int64_t *ts_out) |
| static void | flush_segment (AVBPrint *buf, AVBPrint *seg, int64_t dur_cs) |
| static int | webvtt_event_to_ass (AVBPrint *buf, const char *p, int64_t cue_start_ms, int64_t cue_end_ms) |
| static int | webvtt_decode_frame (AVCodecContext *avctx, AVSubtitle *sub, int *got_sub_ptr, const AVPacket *avpkt) |
Variables | |
| struct { | |
| const char * from | |
| const char * to | |
| } | webvtt_tag_replace [] |
| struct { | |
| const char from [6] | |
| const char to [6] | |
| } | webvtt_valid_tags [] |
| const FFCodec | ff_webvtt_decoder |
WebVTT subtitle decoder
Definition in file webvttdec.c.
|
static |
Definition at line 54 of file webvttdec.c.
Referenced by read_cue_timestamp().
|
static |
Definition at line 75 of file webvttdec.c.
Referenced by webvtt_event_to_ass().
|
static |
Definition at line 100 of file webvttdec.c.
Referenced by webvtt_event_to_ass().
|
static |
Definition at line 108 of file webvttdec.c.
Referenced by webvtt_decode_frame().
|
static |
Definition at line 183 of file webvttdec.c.
| const char from[6] |
Definition at line 35 of file webvttdec.c.
Referenced by webvtt_event_to_ass().
| const char to[6] |
Definition at line 36 of file webvttdec.c.
Referenced by av_strireplace(), copy_block(), copy_picture_range(), ff_mov_lang_to_iso639(), ff_shuffle_filter_coefficients(), ff_sws_get_adaptation(), ff_sws_pixel_expand(), filter_frame(), magy_huffman_compute_bits(), mjpegenc_huffman_compute_bits(), set_name_slot(), and webvtt_event_to_ass().
| const { ... } webvtt_tag_replace[] |
Referenced by webvtt_event_to_ass().
| const { ... } webvtt_valid_tags[] |
Referenced by webvtt_event_to_ass().
| const FFCodec ff_webvtt_decoder |
Definition at line 213 of file webvttdec.c.
1.8.17