PNG_MAP.C File Reference

Go to the source code of this file.

Typedefs

typedef struct SCREENBUFFER fullscreenbuffer

Functions

long ReadPng (char *filename, short info_only)
BOOL WINAPI DllMain (HANDLE hDLL, DWORD dwReason, LPVOID lpReserved)
void png_display_line (unsigned char *pbgr, long line)
BOOL _GetExternalImageSize (char *filename, long *x, long *y, unsigned char *source_buffer)
BOOL _GetExternalImage (char *filename, long x, long y, unsigned char *Red, unsigned char *Green, unsigned char *Blue, unsigned char *source_buffer)
long WritePng (char *, long, long, long, fullscreenbuffer *)
BOOL _PutExternalImage (char *filename, long x, long y, long quality, fullscreenbuffer *image)

Variables

int x_size
int y_size
unsigned char * R
unsigned char * G
unsigned char * B


Typedef Documentation

typedef struct SCREENBUFFER fullscreenbuffer


Function Documentation

long ReadPng ( char *  filename,
short  info_only 
)

BOOL WINAPI DllMain ( HANDLE  hDLL,
DWORD  dwReason,
LPVOID  lpReserved 
)

Definition at line 20 of file PNG_MAP.C.

References DLL_PROCESS_ATTACH, DLL_PROCESS_DETACH, hThisInstance, and TRUE.

void png_display_line ( unsigned char *  pbgr,
long  line 
)

Definition at line 33 of file PNG_MAP.C.

References B, G, R, and x_size.

BOOL _GetExternalImageSize ( char *  filename,
long *  x,
long *  y,
unsigned char *  source_buffer 
)

Definition at line 44 of file PNG_MAP.C.

References FALSE, ReadPng(), TRUE, x_size, and y_size.

BOOL _GetExternalImage ( char *  filename,
long  x,
long  y,
unsigned char *  Red,
unsigned char *  Green,
unsigned char *  Blue,
unsigned char *  source_buffer 
)

Definition at line 55 of file PNG_MAP.C.

References B, FALSE, G, R, ReadPng(), TRUE, x_size, and y_size.

long WritePng ( char *  ,
long  ,
long  ,
long  ,
fullscreenbuffer  
)

Referenced by _PutExternalImage().

BOOL _PutExternalImage ( char *  filename,
long  x,
long  y,
long  quality,
fullscreenbuffer image 
)

Definition at line 77 of file PNG_MAP.C.

References FALSE, and WritePng().


Variable Documentation

int x_size

Definition at line 10 of file PNG_MAP.C.

int y_size

Definition at line 10 of file PNG_MAP.C.

unsigned char* R

Definition at line 11 of file PNG_MAP.C.

unsigned char * G

Definition at line 11 of file PNG_MAP.C.

unsigned char * B

Definition at line 11 of file PNG_MAP.C.


Generated on Sun Apr 27 14:20:17 2014 for OpenFX by  doxygen 1.5.6