Files | Data Structures | Macros | Functions
Top Level CSL FL

Files

file  csl_dssTop.h
 DSS Top CSL FL interface file.
 

Data Structures

struct  CSL_DssCscCoeff
 Structure containing coefficients for Color Space Conversion. More...
 
struct  CSL_DssSafetyChkCfg
 Configuration for doing safety checks. More...
 

Macros

#define CSL_DSS_NUM_LUT_ENTRIES   ((uint32_t) 256U)
 Number of entries for CLUT/Gamma Correction.
 
#define CSL_DSS_MODULE_INVALID   ((uint32_t) 0xFFU)
 Invalid Module Id for DSS modules.
 

Functions

static void CSL_dssCscCoeffInit (CSL_DssCscCoeff *cscCoeff)
 CSL_DssCscCoeff structure init function. More...
 
static void CSL_dssSafetyChkCfgInit (CSL_DssSafetyChkCfg *safetyCfg)
 CSL_DssSafetyChkCfg structure init function. More...
 

DSS Video Pipeline Type

To distinguish between VID (with scaler) and VIDL (without scaler)

#define CSL_DSS_VID_PIPE_TYPE_VID   ((uint32_t) 0x0)
 Video Pipe is of type VID.
 
#define CSL_DSS_VID_PIPE_TYPE_VIDL   ((uint32_t) 0x1)
 Video Pipe is of type VIDL.
 

DSS Common Region Id

Id for different Common Regions

#define CSL_DSS_COMM_REG_ID_0   ((uint32_t) 0x0U)
 Common Region 0 i.e. M region.
 
#define CSL_DSS_COMM_REG_ID_1   ((uint32_t) 0x1U)
 Common Region 1 i.e. S0 region.
 
#define CSL_DSS_COMM_REG_ID_2   ((uint32_t) 0x2U)
 Common Region 2 i.e. S1 region.
 
#define CSL_DSS_COMM_REG_ID_3   ((uint32_t) 0x3U)
 Common Region 3 i.e. S2 region.
 
#define CSL_DSS_COMM_REG_ID_MAX   ((uint32_t) 0x4U)
 Common Region Max Id.
 

DSS Common Region Id Mask

Mask for different Common Regions

#define CSL_DSS_COMM_REG_ID_0_MASK   ((uint32_t) 0x1U)
 Common Region 0 Mask.
 
#define CSL_DSS_COMM_REG_ID_1_MASK   ((uint32_t) 0x2U)
 Common Region 1 Mask.
 
#define CSL_DSS_COMM_REG_ID_2_MASK   ((uint32_t) 0x4U)
 Common Region 2 Mask.
 
#define CSL_DSS_COMM_REG_ID_3_MASK   ((uint32_t) 0x8U)
 Common Region 3 Mask.
 

DSS Video Pipeline Id

Id for different Video Pipelines

#define CSL_DSS_VID_PIPE_ID_VID1   ((uint32_t) 0x0U)
 Video Pipeline 1.
 
#define CSL_DSS_VID_PIPE_ID_VIDL1   ((uint32_t) 0x1U)
 Video Lite Pipeline 1.
 
#define CSL_DSS_VID_PIPE_ID_VID2   ((uint32_t) 0x2U)
 Video Pipeline 2.
 
#define CSL_DSS_VID_PIPE_ID_VIDL2   ((uint32_t) 0x3U)
 Video Lite Pipeline 2.
 
#define CSL_DSS_VID_PIPE_ID_MAX   ((uint32_t) 0x4U)
 Video Pipeline Max Id.
 

DSS Video Pipeline Id Mask

Mask for different Video Pipelines

#define CSL_DSS_VID_PIPE_ID_VID1_MASK   ((uint32_t) 0x1U)
 Video Pipeline 1 Mask.
 
#define CSL_DSS_VID_PIPE_ID_VIDL1_MASK   ((uint32_t) 0x2U)
 Video Lite Pipeline 1 Mask.
 
#define CSL_DSS_VID_PIPE_ID_VID2_MASK   ((uint32_t) 0x4U)
 Video Pipeline 2 Mask.
 
#define CSL_DSS_VID_PIPE_ID_VIDL2_MASK   ((uint32_t) 0x8U)
 Video Lite Pipeline 1 Mask.
 

DSS Overlay Id

Id for DSS Overlays

#define CSL_DSS_OVERLAY_ID_1   ((uint32_t) 0x0U)
 Overlay 1.
 
#define CSL_DSS_OVERLAY_ID_2   ((uint32_t) 0x1U)
 Overlay 2.
 
#define CSL_DSS_OVERLAY_ID_3   ((uint32_t) 0x2U)
 Overlay 3.
 
#define CSL_DSS_OVERLAY_ID_4   ((uint32_t) 0x3U)
 Overlay 4.
 
#define CSL_DSS_OVERLAY_ID_MAX   ((uint32_t) 0x4U)
 Overlay Max Id.
 

DSS Overlay Id Mask

Mask for DSS Overlays

#define CSL_DSS_OVERLAY_ID_1_MASK   ((uint32_t) 0x1U)
 Overlay 1 Mask.
 
#define CSL_DSS_OVERLAY_ID_2_MASK   ((uint32_t) 0x2U)
 Overlay 2 Mask.
 
#define CSL_DSS_OVERLAY_ID_3_MASK   ((uint32_t) 0x4U)
 Overlay 3 Mask.
 
#define CSL_DSS_OVERLAY_ID_4_MASK   ((uint32_t) 0x8U)
 Overlay 4 Mask.
 

DSS Video Port Id

