FFmpeg
|
MPL2 subtitles decoder. More...
Include dependency graph for libavcodec/mpl2dec.c:
Go to the source code of this file.
Functions | |
static int | mpl2_event_to_ass (AVBPrint *buf, const char *p) |
static int | mpl2_decode_frame (AVCodecContext *avctx, void *data, int *got_sub_ptr, AVPacket *avpkt) |
Variables | |
AVCodec | ff_mpl2_decoder |
Detailed Description
MPL2 subtitles decoder.
Definition in file libavcodec/mpl2dec.c.
Function Documentation
|
static |
Definition at line 66 of file libavcodec/mpl2dec.c.
|
static |
Definition at line 32 of file libavcodec/mpl2dec.c.
Referenced by mpl2_decode_frame().
Variable Documentation
AVCodec ff_mpl2_decoder |
Initial value:
= {
.name = "mpl2",
.long_name = NULL_IF_CONFIG_SMALL("MPL2 subtitle"),
.type = AVMEDIA_TYPE_SUBTITLE,
.id = AV_CODEC_ID_MPL2,
.decode = mpl2_decode_frame,
.init = ff_ass_subtitle_header_default,
}
Definition: libavcodec/avcodec.h:474
int ff_ass_subtitle_header_default(AVCodecContext *avctx)
Generate a suitable AVCodecContext.subtitle_header for SUBTITLE_ASS with default style.
Definition: ass.c:54
#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 mpl2_decode_frame(AVCodecContext *avctx, void *data, int *got_sub_ptr, AVPacket *avpkt)
Definition: libavcodec/mpl2dec.c:66
Definition: avutil.h:146
Definition at line 89 of file libavcodec/mpl2dec.c.
Generated on Mon Nov 18 2024 06:52:08 for FFmpeg by 1.8.11