/************************************************************************ | |
* °æÈ¨ËùÓÐ(C)2007,ÖÐÐËͨѶ¹É·ÝÓÐÏÞ¹«Ë¾¡£ | |
* Ä£¿éÃû £º OSD²Ù×÷Ä£¿é | |
* ÎļþÃû³Æ£º zte_osd.h | |
* Îļþ±êʶ£º | |
* ÄÚÈÝÕªÒª£º ´ËÎļþÊÇMSP¶ÔÍâÌṩµÄÍ·Îļþ | |
* | |
* ÐÞ¸ÄÈÕÆÚ °æ±¾ºÅ Ð޸ıê¼Ç ÐÞ¸ÄÈË ÐÞ¸ÄÄÚÈÝ | |
* ---------------------------------------------------------------------- | |
* 2009/3/25 1.0 ³ÂÓÐöÎ | |
************************************************************************/ | |
#ifndef ZTE_OSD_H | |
#define ZTE_OSD_H | |
#ifdef __cplusplus | |
extern "C" | |
{ | |
#endif | |
/************************************************************************** | |
* Í·Îļþ°üº¬ * | |
**************************************************************************/ | |
//#include "pub.h" | |
/************************************************************************** | |
* ³£Á¿ * | |
**************************************************************************/ | |
/************************************************************************** | |
* ºê¶¨Òå * | |
**************************************************************************/ | |
/************************************************************************** | |
* Êý¾ÝÀàÐÍ * | |
**************************************************************************/ | |
/************************************************************************** | |
* ÀàÉùÃ÷ £¨¶ÔÓÚCÓïÑÔµÄÍ·Îļþ£¬¿É²Ã¼ô£© * | |
**************************************************************************/ | |
/************************************************************************** | |
* Ä£°å £¨¶ÔÓÚCÓïÑÔµÄÍ·Îļþ£¬¿É²Ã¼ô£© * | |
**************************************************************************/ | |
/************************************************************************** | |
* È«¾Ö±äÁ¿ÉùÃ÷ * | |
**************************************************************************/ | |
/************************************************************************** | |
* È«¾Öº¯ÊýÔÐÍ * | |
**************************************************************************/ | |
/** | |
* º¯ÊýÃû³Æ£º Zte_SetTransformColor | |
* ¹¦ÄÜÃèÊö£º OSDÄ£¿é͸Ã÷É«ºÍ͸Ã÷¶ÈÉèÖà | |
* ²ÎÊý˵Ã÷£º (IN) uiTransColoor: ͸Ã÷É« | |
uiAlpha : ͸Ã÷¶È | |
* ·µ »Ø Öµ£º ÎÞ | |
* ÆäËü˵Ã÷£º ÎÞ | |
*/ | |
VOID Zte_SetLcdFd(UINT32 uiLcdFd); | |
/** | |
* º¯ÊýÃû³Æ£º Zte_SetTransformColor | |
* ¹¦ÄÜÃèÊö£º OSDÄ£¿é͸Ã÷É«ºÍ͸Ã÷¶ÈÉèÖà | |
* ²ÎÊý˵Ã÷£º (IN) uiTransColoor: ͸Ã÷É« | |
uiAlpha : ͸Ã÷¶È | |
* ·µ »Ø Öµ£º ÎÞ | |
* ÆäËü˵Ã÷£º ÎÞ | |
*/ | |
VOID Zte_SetTransformColor(UINT16 uiTransColoor, UINT8 uiAlpha); | |
/** | |
* º¯ÊýÃû³Æ£º Zte_SetScreenSize | |
* ¹¦ÄÜÃèÊö£º ÉèÖÃÆÁÄ»¿í¸ß | |
* ²ÎÊý˵Ã÷£º (IN) uiWidth : ¿í¶È | |
uiHeight: ¸ß¶È | |
* ·µ »Ø Öµ£º ÎÞ | |
* ÆäËü˵Ã÷£º ÎÞ | |
*/ | |
VOID Zte_SetScreenSize(UINT32 uiWidth, UINT32 uiHeight); | |
/** | |
* º¯ÊýÃû³Æ£º Zte_GuiDestroyUpdateScreenThread | |
* ¹¦ÄÜÃèÊö£º ³õʼ»¯Ê±´´½¨µÄË¢ÐÂÏß³ÌµÄ½Ó¿Ú | |
* ²ÎÊý˵Ã÷£º (IN) priority ÐèÒª´´½¨Ï̵߳ÄÓÅÏȼ¶ | |
* (IN) stack_size ÐèÒªµÄÕ»¿Õ¼ä´óС | |
* (IN) LcdFd LCDµÄÉ豸¾ä±ú | |
* (IN) pBuffer LCDµÄÉ豸ÏÔ´æ | |
* ·µ »Ø Öµ£º BOOL FALSE: ´´½¨Ê§°ÜºÍÈë²Î´íÎó | |
* TRUE: ´´½¨³É¹¦ | |
* ÆäËü˵Ã÷£º Õâ¸öº¯ÊýÔÚGUI³õʼ»¯Ê±µ÷Ó㬵«ÒªÔڳɹ¦´ò¿ªLCDÉ豸֮ºó£¬¾Í·ÅÔÚsystem_initializeº¯ÊýµÄ×îºóÃæ | |
*/ | |
BOOL Zte_GuiCreateUpdateScreenThread(UINT32 priority, UINT32 stack_size, VOID *pBuffer); | |
/** | |
* º¯ÊýÃû³Æ£º Zte_GuiUpdateScreenRect | |
* ¹¦ÄÜÃèÊö£º GUIË¢ÆÁ֪ͨº¯Êý | |
* ²ÎÊý˵Ã÷£º (IN) left ¾Ö²¿Ë¢ÐÂµÄÆðʼx×ø±ê | |
* (IN) top ¾Ö²¿Ë¢ÐÂµÄÆðʼy×ø±ê | |
* (IN) right ¾Ö²¿Ë¢ÐµÄÖÕÖ¹x×ø±ê | |
* (IN) bottom ¾Ö²¿Ë¢ÐµÄÖÕÖ¹y×ø±ê | |
* (IN) pAlphaTable ÓÉMMIÉèÖõÄ͸Ã÷¶È±í£¬´óСΪ240*320¡£Ö»ÓÐÔÚOSD״̬ÏÂÓÐЧ | |
* Õý³£×´Ì¬Îª¿Õ | |
* ·µ »Ø Öµ£º ÎÞ | |
* ÆäËü˵Ã÷£º Õâ¸öº¯ÊýÔÚprimaryUpdateRegionÖÐʹÓÃ,Ìæ»»µô֮ǰˢÆÁµÄ²¿·Ö. | |
*/ | |
VOID Zte_GuiUpdateScreenRect(UINT32 left, UINT32 top, UINT32 right, UINT32 bottom, unsigned char *pAlphaTable); | |
#ifdef __cplusplus | |
} | |
#endif | |
#endif | |