![]() |
Utah Raster Toolkit
9999-git
URT Development version (post-3.1b)
|
Go to the source code of this file.
Data Structures | |
| struct | targafile |
Macros | |
| #define | HEADSIZE 18 |
| #define | GETSHORT(N) (((unsigned short)(*(N+1))<<8) + (unsigned short)(*(N))) |
Functions | |
| void | targa_getrow () |
| void | init_comp () |
| unsigned char | getbyte () |
| void | main (int argc, argv) |
Variables | |
| unsigned char * | outrows [4] |
| unsigned char * | redline |
| unsigned char * | grnline |
| unsigned char * | bluline |
| unsigned char * | alfline |
| FILE * | infile |
| int | bwimage =0 |
| int | truecolor =0 |
| int | cmapped =0 |
| int | rlcomp =0 |
| int | nchannels |
| int | cmapbytes |
| int | pixwidth |
| struct targafile | tga_head |
| int | havedata =0 |
| int | rlcount |
| int | bufinx |
| unsigned char | rlbuf [4 *128] |
Definition at line 78 of file targatorle.c.
| #define HEADSIZE 18 |
Definition at line 77 of file targatorle.c.
| unsigned char getbyte | ( | ) |
| void init_comp | ( | ) |
Definition at line 456 of file targatorle.c.
References havedata.
| void main | ( | int | argc, |
| argv | |||
| ) |
Definition at line 123 of file targatorle.c.
| void targa_getrow | ( | ) |
Definition at line 410 of file targatorle.c.
References alfline, bluline, grnline, targafile::image_width, pixwidth, redline, and tga_head.
| unsigned char * alfline |
Definition at line 101 of file targatorle.c.
Referenced by targa_getrow().
| unsigned char * bluline |
Definition at line 101 of file targatorle.c.
Referenced by targa_getrow().
| int bufinx |
Definition at line 115 of file targatorle.c.
Referenced by getbyte().
| int bwimage =0 |
Definition at line 104 of file targatorle.c.
| int cmapbytes |
Definition at line 109 of file targatorle.c.
| int cmapped =0 |
Definition at line 106 of file targatorle.c.
| unsigned char * grnline |
Definition at line 101 of file targatorle.c.
Referenced by targa_getrow().
| int havedata =0 |
Definition at line 113 of file targatorle.c.
Referenced by getbyte(), and init_comp().
| FILE* infile |
Definition at line 102 of file targatorle.c.
Referenced by getbyte().
| int nchannels |
Definition at line 108 of file targatorle.c.
| unsigned char* outrows[4] |
Definition at line 100 of file targatorle.c.
| int pixwidth |
Definition at line 110 of file targatorle.c.
Referenced by getbyte(), and targa_getrow().
| unsigned char* redline |
Definition at line 101 of file targatorle.c.
Referenced by targa_getrow().
| unsigned char rlbuf[4 *128] |
Definition at line 116 of file targatorle.c.
Referenced by getbyte().
| int rlcomp =0 |
Definition at line 107 of file targatorle.c.
Referenced by getbyte().
| int rlcount |
Definition at line 114 of file targatorle.c.
Referenced by getbyte().
| struct targafile tga_head |
Definition at line 111 of file targatorle.c.
Referenced by targa_getrow().
| int truecolor =0 |
Definition at line 105 of file targatorle.c.
1.8.10