Go to the source code of this file.
|
static void | yuv_a_to_rgba (const uint8_t *ycbcr, const uint8_t *alpha, uint32_t *rgba, int num_values) |
|
static int | decode_run_2bit (GetBitContext *gb, int *color) |
|
static int | decode_run_8bit (GetBitContext *gb, int *color) |
|
static int | decode_rle (uint8_t *bitmap, int linesize, int w, int h, uint8_t used_color[256], const uint8_t *buf, int start, int buf_size, int is_8bit) |
|
static void | guess_palette (DVDSubContext *ctx, uint32_t *rgba_palette, uint32_t subtitle_color) |
|
static void | reset_rects (AVSubtitle *sub_header) |
|
static int | decode_dvd_subtitles (DVDSubContext *ctx, AVSubtitle *sub_header, const uint8_t *buf, int buf_size) |
|
static int | is_transp (const uint8_t *buf, int pitch, int n, const uint8_t *transp_color) |
|
static int | find_smallest_bounding_rectangle (DVDSubContext *ctx, AVSubtitle *s) |
|
static int | append_to_cached_buf (AVCodecContext *avctx, const uint8_t *buf, int buf_size) |
|
static int | dvdsub_decode (AVCodecContext *avctx, AVSubtitle *sub, int *data_size, const AVPacket *avpkt) |
|
static int | parse_ifo_palette (DVDSubContext *ctx, char *p) |
|
static int | dvdsub_parse_extradata (AVCodecContext *avctx) |
|
static av_cold int | dvdsub_init (AVCodecContext *avctx) |
|
static void | dvdsub_flush (AVCodecContext *avctx) |
|
◆ READ_OFFSET
◆ OFFSET
◆ SD
◆ yuv_a_to_rgba()
static void yuv_a_to_rgba |
( |
const uint8_t * |
ycbcr, |
|
|
const uint8_t * |
alpha, |
|
|
uint32_t * |
rgba, |
|
|
int |
num_values |
|
) |
| |
|
static |
◆ decode_run_2bit()
◆ decode_run_8bit()
◆ decode_rle()
static int decode_rle |
( |
uint8_t * |
bitmap, |
|
|
int |
linesize, |
|
|
int |
w, |
|
|
int |
h, |
|
|
uint8_t |
used_color[256], |
|
|
const uint8_t * |
buf, |
|
|
int |
start, |
|
|
int |
buf_size, |
|
|
int |
is_8bit |
|
) |
| |
|
static |
◆ guess_palette()
static void guess_palette |
( |
DVDSubContext * |
ctx, |
|
|
uint32_t * |
rgba_palette, |
|
|
uint32_t |
subtitle_color |
|
) |
| |
|
static |
◆ reset_rects()
static void reset_rects |
( |
AVSubtitle * |
sub_header | ) |
|
|
static |
◆ decode_dvd_subtitles()
static int decode_dvd_subtitles |
( |
DVDSubContext * |
ctx, |
|
|
AVSubtitle * |
sub_header, |
|
|
const uint8_t * |
buf, |
|
|
int |
buf_size |
|
) |
| |
|
static |
◆ is_transp()
static int is_transp |
( |
const uint8_t * |
buf, |
|
|
int |
pitch, |
|
|
int |
n, |
|
|
const uint8_t * |
transp_color |
|
) |
| |
|
static |
◆ find_smallest_bounding_rectangle()
◆ append_to_cached_buf()
static int append_to_cached_buf |
( |
AVCodecContext * |
avctx, |
|
|
const uint8_t * |
buf, |
|
|
int |
buf_size |
|
) |
| |
|
static |
◆ dvdsub_decode()
◆ parse_ifo_palette()
◆ dvdsub_parse_extradata()
◆ dvdsub_init()
◆ dvdsub_flush()
◆ options
◆ dvdsub_class
Initial value:= {
.class_name = "dvdsubdec",
}
Definition at line 703 of file dvdsubdec.c.
◆ ff_dvdsub_decoder
Initial value:= {
.p.name = "dvdsub",
}
Definition at line 710 of file dvdsubdec.c.