All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | 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"
#include "libavutil/mem.h"

Go to the source code of this file.


#define STYLE_FLAG_BOLD   1


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


AVCodec ff_movtext_decoder

Macro Definition Documentation

#define STYLE_FLAG_BOLD   1

Definition at line 30 of file movtextdec.c.

Referenced by text_to_ass().


Definition at line 31 of file movtextdec.c.

Referenced by text_to_ass().


Definition at line 32 of file movtextdec.c.

Referenced by text_to_ass().

Function Documentation

static int text_to_ass ( AVBPrint *  buf,
const char *  text,
const char *  text_end,
char **  style_start,
char **  style_end,
uint8_t **  style_flags,
int  style_entries 

Definition at line 34 of file movtextdec.c.

static int mov_text_init ( AVCodecContext avctx)

Definition at line 78 of file movtextdec.c.

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

Definition at line 88 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,
static int mov_text_init(AVCodecContext *avctx)
Definition: movtextdec.c:78
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:175
static int mov_text_decode_frame(AVCodecContext *avctx, void *data, int *got_sub_ptr, AVPacket *avpkt)
Definition: movtextdec.c:88

Definition at line 216 of file movtextdec.c.