FFmpeg
|
SubViewer subtitle decoder. More...
Include dependency graph for libavcodec/subviewerdec.c:
Go to the source code of this file.
Functions | |
static int | subviewer_event_to_ass (AVBPrint *buf, const char *p) |
static int | subviewer_decode_frame (AVCodecContext *avctx, void *data, int *got_sub_ptr, AVPacket *avpkt) |
Variables | |
AVCodec | ff_subviewer_decoder |
Detailed Description
SubViewer subtitle decoder.
Definition in file libavcodec/subviewerdec.c.
Function Documentation
|
static |
Definition at line 50 of file libavcodec/subviewerdec.c.
|
static |
Definition at line 31 of file libavcodec/subviewerdec.c.
Referenced by subviewer_decode_frame().
Variable Documentation
AVCodec ff_subviewer_decoder |
Initial value:
= {
.name = "subviewer",
.long_name = NULL_IF_CONFIG_SMALL("SubViewer subtitle"),
.type = AVMEDIA_TYPE_SUBTITLE,
.id = AV_CODEC_ID_SUBVIEWER,
.decode = subviewer_decode_frame,
.init = ff_ass_subtitle_header_default,
}
static int subviewer_decode_frame(AVCodecContext *avctx, void *data, int *got_sub_ptr, AVPacket *avpkt)
Definition: libavcodec/subviewerdec.c:50
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
Definition: libavcodec/avcodec.h:471
Definition: avutil.h:146
Definition at line 76 of file libavcodec/subviewerdec.c.
Generated on Mon Nov 18 2024 06:52:09 for FFmpeg by 1.8.11