|
FFmpeg
4.4.6
|
#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"#include "bytestream.h"#include "internal.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) | (((uint32_t)(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 [] |
| static const 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 35 of file movtextenc.c.
| #define STYLE_FLAG_ITALIC (1<<1) |
Definition at line 36 of file movtextenc.c.
| #define STYLE_FLAG_UNDERLINE (1<<2) |
Definition at line 37 of file movtextenc.c.
| #define STYLE_RECORD_SIZE 12 |
Definition at line 38 of file movtextenc.c.
| #define SIZE_ADD 10 |
Definition at line 39 of file movtextenc.c.
| #define STYL_BOX (1<<0) |
Definition at line 41 of file movtextenc.c.
| #define HLIT_BOX (1<<1) |
Definition at line 42 of file movtextenc.c.
| #define HCLR_BOX (1<<2) |
Definition at line 43 of file movtextenc.c.
| #define DEFAULT_STYLE_FONT_ID 0x01 |
Definition at line 45 of file movtextenc.c.
| #define DEFAULT_STYLE_FONTSIZE 0x12 |
Definition at line 46 of file movtextenc.c.
| #define DEFAULT_STYLE_COLOR 0xffffffff |
Definition at line 47 of file movtextenc.c.
| #define DEFAULT_STYLE_FLAG 0x00 |
Definition at line 48 of file movtextenc.c.
Definition at line 50 of file movtextenc.c.
Definition at line 51 of file movtextenc.c.
| #define av_bprint_append_any | ( | buf, | |
| data, | |||
| size | |||
| ) | av_bprint_append_data(buf, ((const char*)data), size) |
Definition at line 52 of file movtextenc.c.
| #define OFFSET | ( | x | ) | offsetof(MovTextContext, x) |
Definition at line 710 of file movtextenc.c.
| #define FLAGS AV_OPT_FLAG_ENCODING_PARAM | AV_OPT_FLAG_SUBTITLE_PARAM |
Definition at line 711 of file movtextenc.c.
|
static |
Definition at line 99 of file movtextenc.c.
Referenced by encode_styl(), and mov_text_style_start().
|
static |
Definition at line 105 of file movtextenc.c.
|
static |
Definition at line 133 of file movtextenc.c.
|
static |
Definition at line 147 of file movtextenc.c.
|
static |
Definition at line 168 of file movtextenc.c.
|
static |
Definition at line 179 of file movtextenc.c.
Referenced by mov_text_encode_init().
|
static |
Definition at line 326 of file movtextenc.c.
|
static |
Definition at line 345 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 380 of file movtextenc.c.
Referenced by mov_text_style_cb().
|
static |
Definition at line 398 of file movtextenc.c.
Referenced by mov_text_ass_style_set().
Definition at line 408 of file movtextenc.c.
|
static |
Definition at line 425 of file movtextenc.c.
Referenced by mov_text_ass_style_set(), and mov_text_color_cb().
Definition at line 436 of file movtextenc.c.
|
static |
Definition at line 463 of file movtextenc.c.
Referenced by mov_text_alpha_cb(), and mov_text_ass_style_set().
Definition at line 474 of file movtextenc.c.
|
static |
Definition at line 497 of file movtextenc.c.
Referenced by mov_text_font_name_set().
|
static |
Definition at line 507 of file movtextenc.c.
Referenced by mov_text_ass_style_set(), and mov_text_font_name_cb().
Definition at line 518 of file movtextenc.c.
|
static |
Definition at line 523 of file movtextenc.c.
Referenced by mov_text_ass_style_set(), and mov_text_font_size_cb().
Definition at line 534 of file movtextenc.c.
Definition at line 539 of file movtextenc.c.
|
static |
Definition at line 545 of file movtextenc.c.
Referenced by mov_text_cancel_overrides_cb(), and mov_text_dialog().
|
static |
Definition at line 567 of file movtextenc.c.
Referenced by mov_text_encode_frame().
Definition at line 575 of file movtextenc.c.
|
static |
Definition at line 588 of file movtextenc.c.
Referenced by mov_text_text_cb().
Definition at line 608 of file movtextenc.c.
Definition at line 618 of file movtextenc.c.
|
static |
Definition at line 638 of file movtextenc.c.
|
static |
Definition at line 160 of file movtextenc.c.
Referenced by mov_text_encode_frame().
|
static |
Definition at line 166 of file movtextenc.c.
Referenced by mov_text_encode_frame().
|
static |
Definition at line 626 of file movtextenc.c.
Referenced by mov_text_encode_frame().
|
static |
Definition at line 712 of file movtextenc.c.
|
static |
Definition at line 717 of file movtextenc.c.
| AVCodec ff_movtext_encoder |
Definition at line 724 of file movtextenc.c.