Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

readrasterheader.cc File Reference

#include <iostream>
#include <fstream>
#include <cstdlib>
#include <netinet/in.h>

Go to the source code of this file.

Classes

struct  header
struct  colormap

Defines

#define RAS_MAGIC   0x59a66a95
#define RT_OLD   0 /* Raw pixrect image in 68000 byte order */
#define RT_STANDARD   1 /* Raw pixrect image in 68000 byte order */
#define RT_BYTE_ENCODED   2 /* Run-length compression of bytes */
#define RT_FORMAT_RGB   3 /* XRGB or RGB instead of XBGR or BGR */
#define RT_FORMAT_TIFF   4 /* tiff <-> standard rasterfile */
#define RT_FORMAT_IFF   5 /* iff (TAAC format) <-> standard rasterfile */
#define RMT_RAW   2
#define RMT_NONE   0 /* ras_maplength is expected to be 0 */
#define RMT_EQUAL_RGB   1 /* red[ras_maplength/3],green[],blue[] */

Typedefs

typedef unsigned long ulong
typedef unsigned char uchar

Functions

int main (int argc, char *argv[])


Define Documentation

#define RAS_MAGIC   0x59a66a95
 

Definition at line 19 of file readrasterheader.cc.

#define RMT_EQUAL_RGB   1 /* red[ras_maplength/3],green[],blue[] */
 

Definition at line 51 of file readrasterheader.cc.

#define RMT_NONE   0 /* ras_maplength is expected to be 0 */
 

Definition at line 49 of file readrasterheader.cc.

#define RMT_RAW   2
 

Definition at line 47 of file readrasterheader.cc.

#define RT_BYTE_ENCODED   2 /* Run-length compression of bytes */
 

Definition at line 37 of file readrasterheader.cc.

#define RT_FORMAT_IFF   5 /* iff (TAAC format) <-> standard rasterfile */
 

Definition at line 43 of file readrasterheader.cc.

#define RT_FORMAT_RGB   3 /* XRGB or RGB instead of XBGR or BGR */
 

Definition at line 39 of file readrasterheader.cc.

#define RT_FORMAT_TIFF   4 /* tiff <-> standard rasterfile */
 

Definition at line 41 of file readrasterheader.cc.

#define RT_OLD   0 /* Raw pixrect image in 68000 byte order */
 

Definition at line 33 of file readrasterheader.cc.

#define RT_STANDARD   1 /* Raw pixrect image in 68000 byte order */
 

Definition at line 35 of file readrasterheader.cc.


Typedef Documentation

typedef unsigned char uchar
 

Definition at line 12 of file readrasterheader.cc.

Referenced by main(), makecmap(), makecmapmixed(), and rescale().

typedef unsigned long ulong
 

Definition at line 11 of file readrasterheader.cc.

Referenced by main().


Function Documentation

int main int  argc,
char *  argv[]
 

Definition at line 62 of file readrasterheader.cc.


Generated on Fri Apr 22 15:58:13 2005 for Doris by doxygen 1.3.6