Id for DSS Video Ports

#define CSL_DSS_VP_ID_1   ((uint32_t) 0x0U)
 Video Port 1.
 
#define CSL_DSS_VP_ID_2   ((uint32_t) 0x1U)
 Video Port 2.
 
#define CSL_DSS_VP_ID_3   ((uint32_t) 0x2U)
 Video Port 3.
 
#define CSL_DSS_VP_ID_4   ((uint32_t) 0x3U)
 Video Port 4.
 
#define CSL_DSS_VP_ID_MAX   ((uint32_t) 0x4U)
 Video Port Max Id.
 

DSS Video Port Id Mask

Mask for DSS Video Ports

#define CSL_DSS_VP_ID_1_MASK   ((uint32_t) 0x1U)
 Video Port 1.
 
#define CSL_DSS_VP_ID_2_MASK   ((uint32_t) 0x2U)
 Video Port 2.
 
#define CSL_DSS_VP_ID_3_MASK   ((uint32_t) 0x4U)
 Video Port 3.
 
#define CSL_DSS_VP_ID_4_MASK   ((uint32_t) 0x8U)
 Video Port 4.
 

DSS CSC Range

DSS Color Space Conversion range setting

#define CSL_DSS_CSC_RANGE_LIMITED   ((uint32_t) 0x0U)
 Limited range selected.
 
#define CSL_DSS_CSC_RANGE_FULL   ((uint32_t) 0x1U)
 Full range selected.
 

DSS Safety Region Id

#define CSL_DSS_SAFETY_REGION_0   ((uint32_t) 0x0U)
 Safety Region 0.
 
#define CSL_DSS_SAFETY_REGION_1   ((uint32_t) 0x1U)
 Safety Region 1.
 
#define CSL_DSS_SAFETY_REGION_2   ((uint32_t) 0x2U)
 Safety Region 2.
 
#define CSL_DSS_SAFETY_REGION_3   ((uint32_t) 0x3U)
 Safety Region 3.
 
#define CSL_DSS_SAFETY_REGION_4   ((uint32_t) 0x4U)
 Safety Region 4.
 
#define CSL_DSS_SAFETY_REGION_5   ((uint32_t) 0x5U)
 Safety Region 5.
 
#define CSL_DSS_SAFETY_REGION_6   ((uint32_t) 0x6U)
 Safety Region 6.
 
#define CSL_DSS_SAFETY_REGION_7   ((uint32_t) 0x7U)
 Safety Region 7.
 
#define CSL_DSS_SAFETY_REGION_MAX   ((uint32_t) 0x8U)
 Safety Region Max.
 

DSS Safety Check Mode

Mode of operation of the safety check module

#define CSL_DSS_SAFETY_CHK_FRAME_FREEZE_DETECT   ((uint32_t) CSL_DSS_VID1_SAFETY_ATTRIBUTES_CAPTUREMODE_VAL_FRAMEFREEZE)
 Frame freeze detect enabled.
 
#define CSL_DSS_SAFETY_CHK_DATA_INTEGRITY   ((uint32_t) CSL_DSS_VID1_SAFETY_ATTRIBUTES_CAPTUREMODE_VAL_DATACHECK)
 Data correctness check enabled.
 

DSS Safety Check Frame Skip

Indicates which frames to be skipped while doing safety check

#define CSL_DSS_SAFETY_CHK_FRAME_SKIP_NO   ((uint32_t) CSL_DSS_VID1_SAFETY_ATTRIBUTES_FRAMESKIP_VAL_DISABLE)
 No frames are skipped.
 
#define CSL_DSS_SAFETY_CHK_FRAME_SKIP_EVEN   ((uint32_t) CSL_DSS_VID1_SAFETY_ATTRIBUTES_FRAMESKIP_VAL_EVEN)
 Even Frames are skipped starting from second frame after enable.
 
#define CSL_DSS_SAFETY_CHK_FRAME_SKIP_ODD   ((uint32_t) CSL_DSS_VID1_SAFETY_ATTRIBUTES_FRAMESKIP_VAL_ODD)
 Odd Frames are skipped starting from first frame after enable.
 

DSS DPI Id

#define CSL_DSS_DPI_ID_0   ((uint32_t) 0x0U)
 DPI Id 0.
 
#define CSL_DSS_DPI_ID_1   ((uint32_t) 0x1U)
 DPI Id 1.
 
#define CSL_DSS_DPI_ID_2   ((uint32_t) 0x2U)
 DPI Id 2.
 
#define CSL_DSS_DPI_ID_3   ((uint32_t) 0x3U)
 DPI Id 3.
 
#define CSL_DSS_DPI_ID_4   ((uint32_t) 0x4U)
 DPI Id 4.
 
#define CSL_DSS_DPI_ID_5   ((uint32_t) 0x5U)
 DPI Id 5.
 
#define CSL_DSS_DPI_ID_MAX   ((uint32_t) 0x6U)
 DPI Id Max.
 

Detailed Description

This can be used across sub component CSL FLs of DSS

Function Documentation

static void CSL_dssCscCoeffInit ( CSL_DssCscCoeff cscCoeff)
inlinestatic

CSL_DssCscCoeff structure init function.

Parameters
cscCoeffPointer to CSL_DssCscCoeff structure
Returns
None
static void CSL_dssSafetyChkCfgInit ( CSL_DssSafetyChkCfg safetyCfg)
inlinestatic

CSL_DssSafetyChkCfg structure init function.

Parameters
safetyCfgPointer to CSL_DssSafetyChkCfg structure
Returns
None

Copyright 2018, Texas Instruments Incorporated