FFmpeg
|
#include "libavutil/mathematics.h"
#include "libavutil/imgutils.h"
#include "avcodec.h"
#include "get_bits.h"
#include "bytestream.h"
Include dependency graph for xsubdec.c:
Go to the source code of this file.
Functions | |
static av_cold int | decode_init (AVCodecContext *avctx) |
static int64_t | parse_timecode (const uint8_t *buf, int64_t packet_time) |
static int | decode_frame (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) |
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 | ff_xsub_decoder |
Function Documentation
|
static |
|
static |
|
static |
Definition at line 36 of file xsubdec.c.
Referenced by decode_frame().
Variable Documentation
AVCodec ff_xsub_decoder |
Initial value:
= {
.name = "xsub",
.type = AVMEDIA_TYPE_SUBTITLE,
.id = AV_CODEC_ID_XSUB,
.init = decode_init,
.decode = decode_frame,
.long_name = NULL_IF_CONFIG_SMALL("XSUB"),
}
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: libavutil/internal.h:123
static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt)
Definition: xsubdec.c:49
Definition: libavcodec/avcodec.h:459
Definition: avutil.h:146
|
static |
Definition at line 34 of file xsubdec.c.
Referenced by parse_timecode().
|
static |
Definition at line 33 of file xsubdec.c.
Referenced by parse_timecode().
Generated on Mon Nov 18 2024 06:52:10 for FFmpeg by 1.8.11