#include "avcodec.h"
#include "bitstream.h"
#include "bytestream.h"
Go to the source code of this file.
Functions | |
static av_cold int | decode_init (AVCodecContext *avctx) |
static uint64_t | parse_timecode (const uint8_t *buf) |
static int | decode_frame (AVCodecContext *avctx, void *data, int *data_size, const uint8_t *buf, int buf_size) |
Variables | |
static const uint8_t | tc_offsets [9] = { 0, 1, 3, 4, 6, 7, 9, 10, 11 } |
static const uint8_t | tc_muls [9] = { 10, 6, 10, 6, 10, 10, 10, 10, 1 } |
AVCodec | xsub_decoder |
static int decode_frame | ( | AVCodecContext * | avctx, | |
void * | data, | |||
int * | data_size, | |||
const uint8_t * | buf, | |||
int | buf_size | |||
) | [static] |
static av_cold int decode_init | ( | AVCodecContext * | avctx | ) | [static] |
static uint64_t parse_timecode | ( | const uint8_t * | buf | ) | [static] |
Definition at line 33 of file xsubdec.c.
Referenced by decode_frame().
const uint8_t tc_muls[9] = { 10, 6, 10, 6, 10, 10, 10, 10, 1 } [static] |
Definition at line 31 of file xsubdec.c.
Referenced by parse_timecode().
const uint8_t tc_offsets[9] = { 0, 1, 3, 4, 6, 7, 9, 10, 11 } [static] |
Definition at line 30 of file xsubdec.c.
Referenced by parse_timecode().
{ "xsub", CODEC_TYPE_SUBTITLE, CODEC_ID_XSUB, 0, decode_init, NULL, NULL, decode_frame, .long_name = NULL_IF_CONFIG_SMALL("XSUB"), }