FFmpeg
|
Deluxe Paint Animation decoder. More...
Go to the source code of this file.
Data Structures | |
struct | AnmContext |
Macros | |
#define | OP(gb, pixel, count) op(&dst, dst_end, (gb), (pixel), (count), &s->x, avctx->width, s->frame->linesize[0]) |
Typedefs | |
typedef struct AnmContext | AnmContext |
Functions | |
static av_cold int | decode_init (AVCodecContext *avctx) |
static int | op (uint8_t **dst, const uint8_t *dst_end, GetByteContext *gb, int pixel, int count, int *x, int width, int linesize) |
Perform decode operation. More... | |
static int | decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) |
static av_cold int | decode_end (AVCodecContext *avctx) |
Variables | |
AVCodec | ff_anm_decoder |
Detailed Description
Deluxe Paint Animation decoder.
Definition in file libavcodec/anm.c.
Macro Definition Documentation
#define OP | ( | gb, | |
pixel, | |||
count | |||
) | op(&dst, dst_end, (gb), (pixel), (count), &s->x, avctx->width, s->frame->linesize[0]) |
Referenced by decode_frame().
Typedef Documentation
typedef struct AnmContext AnmContext |
Function Documentation
|
static |
Definition at line 182 of file libavcodec/anm.c.
|
static |
Definition at line 111 of file libavcodec/anm.c.
|
static |
Definition at line 38 of file libavcodec/anm.c.
|
inlinestatic |
Perform decode operation.
- Parameters
-
dst pointer to destination image buffer dst_end pointer to end of destination image buffer gb GetByteContext (optional, see below) pixel Fill color (optional, see below) count Pixel count x Pointer to x-axis counter width Image width linesize Destination image buffer linesize
- Returns
- non-zero if destination buffer is exhausted
a copy operation is achieved when 'gb' is set a fill operation is achieved when 'gb' is null and pixel is >= 0 a skip operation is achieved when 'gb' is null and pixel is < 0
Definition at line 76 of file libavcodec/anm.c.
Referenced by cdxl_decode_ham6(), cdxl_decode_ham8(), core_yuv420_rgb(), mxf_read_partition_pack(), oggvorbis_encode_frame(), and seqvideo_decode().
Variable Documentation
AVCodec ff_anm_decoder |
Definition at line 190 of file libavcodec/anm.c.
Generated on Fri Dec 20 2024 06:56:10 for FFmpeg by 1.8.11