Go to the source code of this file.
PCX image encoder
- Author
- Daniel Verkamp
- See also
- http://bespin.org/~qz/pc-gpe/pcx.txt
Definition in file pcxenc.c.
◆ pcx_rle_encode()
static int pcx_rle_encode |
( |
uint8_t * |
dst, |
|
|
int |
dst_size, |
|
|
const uint8_t * |
src, |
|
|
int |
src_plane_size, |
|
|
int |
nplanes |
|
) |
| |
|
static |
PCX run-length encoder.
- Parameters
-
dst | output buffer |
dst_size | size of output buffer |
src | input buffer |
src_plane_size | size of one plane of input buffer in bytes |
nplanes | number of planes in input buffer |
- Returns
- number of bytes written to dst or -1 on error
- Bug:
- will not work for nplanes != 1 && bpp != 8
Definition at line 47 of file pcxenc.c.
Referenced by pcx_encode_frame().
◆ pcx_encode_frame()
◆ monoblack_pal
const uint32_t monoblack_pal[16] = { 0x000000, 0xFFFFFF } |
|
static |
◆ ff_pcx_encoder
Initial value:= {
.p.name = "pcx",
},
}
Definition at line 195 of file pcxenc.c.