movtextdec.c File Reference
#include "avcodec.h"
#include "ass.h"
#include "libavutil/avstring.h"
#include "libavutil/common.h"
#include "libavutil/bprint.h"
#include "libavutil/intreadwrite.h"
Include dependency graph for movtextdec.c:

Go to the source code of this file.

Functions

static int text_to_ass (AVBPrint *buf, const char *text, const char *text_end)
 
static int mov_text_init (AVCodecContext *avctx)
 
static int mov_text_decode_frame (AVCodecContext *avctx, void *data, int *got_sub_ptr, AVPacket *avpkt)
 

Variables

AVCodec ff_movtext_decoder
 

Function Documentation

static int mov_text_decode_frame ( AVCodecContext avctx,
void data,
int *  got_sub_ptr,
AVPacket avpkt 
)
static

Definition at line 59 of file movtextdec.c.

static int mov_text_init ( AVCodecContext avctx)
static

Definition at line 49 of file movtextdec.c.

static int text_to_ass ( AVBPrint buf,
const char *  text,
const char *  text_end 
)
static

Definition at line 29 of file movtextdec.c.

Referenced by mov_text_decode_frame().

Variable Documentation

AVCodec ff_movtext_decoder
Initial value:
= {
.name = "mov_text",
.long_name = NULL_IF_CONFIG_SMALL("3GPP Timed Text subtitle"),
.init = mov_text_init,
}
static int mov_text_init(AVCodecContext *avctx)
Definition: movtextdec.c:49
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int mov_text_decode_frame(AVCodecContext *avctx, void *data, int *got_sub_ptr, AVPacket *avpkt)
Definition: movtextdec.c:59

Definition at line 109 of file movtextdec.c.