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

y:/PUC/Realidade Virtual/trabalhos/raclib/src/racutil.h

Go to the documentation of this file.
00001 #ifndef __RACUTIL_H
00002 #define __RACUTIL_H
00003 
00004 #ifndef BYTE
00005 #define BYTE unsigned char
00006 #endif
00007 
00009 void racRGB2Lum(int width, int height, BYTE *r, BYTE *g, BYTE *b, BYTE *l);
00010 
00012 void racRGB2Lum(int width, int height, BYTE *rbg, BYTE *l);
00013 
00015 void racBGR2Lum(int width, int height, BYTE *bgr, BYTE *l);
00016 
00018 void racBGR2Gray(int width, int height, BYTE *bgr, BYTE *l);
00019 
00021 void racBGR2LLL(int width, int height, BYTE *bgr, BYTE *l);
00022 
00024 void racBGR2GGG(int width, int height, BYTE *bgr, BYTE *l);
00025 
00027 void racSaveImg(int width, int height, BYTE *imgSrc, char *filename);
00028 
00030 void racSaveImg(int width, int height, BYTE *r, BYTE *g , BYTE *b, char *filename);
00031 
00032 #endif

Generated on Fri Dec 12 10:47:25 2003 for RacLib by doxygen 1.3.4