|
static void | dword_write_be (uint8_t *buf, uint32_t val) |
|
static bool | png_write_crc (RFILE *file, const uint8_t *data, size_t size) |
|
static bool | png_write_ihdr (RFILE *file, const struct png_ihdr *ihdr) |
|
static bool | png_write_idat (RFILE *file, const uint8_t *data, size_t size) |
|
static bool | png_write_iend (RFILE *file) |
|
static void | copy_argb_line (uint8_t *dst, const uint32_t *src, unsigned width) |
|
static void | copy_bgr24_line (uint8_t *dst, const uint8_t *src, unsigned width) |
|
static unsigned | count_sad (const uint8_t *data, size_t size) |
|
static unsigned | filter_up (uint8_t *target, const uint8_t *line, const uint8_t *prev, unsigned width, unsigned bpp) |
|
static unsigned | filter_sub (uint8_t *target, const uint8_t *line, unsigned width, unsigned bpp) |
|
static unsigned | filter_avg (uint8_t *target, const uint8_t *line, const uint8_t *prev, unsigned width, unsigned bpp) |
|
static unsigned | filter_paeth (uint8_t *target, const uint8_t *line, const uint8_t *prev, unsigned width, unsigned bpp) |
|
static bool | rpng_save_image (const char *path, const uint8_t *data, unsigned width, unsigned height, unsigned pitch, unsigned bpp) |
|
bool | rpng_save_image_argb (const char *path, const uint32_t *data, unsigned width, unsigned height, unsigned pitch) |
|
bool | rpng_save_image_bgr24 (const char *path, const uint8_t *data, unsigned width, unsigned height, unsigned pitch) |
|