srgb.h
上传用户:poi891205
上传日期:2013-07-15
资源大小:9745k
文件大小:3k
- /**************************************************************************
- * *
- * Copyright (c) 2002 by Sunplus Technology Co., Ltd. *
- * *
- * This software is copyrighted by and is the property of Sunplus *
- * Technology Co., Ltd. All rights are reserved by Sunplus Technology *
- * Co., Ltd. This software may only be used in accordance with the *
- * corresponding license agreement. Any unauthorized use, duplication, *
- * distribution, or disclosure of this software is expressly forbidden. *
- * *
- * This Copyright notice MUST not be removed or modified without prior *
- * written consent of Sunplus Technology Co., Ltd. *
- * *
- * Sunplus Technology Co., Ltd. reserves the right to modify this *
- * software without notice. *
- * *
- * Sunplus Technology Co., Ltd. *
- * 19, Innovation First Road, Science-Based Industrial Park, *
- * Hsin-Chu, Taiwan, R.O.C. *
- **************************************************************************/
- /*--------------------------------------------------------------------------
- | File Name : srgb.h
- |
- | Description : 8202 Serial RGB interface
- |
- | Version : 0.1
- |
- |
- | Rev Date Author(s) Status & Comments
- |---------------------------------------------------------------------------------
- | 0.1 2005/1/5 wthsin Creating
- |--------------------------------------------------------------------------------*/
- #include "config.h"
- #include "regmap.h"
-
- #ifdef SERIAL_RGB
- #define SRGB_OFF 0
- #define SRGB_ON 1
- #define UPS051 0
- #define UPS052 1
- #define PANEL_MODE_280 0
- #define PANEL_MODE_480 1
- #define PANEL_MODE_528 2
- #define PANEL_MODE_960 3
- #define PANEL_MODE_1152 4
- #define PANEL_MODE_1440 5
- extern void SetSRGB_MODE(UINT32 );
- extern void SRGB_Output_Switch(UINT32 ,UINT32 );
- extern void setSRGB_para(UINT8 ,UINT8 ,UINT8 ,UINT8 ,UINT8 ,UINT8 );
- void SRGB_HV ( UINT32 , UINT8 );
-
- #endif //#ifdef SERIAL_RGB