c_color_space.h
资源名称:视频会议系统.rar [点击查看]
上传用户:popouu88
上传日期:2013-02-11
资源大小:2894k
文件大小:3k
源码类别:
IP电话/视频会议
开发平台:
Visual C++
- // c_color_space.h: interface for the c_color_space class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_C_COLOR_SPACE_H__FFB77981_6692_4ED0_BAD3_7677182DE8BF__INCLUDED_)
- #define AFX_C_COLOR_SPACE_H__FFB77981_6692_4ED0_BAD3_7677182DE8BF__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- class c_color_space
- {
- public:
- c_color_space( );
- virtual ~c_color_space( );
- public:
- /*RGB555*/
- static void __stdcall rgb555_to_rgb555(void* d,void* s,unsigned int l);
- static void __stdcall rgb555_to_bgr555(void* d,void* s,unsigned int l);
- static void __stdcall rgb555_to_rgb565(void* d,void* s,unsigned int l);
- static void __stdcall rgb555_to_bgr565(void* d,void* s,unsigned int l);
- static void __stdcall rgb555_to_rgb888(void* d,void* s,unsigned int l);
- static void __stdcall rgb555_to_bgr888(void* d,void* s,unsigned int l);
- static void __stdcall rgb555_to_rgb8888(void* d,void* s,unsigned int l);
- static void __stdcall rgb555_to_bgr8888(void* d,void* s,unsigned int l);
- /*RGB565*/
- static void __stdcall rgb565_to_rgb555(void* d,void* s,unsigned int l);
- static void __stdcall rgb565_to_bgr555(void* d,void* s,unsigned int l);
- static void __stdcall rgb565_to_rgb565(void* d,void* s,unsigned int l);
- static void __stdcall rgb565_to_bgr565(void* d,void* s,unsigned int l);
- static void __stdcall rgb565_to_rgb888(void* d,void* s,unsigned int l);
- static void __stdcall rgb565_to_bgr888(void* d,void* s,unsigned int l);
- static void __stdcall rgb565_to_rgb8888(void* d,void* s,unsigned int l);
- static void __stdcall rgb565_to_bgr8888(void* d,void* s,unsigned int l);
- /*RGB888*/
- static void __stdcall rgb888_to_rgb555(void* d,void* s,unsigned int l);
- static void __stdcall rgb888_to_bgr555(void* d,void* s,unsigned int l);
- static void __stdcall rgb888_to_rgb565(void* d,void* s,unsigned int l);
- static void __stdcall rgb888_to_bgr565(void* d,void* s,unsigned int l);
- static void __stdcall rgb888_to_rgb888(void* d,void* s,unsigned int l);
- static void __stdcall rgb888_to_bgr888(void* d,void* s,unsigned int l);
- static void __stdcall rgb888_to_rgb8888(void* d,void* s,unsigned int l);
- static void __stdcall rgb888_to_bgr8888(void* d,void* s,unsigned int l);
- /*RGB8888*/
- static void __stdcall rgb8888_to_rgb555(void* d,void* s,unsigned int l);
- static void __stdcall rgb8888_to_bgr555(void* d,void* s,unsigned int l);
- static void __stdcall rgb8888_to_rgb565(void* d,void* s,unsigned int l);
- static void __stdcall rgb8888_to_bgr565(void* d,void* s,unsigned int l);
- static void __stdcall rgb8888_to_rgb888(void* d,void* s,unsigned int l);
- static void __stdcall rgb8888_to_bgr888(void* d,void* s,unsigned int l);
- static void __stdcall rgb8888_to_rgb8888(void* d,void* s,unsigned int l);
- static void __stdcall rgb8888_to_bgr8888(void* d,void* s,unsigned int l);
- /*YUV*/
- //wait!!
- /*YUV2*/
- //wait!!
- /*HSV*/
- //wait!!
- /*others*/
- static void __stdcall zero_memory(void* d,unsigned int l);
- static void __stdcall memory_copy(void* d,void* s,unsigned int l);
- static void __stdcall flip_bmp(void* s,int w,int h,int c);
- static void __stdcall mirror_bmp(void* s,int w,int h,int c);
- };
- #endif // !defined(AFX_C_COLOR_SPACE_H__FFB77981_6692_4ED0_BAD3_7677182DE8BF__INCLUDED_)