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, else return error code.
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 code.
Definition at line 87 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, else return error code.
Definition at line 121 of file sgidec.c.
Referenced by decode_frame().
Initial value:
Definition at line 234 of file sgidec.c.