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, 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 (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 void | parse_palette (DVDSubContext *ctx, char *p) |
|
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) |
|
static void yuv_a_to_rgba |
( |
const uint8_t * |
ycbcr, |
|
|
const uint8_t * |
alpha, |
|
|
uint32_t * |
rgba, |
|
|
int |
num_values |
|
) |
| |
|
static |
static int decode_rle |
( |
uint8_t * |
bitmap, |
|
|
int |
linesize, |
|
|
int |
w, |
|
|
int |
h, |
|
|
const uint8_t * |
buf, |
|
|
int |
start, |
|
|
int |
buf_size, |
|
|
int |
is_8bit |
|
) |
| |
|
static |
static void guess_palette |
( |
DVDSubContext * |
ctx, |
|
|
uint32_t * |
rgba_palette, |
|
|
uint32_t |
subtitle_color |
|
) |
| |
|
static |
static int is_transp |
( |
const uint8_t * |
buf, |
|
|
int |
pitch, |
|
|
int |
n, |
|
|
const uint8_t * |
transp_color |
|
) |
| |
|
static |
static int find_smallest_bounding_rectangle |
( |
AVSubtitle * |
s | ) |
|
|
static |
Initial value:= {
.class_name = "dvdsubdec",
}
#define LIBAVUTIL_VERSION_INT
static const AVOption options[]
Definition at line 776 of file dvdsubdec.c.
Initial value:= {
.name = "dvdsub",
}
static void dvdsub_flush(AVCodecContext *avctx)
static void flush(AVCodecContext *avctx)
static av_cold int init(AVCodecContext *avctx)
static av_cold int dvdsub_close(AVCodecContext *avctx)
static av_cold int dvdsub_init(AVCodecContext *avctx)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static const AVClass dvdsub_class
static int decode(AVCodecContext *avctx, void *data, int *got_sub, AVPacket *avpkt)
static int dvdsub_decode(AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt)
Definition at line 783 of file dvdsubdec.c.