FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
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"

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 text_to_ass ( AVBPrint *  buf,
const char *  text,
const char *  text_end 
)
static

Definition at line 29 of file movtextdec.c.

static int mov_text_init ( AVCodecContext avctx)
static

Definition at line 48 of file movtextdec.c.

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

Definition at line 58 of file movtextdec.c.

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,
}

Definition at line 106 of file movtextdec.c.