⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tvpclt.h

📁 ti的数字电视芯片 tvp9000的源码
💻 H
字号:
#ifndef TVP_CLT_DOT_H_IS_DEFINED
#define TVP_CLT_DOT_H_IS_DEFINED

/*********************************************************************************** 
*    Property of Texas Instruments Incorporated, Copyright 2004
*    All rights reserved
***********************************************************************************/

/***********************************************************************************
*
* Description:
*   public include file for the TvpClt module
*   It includes only the definitions that are needed for the API
*                                                                   
***********************************************************************************/
/***********************************************************************************
*
* $Revision: $
*
* $History: TvpClt.h $
* 
***********************************************************************************/

/***********************************************************************************
******************************** TYPEDEF DEFINES ***********************************
***********************************************************************************/

typedef unsigned long TvpHPalette;      // Palette Handler 
typedef unsigned long TvpOsdColor8888;  // Palette color type
typedef unsigned char TvpOsdCltOffset;  // Palette offset

/***********************************************************************************
****************************** STRUCTURES DEFINES **********************************
***********************************************************************************/ 

/***********************************************************************************
****************************** ENUMERATION DEFINES *********************************
***********************************************************************************/

typedef enum 
{                                                       
  TVP_PAL_1_BIT = 2,      // 2   colors for 1 bit palette  
  TVP_PAL_2_BIT = 4,      // 4   colors for 2 bit palette  
  TVP_PAL_4_BIT = 16,     // 16  colors for 4 bit palette  
  TVP_PAL_8_BIT = 256     // 256 colors for 8 bit palette  
} TvpOsdPaltype; // Describes all the possible palettes that are available

/***********************************************************************************
*********************************** API FUNCTIONS **********************************
***********************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif

extern TVP_FERROR tvpCltInit(void);
extern TVP_FERROR tvpCltQueryPaletteStorage(TvpBuffer *pBufApi);
extern TVP_FERROR tvpCltNewPalette(TvpOsdPaltype palType, TvpBuffer *pBufApi, TvpOsdColor8888 *pColorBuf, TvpHPalette *pPalette);
extern TVP_FERROR tvpCltDeletePalette(TvpHPalette hPalette);
extern TVP_FERROR tvpCltSetDisplayPalette(TvpHDisplay hDisplay, TvpHPalette hPalette, TvpOsdCltOffset clutOffset);
extern TVP_FERROR tvpCltGetDisplayPalette(TvpHDisplay hDisplay, TvpHPalette *pPalette);
extern TVP_FERROR tvpCltDeleteDisplayPalette(TvpHDisplay hDisplay);
extern TVP_FERROR tvpCltSetPaletteColors(TvpHPalette hPalette, TvpOsdColor8888 *pColors);
extern TVP_FERROR tvpCltGetPaletteColors(TvpHPalette hPalette, TvpOsdColor8888 *pColors);
extern TVP_FERROR tvpCltSetOneColor(TvpHPalette hPalette, TvpOsdColor8888 color, TvpOsdCltOffset index);
extern TVP_FERROR tvpCltGetOneColor(TvpHPalette hPalette, TvpOsdColor8888 *pColor, TvpOsdCltOffset index);
extern TVP_FERROR tvpCltGetPaletteType(TvpHPalette hPalette, TvpOsdPaltype *pPalType);
extern TVP_FERROR tvpCltGetPalTypeRequire(TvpHDisplay hDisplay, TvpOsdPaltype *pPalType); 

#ifdef __cplusplus
}
#endif

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -