FFmpeg
|
RealText subtitle decoder. More...
Include dependency graph for libavcodec/realtextdec.c:
Go to the source code of this file.
Functions | |
static int | rt_event_to_ass (AVBPrint *buf, const char *p) |
static int | realtext_decode_frame (AVCodecContext *avctx, void *data, int *got_sub_ptr, AVPacket *avpkt) |
Variables | |
AVCodec | ff_realtext_decoder |
Detailed Description
RealText subtitle decoder.
Definition in file libavcodec/realtextdec.c.
Function Documentation
|
static |
Definition at line 59 of file libavcodec/realtextdec.c.
|
static |
Definition at line 32 of file libavcodec/realtextdec.c.
Referenced by realtext_decode_frame().
Variable Documentation
AVCodec ff_realtext_decoder |
Initial value:
= {
.name = "realtext",
.long_name = NULL_IF_CONFIG_SMALL("RealText subtitle"),
.type = AVMEDIA_TYPE_SUBTITLE,
.id = AV_CODEC_ID_REALTEXT,
.decode = realtext_decode_frame,
.init = ff_ass_subtitle_header_default,
}
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 realtext_decode_frame(AVCodecContext *avctx, void *data, int *got_sub_ptr, AVPacket *avpkt)
Definition: libavcodec/realtextdec.c:59
Definition: libavcodec/avcodec.h:469
Definition: avutil.h:146
Definition at line 76 of file libavcodec/realtextdec.c.
Generated on Fri Dec 20 2024 06:56:15 for FFmpeg by 1.8.11