Deluxe Paint Animation decoder.
Definition in file anm.c.
static int op |
( |
uint8_t ** |
dst, |
|
|
const uint8_t * |
dst_end, |
|
|
const uint8_t ** |
buf, |
|
|
const uint8_t * |
buf_end, |
|
|
int |
pixel, |
|
|
int |
count, |
|
|
int * |
x, |
|
|
int |
width, |
|
|
int |
linesize |
|
) |
| |
|
inlinestatic |
Perform decode operation.
- Parameters
-
dst,dst_end | Destination image buffer |
buf,buf_end | Source buffer (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 'buf' is set a fill operation is acheived when 'buf' is null and pixel is >= 0 a skip operation is acheived when 'buf' is null and pixel is < 0
Definition at line 74 of file anm.c.
Referenced by core_yuv420_rgb(), oggvorbis_encode_frame(), and seqvideo_decode().