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, void *data, int *data_size, 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) |
|
static av_cold int | dvdsub_close (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()
◆ 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()
◆ is_transp()
◆ find_smallest_bounding_rectangle()
◆ append_to_cached_buf()
◆ dvdsub_decode()
◆ parse_ifo_palette()
◆ dvdsub_parse_extradata()
◆ dvdsub_init()
◆ dvdsub_flush()
◆ dvdsub_close()
◆ options
◆ dvdsub_class
Initial value:= {
.class_name = "dvdsubdec",
}
Definition at line 774 of file dvdsubdec.c.
◆ ff_dvdsub_decoder