|
Tachyon (current)
Current Main Branch
|
Go to the source code of this file.
Functions | |
| int | createtgafile (char *, unsigned short, unsigned short) |
| void * | opentgafile (char *) |
| void | writetgaregion (void *, int, int, int, int, unsigned char *) |
| void | closetgafile (void *) |
| int | readtga (char *name, int *xres, int *yres, unsigned char **imgdata) |
| int | writetga (char *name, int xres, int yres, unsigned char *imgdata) |
| void closetgafile | ( | void * | ) |
| int createtgafile | ( | char * | , |
| unsigned | short, | ||
| unsigned | short | ||
| ) |
Definition at line 29 of file tgafile.c.
References IMAGENOERR, IMAGEWRITEERR, MSG_ABORT, MSG_ERR, and rt_ui_message().
Referenced by writetga().
| void* opentgafile | ( | char * | ) |
Definition at line 75 of file tgafile.c.
References tgahandle::height, MSG_ABORT, MSG_ERR, tgahandle::ofp, rt_ui_message(), and tgahandle::width.
Referenced by writetga().
| int readtga | ( | char * | name, |
| int * | xres, | ||
| int * | yres, | ||
| unsigned char ** | imgdata | ||
| ) |
Definition at line 182 of file tgafile.c.
References IMAGEBADFILE, IMAGENOERR, IMAGEREADERR, and IMAGEUNSUP.
Referenced by readimage().
| int writetga | ( | char * | name, |
| int | xres, | ||
| int | yres, | ||
| unsigned char * | imgdata | ||
| ) |
Definition at line 260 of file tgafile.c.
References closetgafile(), createtgafile(), IMAGENOERR, IMAGEWRITEERR, opentgafile(), and writetgaregion().
Referenced by writeimage().
| void writetgaregion | ( | void * | , |
| int | , | ||
| int | , | ||
| int | , | ||
| int | , | ||
| unsigned char * | |||
| ) |
Definition at line 97 of file tgafile.c.
References tgahandle::height, MSG_ERR, tgahandle::ofp, rt_ui_message(), and tgahandle::width.
Referenced by writetga().
1.8.14