#include "pnmFileTypeBMP.h"
#include "config_pnmimagetypes.h"
#include "pnmImage.h"
#include "pnmWriter.h"
#include "bmp.h"
#include "ppmcmap.h"
#include "pnmbitio.h"
Go to the source code of this file.
Defines | |
#define | MAXCOLORS 256 |
Functions | |
void | PutByte (ostream *fp, char v) |
void | PutShort (ostream *fp, short v) |
void | PutLong (ostream *fp, long v) |
int | BMPwritefileheader (ostream *fp, int classv, unsigned long bitcount, unsigned long x, unsigned long y) |
int | BMPwriteinfoheader (ostream *fp, int classv, unsigned long bitcount, unsigned long x, unsigned long y) |
int | BMPwritergb (ostream *fp, int classv, pixval R, pixval G, pixval B) |
int | BMPwritergbtable (ostream *fp, int classv, int bpp, int colors, pixval *R, pixval *G, pixval *B) |
int | colorstobpp (int colors) |
void | BMPEncode (ostream *fp, int classv, int x, int y, pixel **pixels, int colors, colorhash_table cht, pixval *R, pixval *G, pixval *B) |
int | BMPwriterow (ostream *fp, pixel *row, unsigned long cx, unsigned short bpp, int indexed, colorhash_table cht) |
int | BMPwritebits (ostream *fp, unsigned long cx, unsigned long cy, unsigned short cBitCount, pixel **pixels, int indexed, colorhash_table cht) |
void | BMPEncode24 (ostream *fp, int classv, int x, int y, pixel **pixels) |
Variables | |
char | er_write [] = "stdout: write error" |
Definition in file pnmFileTypeBMPWriter.cxx.
|
Definition at line 50 of file pnmFileTypeBMPWriter.cxx. Referenced by PNMFileTypeBMP::Writer::Writer(). |
|
Definition at line 402 of file pnmFileTypeBMPWriter.cxx. References bmp_bpp, BMPlenfile(), BMPlenfileheader(), BMPleninfoheader(), BMPlenrgbtable(), BMPwritebits(), BMPwritefileheader(), BMPwriteinfoheader(), BMPwritergbtable(), colorstobpp(), pm_error(), x, and y. |
|
Definition at line 477 of file pnmFileTypeBMPWriter.cxx. References BMPlenfile(), BMPlenfileheader(), BMPleninfoheader(), BMPwritebits(), BMPwritefileheader(), BMPwriteinfoheader(), colorhash_table, pm_error(), x, and y. |
|
Definition at line 328 of file pnmFileTypeBMPWriter.cxx. References BMPwriterow(), pm_error(), and y. Referenced by BMPEncode(), and BMPEncode24(). |
|
Definition at line 113 of file pnmFileTypeBMPWriter.cxx. References BMPlenfile(), BMPoffbits(), PutByte(), PutLong(), PutShort(), x, and y. Referenced by BMPEncode(), and BMPEncode24(). |
|
Definition at line 142 of file pnmFileTypeBMPWriter.cxx. References C_OS2, C_WIN, pm_error(), PutLong(), PutShort(), x, and y. Referenced by BMPEncode(), and BMPEncode24(). |
|
Definition at line 206 of file pnmFileTypeBMPWriter.cxx. References C_OS2, C_WIN, pm_error(), and PutByte(). Referenced by BMPwritergbtable(). |
|
Definition at line 236 of file pnmFileTypeBMPWriter.cxx. References BMPwritergb(). Referenced by BMPEncode(). |
|
Definition at line 268 of file pnmFileTypeBMPWriter.cxx. References pm_bitfini(), pm_bitinit(), pm_bitwrite(), PPM_GETB, PPM_GETG, PPM_GETR, ppm_lookupcolor(), PutByte(), and x. Referenced by BMPwritebits(). |
|
Definition at line 377 of file pnmFileTypeBMPWriter.cxx. References pm_error(). Referenced by BMPEncode(). |
|
Definition at line 73 of file pnmFileTypeBMPWriter.cxx. References er_write, and pm_error(). Referenced by BMPwritefileheader(), BMPwritergb(), and BMPwriterow(). |
|
Definition at line 95 of file pnmFileTypeBMPWriter.cxx. References er_write, pm_error(), and pm_writelittlelong(). Referenced by BMPwritefileheader(), and BMPwriteinfoheader(). |
|
Definition at line 84 of file pnmFileTypeBMPWriter.cxx. References er_write, pm_error(), and pm_writelittleshort(). Referenced by BMPwritefileheader(), and BMPwriteinfoheader(). |
|
Definition at line 56 of file pnmFileTypeBMPWriter.cxx. Referenced by PutByte(), PutLong(), and PutShort(). |