libavcodec/realtextdec.c File Reference

RealText subtitle decoder. More...

#include "avcodec.h"
#include "ass.h"
#include "libavutil/avstring.h"
#include "libavutil/bprint.h"

Go to the source code of this file.


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)


AVCodec ff_realtext_decoder

Detailed Description

RealText subtitle decoder.

See also:

Definition in file realtextdec.c.

Function Documentation

static int realtext_decode_frame ( AVCodecContext avctx,
void *  data,
int got_sub_ptr,
AVPacket avpkt 
) [static]

Definition at line 59 of file realtextdec.c.

static int rt_event_to_ass ( AVBPrint buf,
const char *  p 
) [static]

Definition at line 32 of file realtextdec.c.

Referenced by realtext_decode_frame().

Variable Documentation

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,

Definition at line 76 of file realtextdec.c.

Generated on Fri Oct 26 02:50:07 2012 for FFmpeg by  doxygen 1.5.8