Back to index

radiance  4R0+20100331
Classes | Defines
targa.h File Reference

Go to the source code of this file.

Classes

struct  hdStruct

Defines

#define IM_NODATA   0 /* no data included */
#define IM_CMAP   1 /* color-mapped */
#define IM_RGB   2 /* straight RGB */
#define IM_MONO   3 /* straight monochrome */
#define IM_CCMAP   9 /* compressed color-mapped */
#define IM_CRGB   10 /* compressed RGB */
#define IM_CMONO   11 /* compressed monochrome */
#define CM_NOMAP   0 /* no color map */
#define CM_HASMAP   1 /* has color map */
#define bits_bytes(n)   (((n)+7)>>3) /* number of bits to number of bytes */

Class Documentation

struct hdStruct

Definition at line 12 of file targa.h.

Class Members
char CMapBits
int dataBits
char dataType
int imType
int mapLength
int mapOrig
char mapType
char textSize
int x
int XOffset
int y
int YOffset

Define Documentation

#define bits_bytes (   n)    (((n)+7)>>3) /* number of bits to number of bytes */

Definition at line 39 of file targa.h.

#define CM_HASMAP   1 /* has color map */

Definition at line 37 of file targa.h.

#define CM_NOMAP   0 /* no color map */

Definition at line 36 of file targa.h.

#define IM_CCMAP   9 /* compressed color-mapped */

Definition at line 31 of file targa.h.

#define IM_CMAP   1 /* color-mapped */

Definition at line 28 of file targa.h.

#define IM_CMONO   11 /* compressed monochrome */

Definition at line 33 of file targa.h.

#define IM_CRGB   10 /* compressed RGB */

Definition at line 32 of file targa.h.

#define IM_MONO   3 /* straight monochrome */

Definition at line 30 of file targa.h.

#define IM_NODATA   0 /* no data included */

Definition at line 27 of file targa.h.

#define IM_RGB   2 /* straight RGB */

Definition at line 29 of file targa.h.