Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

colorspace.h

Go to the documentation of this file.
00001 
00020 /*
00021  * $Id: colorspace.h,v 1.8.2.3 2006/06/05 09:03:48 xwyan Exp $
00022  *
00023  *             MiniGUI for Linux/uClinux, eCos, uC/OS-II, VxWorks, 
00024  *                     pSOS, ThreadX, NuCleus, OSE, and Win32 version 1.6.x
00025  *             Copyright (C) 2002-2006 Feynman Software.
00026  *             Copyright (C) 1998-2002 Wei Yongming.
00027  */
00028 
00029 #ifndef _MGUI_COLORSPACE_H
00030 #define _MGUI_COLORSPACE_H
00031 
00032 
00033 #ifdef __cplusplus
00034 extern "C" {
00035 #endif  /* __cplusplus */
00036 
00037 #ifdef _USE_NEWGAL
00038 
00074 void RGB2HSV (Uint8 r, Uint8 g, Uint8 b, 
00075                 Uint16 *hout, Uint8 *sout, Uint8 *vout);
00076 
00101 void HSV2RGB (Uint16 hin, Uint8 sin, Uint8 vin, 
00102                 Uint8 *rout, Uint8 *gout, Uint8 *bout);
00103 
00125 void YUV2RGB (int y, int u, int v, Uint8 *r, Uint8 *g, Uint8 *b);
00126 
00144 MG_EXPORT void RGB2YUV (Uint8 r, Uint8 g, Uint8 b, int *y, int *u, int *v);
00145 
00150 #endif /* _USE_NEWGAL */
00151 
00152 #ifdef __cplusplus
00153 }
00154 #endif  /* __cplusplus */
00155 
00156 #endif /* _MGUI_COLORSPACE_H */
00157 
00158 

Generated on Mon Jun 26 13:54:27 2006 for MiniGUI V1.6.9 API Reference by  doxygen 1.4.2