|
| static INLINE uint8_t | rtga__get8 (rtga__context *s) |
| |
| static void | rtga__skip (rtga__context *s, int n) |
| |
| static int | rtga__getn (rtga__context *s, uint8_t *buffer, int n) |
| |
| static int | rtga__get16le (rtga__context *s) |
| |
| static unsigned char * | rtga__convert_format (unsigned char *data, int img_n, int req_comp, unsigned int x, unsigned int y) |
| |
| static uint8_t * | rtga__tga_load (rtga__context *s, unsigned *x, unsigned *y, int *comp, int req_comp) |
| |
| static uint8_t * | rtga_load_from_memory (uint8_t const *buffer, int len, unsigned *x, unsigned *y, int *comp, int req_comp) |
| |
| int | rtga_process_image (rtga_t *rtga, void **buf_data, size_t size, unsigned *width, unsigned *height) |
| |
| bool | rtga_set_buf_ptr (rtga_t *rtga, void *data) |
| |
| void | rtga_free (rtga_t *rtga) |
| |
| rtga_t * | rtga_alloc (void) |
| |