Go to the source code of this file.
|
static void | mov_text_cleanup (MovTextContext *s) |
|
static void | encode_styl (MovTextContext *s, uint32_t tsmb_type) |
|
static void | encode_hlit (MovTextContext *s, uint32_t tsmb_type) |
|
static void | encode_hclr (MovTextContext *s, uint32_t tsmb_type) |
|
static av_cold int | mov_text_encode_init (AVCodecContext *avctx) |
|
static void | mov_text_style_cb (void *priv, const char style, int close) |
|
static void | mov_text_color_cb (void *priv, unsigned int color, unsigned int color_id) |
|
static uint16_t | utf8_strlen (const char *text, int len) |
|
static void | mov_text_text_cb (void *priv, const char *text, int len) |
|
static void | mov_text_new_line_cb (void *priv, int forced) |
|
static int | mov_text_encode_frame (AVCodecContext *avctx, unsigned char *buf, int bufsize, const AVSubtitle *sub) |
|
static int | mov_text_encode_close (AVCodecContext *avctx) |
|
◆ STYLE_FLAG_BOLD
#define STYLE_FLAG_BOLD (1<<0) |
◆ STYLE_FLAG_ITALIC
#define STYLE_FLAG_ITALIC (1<<1) |
◆ STYLE_FLAG_UNDERLINE
#define STYLE_FLAG_UNDERLINE (1<<2) |
◆ STYLE_RECORD_SIZE
#define STYLE_RECORD_SIZE 12 |
◆ SIZE_ADD
◆ STYL_BOX
◆ HLIT_BOX
◆ HCLR_BOX
◆ av_bprint_append_any
◆ mov_text_cleanup()
◆ encode_styl()
◆ encode_hlit()
◆ encode_hclr()
◆ mov_text_encode_init()
◆ mov_text_style_cb()
static void mov_text_style_cb |
( |
void * |
priv, |
|
|
const char |
style, |
|
|
int |
close |
|
) |
| |
|
static |
◆ mov_text_color_cb()
static void mov_text_color_cb |
( |
void * |
priv, |
|
|
unsigned int |
color, |
|
|
unsigned int |
color_id |
|
) |
| |
|
static |
◆ utf8_strlen()
static uint16_t utf8_strlen |
( |
const char * |
text, |
|
|
int |
len |
|
) |
| |
|
static |
◆ mov_text_text_cb()
static void mov_text_text_cb |
( |
void * |
priv, |
|
|
const char * |
text, |
|
|
int |
len |
|
) |
| |
|
static |
◆ mov_text_new_line_cb()
static void mov_text_new_line_cb |
( |
void * |
priv, |
|
|
int |
forced |
|
) |
| |
|
static |
◆ mov_text_encode_frame()
◆ mov_text_encode_close()
◆ box_types
◆ box_count
◆ mov_text_callbacks
◆ ff_movtext_encoder
Initial value:= {
.name = "mov_text",
}
Definition at line 432 of file movtextenc.c.
static av_cold int mov_text_encode_init(AVCodecContext *avctx)
static void mov_text_color_cb(void *priv, unsigned int color, unsigned int color_id)
static void mov_text_text_cb(void *priv, const char *text, int len)
static int mov_text_encode_close(AVCodecContext *avctx)
static int mov_text_encode_frame(AVCodecContext *avctx, unsigned char *buf, int bufsize, const AVSubtitle *sub)
static void mov_text_new_line_cb(void *priv, int forced)
static void encode_hclr(MovTextContext *s, uint32_t tsmb_type)
static void encode_styl(MovTextContext *s, uint32_t tsmb_type)
static void mov_text_style_cb(void *priv, const char style, int close)
static void encode_hlit(MovTextContext *s, uint32_t tsmb_type)