Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

panda/src/pnmimagetypes/pnmFileTypeSGIWriter.cxx File Reference

#include "pnmFileTypeSGI.h"
#include "config_pnmimagetypes.h"
#include "sgi.h"
#include "pnmImage.h"
#include "pnmWriter.h"

Go to the source code of this file.

Defines

#define WORSTCOMPR(x)   (2*(x) + 2)
#define MAXVAL_BYTE   255
#define MAXVAL_WORD   65535

Functions

void put_byte (ostream *out_file, unsigned char b)
void put_big_short (ostream *out_file, short s)
void put_big_long (ostream *out_file, long l)
void put_short_as_byte (ostream *out_file, short s)


Detailed Description

Definition in file pnmFileTypeSGIWriter.cxx.


Define Documentation

#define MAXVAL_BYTE   255
 

Definition at line 55 of file pnmFileTypeSGIWriter.cxx.

#define MAXVAL_WORD   65535
 

Definition at line 56 of file pnmFileTypeSGIWriter.cxx.

#define WORSTCOMPR x   )     (2*(x) + 2)
 

Definition at line 52 of file pnmFileTypeSGIWriter.cxx.


Function Documentation

void put_big_long ostream *  out_file,
long  l
[static]
 

Definition at line 71 of file pnmFileTypeSGIWriter.cxx.

void put_big_short ostream *  out_file,
short  s
[static]
 

Definition at line 64 of file pnmFileTypeSGIWriter.cxx.

void put_byte ostream *  out_file,
unsigned char  b
[inline]
 

Definition at line 59 of file pnmFileTypeSGIWriter.cxx.

References pm_error(), and pm_writebigshort().

void put_short_as_byte ostream *  out_file,
short  s
[static]
 

Definition at line 78 of file pnmFileTypeSGIWriter.cxx.


Generated on Fri May 2 00:46:08 2003 for Panda by doxygen1.3