FFmpeg
4.3
|
#include <stdarg.h>
#include "avcodec.h"
#include "libavutil/opt.h"
#include "libavutil/avassert.h"
#include "libavutil/avstring.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mem.h"
#include "libavutil/common.h"
#include "ass_split.h"
#include "ass.h"
Go to the source code of this file.
Data Structures | |
struct | StyleBox |
struct | HighlightBox |
struct | HilightcolorBox |
struct | MovTextContext |
struct | Box |
Macros | |
#define | STYLE_FLAG_BOLD (1<<0) |
#define | STYLE_FLAG_ITALIC (1<<1) |
#define | STYLE_FLAG_UNDERLINE (1<<2) |
#define | STYLE_RECORD_SIZE 12 |
#define | SIZE_ADD 10 |
#define | STYL_BOX (1<<0) |
#define | HLIT_BOX (1<<1) |
#define | HCLR_BOX (1<<2) |
#define | DEFAULT_STYLE_FONT_ID 0x01 |
#define | DEFAULT_STYLE_FONTSIZE 0x12 |
#define | DEFAULT_STYLE_COLOR 0xffffffff |
#define | DEFAULT_STYLE_FLAG 0x00 |
#define | BGR_TO_RGB(c) (((c) & 0xff) << 16 | ((c) & 0xff00) | (((c) >> 16) & 0xff)) |
#define | FONTSIZE_SCALE(s, fs) ((fs) * (s)->font_scale_factor + 0.5) |
#define | av_bprint_append_any(buf, data, size) av_bprint_append_data(buf, ((const char*)data), size) |
#define | OFFSET(x) offsetof(MovTextContext, x) |
#define | FLAGS AV_OPT_FLAG_ENCODING_PARAM | AV_OPT_FLAG_SUBTITLE_PARAM |
Variables | |
static const Box | box_types [] |
const static size_t | box_count = FF_ARRAY_ELEMS(box_types) |
static const ASSCodesCallbacks | mov_text_callbacks |
static const AVOption | options [] |
static const AVClass | mov_text_encoder_class |
AVCodec | ff_movtext_encoder |
#define STYLE_FLAG_BOLD (1<<0) |
Definition at line 33 of file movtextenc.c.
#define STYLE_FLAG_ITALIC (1<<1) |
Definition at line 34 of file movtextenc.c.
#define STYLE_FLAG_UNDERLINE (1<<2) |
Definition at line 35 of file movtextenc.c.
#define STYLE_RECORD_SIZE 12 |
Definition at line 36 of file movtextenc.c.
#define SIZE_ADD 10 |
Definition at line 37 of file movtextenc.c.
#define STYL_BOX (1<<0) |
Definition at line 39 of file movtextenc.c.
#define HLIT_BOX (1<<1) |
Definition at line 40 of file movtextenc.c.
#define HCLR_BOX (1<<2) |
Definition at line 41 of file movtextenc.c.
#define DEFAULT_STYLE_FONT_ID 0x01 |
Definition at line 43 of file movtextenc.c.
#define DEFAULT_STYLE_FONTSIZE 0x12 |
Definition at line 44 of file movtextenc.c.
#define DEFAULT_STYLE_COLOR 0xffffffff |
Definition at line 45 of file movtextenc.c.
#define DEFAULT_STYLE_FLAG 0x00 |
Definition at line 46 of file movtextenc.c.
Definition at line 48 of file movtextenc.c.
Definition at line 49 of file movtextenc.c.
#define av_bprint_append_any | ( | buf, | |
data, | |||
size | |||
) | av_bprint_append_data(buf, ((const char*)data), size) |
Definition at line 50 of file movtextenc.c.
#define OFFSET | ( | x | ) | offsetof(MovTextContext, x) |
Definition at line 751 of file movtextenc.c.
#define FLAGS AV_OPT_FLAG_ENCODING_PARAM | AV_OPT_FLAG_SUBTITLE_PARAM |
Definition at line 752 of file movtextenc.c.
|
static |
Definition at line 97 of file movtextenc.c.
Referenced by encode_styl(), and mov_text_style_start().
|
static |
Definition at line 111 of file movtextenc.c.
|
static |
Definition at line 145 of file movtextenc.c.
|
static |
Definition at line 161 of file movtextenc.c.
|
static |
Definition at line 182 of file movtextenc.c.
Referenced by mov_text_encode_init().
|
static |
Definition at line 200 of file movtextenc.c.
Referenced by mov_text_encode_init().
|
static |
Definition at line 353 of file movtextenc.c.
|
static |
Definition at line 384 of file movtextenc.c.
Referenced by mov_text_alpha_set(), mov_text_ass_style_set(), mov_text_color_set(), mov_text_end_cb(), mov_text_font_name_set(), mov_text_font_size_set(), mov_text_style_cb(), and mov_text_style_set().
|
static |
Definition at line 415 of file movtextenc.c.
Referenced by mov_text_style_cb().
|
static |
Definition at line 433 of file movtextenc.c.
Referenced by mov_text_ass_style_set().
Definition at line 444 of file movtextenc.c.
|
static |
Definition at line 462 of file movtextenc.c.
Referenced by mov_text_ass_style_set(), and mov_text_color_cb().
Definition at line 474 of file movtextenc.c.
|
static |
Definition at line 501 of file movtextenc.c.
Referenced by mov_text_alpha_cb(), and mov_text_ass_style_set().
Definition at line 513 of file movtextenc.c.
|
static |
Definition at line 536 of file movtextenc.c.
Referenced by mov_text_font_name_set().
|
static |
Definition at line 546 of file movtextenc.c.
Referenced by mov_text_ass_style_set(), and mov_text_font_name_cb().
Definition at line 558 of file movtextenc.c.
|
static |
Definition at line 563 of file movtextenc.c.
Referenced by mov_text_ass_style_set(), and mov_text_font_size_cb().
Definition at line 575 of file movtextenc.c.
Definition at line 580 of file movtextenc.c.
|
static |
Definition at line 586 of file movtextenc.c.
Referenced by mov_text_cancel_overrides_cb(), and mov_text_dialog().
|
static |
Definition at line 608 of file movtextenc.c.
Referenced by mov_text_encode_frame().
Definition at line 616 of file movtextenc.c.
|
static |
Definition at line 629 of file movtextenc.c.
Referenced by mov_text_text_cb().
Definition at line 649 of file movtextenc.c.
Definition at line 659 of file movtextenc.c.
|
static |
Definition at line 679 of file movtextenc.c.
|
static |
Definition at line 174 of file movtextenc.c.
Referenced by mov_text_encode_frame().
|
static |
Definition at line 180 of file movtextenc.c.
Referenced by mov_text_encode_frame().
|
static |
Definition at line 667 of file movtextenc.c.
Referenced by mov_text_encode_frame().
|
static |
Definition at line 753 of file movtextenc.c.
|
static |
Definition at line 758 of file movtextenc.c.
AVCodec ff_movtext_encoder |
Definition at line 765 of file movtextenc.c.