0.3.1
tga.h File Reference

Data Structures

struct  tga_t
 Not yet documented. More...
 
struct  tga_t.tga_options
 User modifiable. More...
 

Macros

#define TGA_FILE_OK   0
 Not yet documented.
 
#define TGA_FILE_UNKNOWN_FORMAT   -1
 Not yet documented.
 
#define TGA_FILE_CORRUPTED   -2
 Not yet documented.
 
#define TGA_FILE_NOT_SUPPORTED   -3
 Not yet documented.
 
#define TGA_MEMORY_ERROR   -4
 Not yet documented.
 
#define TGA_MEMORY_UNALIGNMENT_ERROR   -5
 Not yet documented.
 
#define TGA_IMAGE_TYPE_NONE   0
 Not yet documented.
 
#define TGA_IMAGE_TYPE_CMAP   1
 Not yet documented.
 
#define TGA_IMAGE_TYPE_TRUE_COLOR   2
 Not yet documented.
 
#define TGA_IMAGE_TYPE_GRAYSCALE   3
 Not yet documented.
 
#define TGA_IMAGE_TYPE_RLE_CMAP   9
 Not yet documented.
 
#define TGA_IMAGE_TYPE_RLE_TRUE_COLOR   10
 Not yet documented.
 
#define TGA_IMAGE_TYPE_RLE_GRAYSCALE   11
 Not yet documented.
 

Functions

int32_t tga_read (tga_t *tga, const uint8_t *file)
 Not yet documented.
 
int32_t tga_image_decode_tiled (const tga_t *tga, void *dst)
 Not yet documented.
 
int32_t tga_image_decode (const tga_t *tga, void *dst)
 Not yet documented.
 
int32_t tga_cmap_decode (const tga_t *tga, uint16_t *dst)
 Not yet documented.
 
const char * tga_error_stringify (int error)
 Not yet documented.