📄 tvpclt_fw.h
字号:
#ifndef TVP_CLT_FW_DOT_H_IS_DEFINED
#define TVP_CLT_FW_DOT_H_IS_DEFINED
/***********************************************************************************
* Property of Texas Instruments Incorporated, Copyright 2004
* All rights reserved
***********************************************************************************/
/***********************************************************************************
*
* Description:
* private include file for the clt module
* It includes only the definitions that are needed for the API
*
***********************************************************************************/
/***********************************************************************************
*
* $Revision: $
*
* $History: TvpClt_fw.h $
*
***********************************************************************************/
/***********************************************************************************
******************************* CONSTANTS DEFINES **********************************
***********************************************************************************/
#define TVP_MAXCOLORS 256 // Max number of entries in the CLUT
#define TVP_DEFAULT_COLOR_RGB24 0x000000 // Default color: black
#define TVP_DEFAULT_COLOR_YCBCR 0x108080 // Default color: black
#define TVP_FULL_CLUT 0x100 // Indicates that the 256 entries have to be reloaded
/***********************************************************************************
******************************* GLOBAL VARIABLES ***********************************
***********************************************************************************/
extern Tvp_On_Off loadCurFlag; // Flag for ISR
/***********************************************************************************
****************************** TYPEDEF DEFINES *************************************
***********************************************************************************/
typedef unsigned short OSDCltOffsetExt;
/***********************************************************************************
****************************** ENUMERATION DEFINES *********************************
***********************************************************************************/
typedef enum {
TVP_CLT_SM = 0, // CLT semaphore
TVP_HDM_SM = 1 // HDM semaphore
} Tvp_Sm_type; // Semaphore type
typedef enum
{
TVP_CLUT1 = 0, // CLUT#1: default window
TVP_CLUT2 = (1 << 8) // CLUT#2: default region
} TvpClutNumber; // CLUT number
/***********************************************************************************
************************* INTERNAL STRUCTURES DEFINES ******************************
***********************************************************************************/
typedef struct TvpOsdPalette
{
TvpOsdCltOffset clutOffset; // CLUT offset
unsigned short regionNumber; // Number of regions associed with the palette
unsigned short virtualNumber; // Number of virtual displays associed with the palette
TvpOsdPaltype palType; // Type of Palette
TvpOsdColor8888 *pColors; // Pointer to the color buffer in SDRAM
struct TvpOsdPalette *next; // next,
struct TvpOsdPalette *previous; // previous always the last field of the structure
} TvpOsdPalette; // Palette internal structure
/***********************************************************************************
******************************** INTERNAL FUNCTIONS ********************************
***********************************************************************************/
extern void tvpCltIsr(void); // Interrupt service routine
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -