00001 #ifndef COLORH 00002 #define COLORH 00003 00004 #include "type.h" 00005 #include "ssd192X.h" 00006 00007 UINT16 Get16bitColor(SSDRGBAType *pc); 00008 UINT16 Get16bitColorRGB(UINT8 r, UINT8 g, UINT8 b); 00009 00010 UINT8 GetRedFrom16bitColor(UINT16 c); 00011 UINT8 GetGreenFrom16bitColor(UINT16 c); 00012 UINT8 GetBlueFrom16bitColor(UINT16 c); 00013 00014 void Rgb2JpegYcbcr(UINT8 *Y, UINT8 *Cb, UINT8 *Cr, UINT8 R, UINT8 G, UINT8 B); 00015 00016 #endif