Go to the source code of this file.
Expand an RLE row into a channel.
- Parameters
-
s | the current image state |
out_buf | Points to one line after the output buffer. |
out_end | end of line in output buffer |
pixelstride | pixel stride of input buffer |
- Returns
- size of output in bytes, -1 if buffer overflows
Definition at line 46 of file sgidec.c.
Referenced by read_rle_sgi().
Read a run length encoded SGI image.
- Parameters
-
out_buf | output buffer |
s | the current image state |
- Returns
- 0 if no error, else return error number.
Definition at line 86 of file sgidec.c.
Referenced by decode_frame().
static int read_uncompressed_sgi |
( |
unsigned char * |
out_buf, |
|
|
SgiState * |
s |
|
) |
| |
|
static |
Read an uncompressed SGI image.
- Parameters
-
out_buf | output buffer |
s | the current image state |
- Returns
- 0 if read success, otherwise return -1.
Definition at line 120 of file sgidec.c.
Referenced by decode_frame().
Initial value:
Definition at line 235 of file sgidec.c.