FFmpeg
|
#include "avcodec.h"
#include "codec_internal.h"
#include "internal.h"
#include "libavcodec/ass.h"
#include "libavutil/avstring.h"
#include "libavutil/avutil.h"
#include "libavutil/thread.h"
#include "libavutil/log.h"
#include "libavutil/opt.h"
#include <aribcaption/aribcaption.h>
Go to the source code of this file.
Data Structures | |
struct | ARIBCaptionContext |
Macros | |
#define | DEFAULT_FONT_ASS "sans-serif" |
#define | ARIBC_BPRINT_SIZE_INIT 64 |
#define | ARIBC_BPRINT_SIZE_MAX (8 * 1024) |
#define | ARIBC_ALPHA_MAX_NUM 4 |
#define | ARIBC_ALPHA_DEFAULT_FRONT 0xFF |
#define | ARIBC_ALPHA_DEFAULT_BACK 0x80 |
#define | ARIBCC_COLOR_RGB(c) ((c) & 0xFFFFFF) |
#define | ARIBCC_COLOR_DIFF_RGB(c1, c2) (((c1) ^ (c2)) & 0x00FFFFFF) |
#define | ARIBCC_COLOR_DIFF_A(c1, c2) (((c1) ^ (c2)) & 0xFF000000) |
#define | CLUT_RGBA(r, g, b, a) (((unsigned)(a) << 24) | ((r) << 16) | ((g) << 8) | (b)) |
#define | CLUT_A(c) (((c) >> 24) & 0xFF) |
#define | CLUT_R(c) (((c) >> 16) & 0xFF) |
#define | CLUT_G(c) (((c) >> 8) & 0xFF) |
#define | CLUT_B(c) ( (c) & 0xFF) |
#define | ARIBCC_COLOR_TO_CLUT_RGBA(c, a) |
#define | ASS_SINGLE_RECT 0 |
#define | OFFSET(x) offsetof(ARIBCaptionContext, x) |
#define | SD AV_OPT_FLAG_SUBTITLE_PARAM | AV_OPT_FLAG_DECODING_PARAM |
Variables | |
static const AVOption | options [] |
static const AVClass | aribcaption_class |
const FFCodec | ff_libaribcaption_decoder |
#define DEFAULT_FONT_ASS "sans-serif" |
Definition at line 35 of file libaribcaption.c.
#define ARIBC_BPRINT_SIZE_INIT 64 |
Definition at line 38 of file libaribcaption.c.
#define ARIBC_BPRINT_SIZE_MAX (8 * 1024) |
Definition at line 39 of file libaribcaption.c.
#define ARIBC_ALPHA_MAX_NUM 4 |
Definition at line 40 of file libaribcaption.c.
#define ARIBC_ALPHA_DEFAULT_FRONT 0xFF |
Definition at line 41 of file libaribcaption.c.
#define ARIBC_ALPHA_DEFAULT_BACK 0x80 |
Definition at line 42 of file libaribcaption.c.
Definition at line 44 of file libaribcaption.c.
Definition at line 45 of file libaribcaption.c.
Definition at line 46 of file libaribcaption.c.
Definition at line 48 of file libaribcaption.c.
Definition at line 49 of file libaribcaption.c.
Definition at line 50 of file libaribcaption.c.
Definition at line 51 of file libaribcaption.c.
Definition at line 52 of file libaribcaption.c.
#define ASS_SINGLE_RECT 0 |
Definition at line 1109 of file libaribcaption.c.
#define OFFSET | ( | x | ) | offsetof(ARIBCaptionContext, x) |
Definition at line 1112 of file libaribcaption.c.
#define SD AV_OPT_FLAG_SUBTITLE_PARAM | AV_OPT_FLAG_DECODING_PARAM |
Definition at line 1113 of file libaribcaption.c.
|
static |
Definition at line 105 of file libaribcaption.c.
Referenced by aribcaption_decode().
|
static |
Definition at line 118 of file libaribcaption.c.
Referenced by aribcaption_init().
|
static |
Definition at line 139 of file libaribcaption.c.
Referenced by aribcaption_init(), and aribcaption_trans_bitmap_subtitle().
|
static |
Definition at line 164 of file libaribcaption.c.
Referenced by clut_init().
|
static |
Definition at line 179 of file libaribcaption.c.
Referenced by clut_pick_or_set().
|
static |
Definition at line 200 of file libaribcaption.c.
Referenced by clut_init().
|
inlinestatic |
Definition at line 211 of file libaribcaption.c.
Referenced by clut_pick_or_set().
|
static |
Definition at line 218 of file libaribcaption.c.
Referenced by aribcaption_trans_bitmap_subtitle().
|
static |
Definition at line 253 of file libaribcaption.c.
Referenced by aribcaption_trans_bitmap_subtitle().
|
static |
aribcaption_trans_{bitmap|ass|text}_subtitle()
Transfer decoded subtitle to AVSubtitle with corresponding subtitle type.
ctx | pointer to the ARIBCaptionContext |
Definition at line 316 of file libaribcaption.c.
Referenced by aribcaption_decode().
|
static |
Definition at line 498 of file libaribcaption.c.
Referenced by aribcaption_init(), and aribcaption_trans_ass_subtitle().
|
static |
Definition at line 570 of file libaribcaption.c.
Referenced by aribcaption_trans_ass_subtitle().
|
static |
Definition at line 581 of file libaribcaption.c.
Referenced by aribcaption_decode().
|
static |
Definition at line 791 of file libaribcaption.c.
Referenced by aribcaption_decode().
|
static |
Definition at line 843 of file libaribcaption.c.
|
static |
Definition at line 929 of file libaribcaption.c.
|
static |
Definition at line 941 of file libaribcaption.c.
|
static |
Definition at line 956 of file libaribcaption.c.
|
static |
Definition at line 1114 of file libaribcaption.c.
|
static |
Definition at line 1162 of file libaribcaption.c.
const FFCodec ff_libaribcaption_decoder |
Definition at line 1169 of file libaribcaption.c.