This is hardware include layer for DSS overlay region.
Files | |
file | csl_dssOverlay.h |
DSS Overlay layer interface file. | |
Data Structures | |
struct | CSL_DssOverlayCfg |
Configuration for DSS Overlay. More... | |
struct | CSL_DssOverlayLayerCfg |
Configuration for selecting overlay input layers. More... | |
struct | CSL_DssOverlayPipePosCfg |
Video Pipe Position Configuration in Overlay. More... | |
Functions | |
void | CSL_dssOverlaySetConfig (CSL_dss_overlayRegs *overlayRegs, const CSL_DssOverlayCfg *overlayCfg) |
Configure the Overlay Params. More... | |
void | CSL_dssOverlayColorBarEnable (CSL_dss_overlayRegs *overlayRegs, uint32_t enable) |
Enable the Color Bar in DSS Overlay. More... | |
void | CSL_dssOverlaySetLayerConfig (CSL_dss_overlayRegs *overlayRegs, const CSL_DssOverlayLayerCfg *layerCfg) |
Configure the Overlay input selection. More... | |
void | CSL_dssOverlaySetPipePosConfig (CSL_dss_overlayRegs *overlayRegs, const CSL_DssOverlayPipePosCfg *pipePosCfg, uint32_t layerNum) |
Configure the Video Pipe Position in Overlay. More... | |
uint32_t | CSL_dssOverlayGetEnabledPipeLayerNum (const CSL_dss_overlayRegs *overlayRegs, uint32_t pipeId) |
Get the layer number where a particular Video Pipe is connected. More... | |
static void | CSL_dssOverlayCfgInit (CSL_DssOverlayCfg *overlayCfg) |
CSL_DssOverlayCfg structure init function. More... | |
static void | CSL_dssOverlayLayerCfgInit (CSL_DssOverlayLayerCfg *layerCfg) |
CSL_DssOverlayLayerCfg structure init function. More... | |
static void | CSL_dssOverlayPipePosCfgInit (CSL_DssOverlayPipePosCfg *pipePosCfg) |
CSL_DssOverlayPipePosCfg structure init function. More... | |
Typedefs | |
typedef CSL_dss_ovr1Regs | CSL_dss_overlayRegs |
DSS Overlay Registers. More... | |
DSS Overlay Transparency Color Key Selection | |
#define | CSL_DSS_OVERLAY_TRANS_COLOR_DEST ((uint32_t) CSL_DSS_OVR1_CONFIG_TCKLCDSELECTION_VAL_GDTK) |
Destination transparency color key selected. More... | |
#define | CSL_DSS_OVERLAY_TRANS_COLOR_SRC ((uint32_t) CSL_DSS_OVR1_CONFIG_TCKLCDSELECTION_VAL_VSTK) |
Source transparency color key selected. More... | |
DSS Overlay Layer Number | |
#define | CSL_DSS_OVERLAY_LAYER_NUM_0 ((uint32_t) 0x0U) |
Overlay Layer 0. More... | |
#define | CSL_DSS_OVERLAY_LAYER_NUM_1 ((uint32_t) 0x1U) |
Overlay Layer 1. More... | |
#define | CSL_DSS_OVERLAY_LAYER_MAX ((uint32_t) 0x2U) |
Maximum overlay layers. More... | |
#define | CSL_DSS_OVERLAY_LAYER_INVALID ((uint32_t) 0xFFU) |
Invalid Overlay Layer. More... | |
#define CSL_DSS_OVERLAY_TRANS_COLOR_DEST ((uint32_t) CSL_DSS_OVR1_CONFIG_TCKLCDSELECTION_VAL_GDTK) |
Destination transparency color key selected.
#define CSL_DSS_OVERLAY_TRANS_COLOR_SRC ((uint32_t) CSL_DSS_OVR1_CONFIG_TCKLCDSELECTION_VAL_VSTK) |
Source transparency color key selected.
#define CSL_DSS_OVERLAY_LAYER_NUM_0 ((uint32_t) 0x0U) |
Overlay Layer 0.
#define CSL_DSS_OVERLAY_LAYER_NUM_1 ((uint32_t) 0x1U) |
Overlay Layer 1.
#define CSL_DSS_OVERLAY_LAYER_MAX ((uint32_t) 0x2U) |
Maximum overlay layers.
#define CSL_DSS_OVERLAY_LAYER_INVALID ((uint32_t) 0xFFU) |
Invalid Overlay Layer.
typedef CSL_dss_ovr1Regs CSL_dss_overlayRegs |
DSS Overlay Registers.
DSS7 UL has two identical Overlay blocks, hence define a generic structure to have common APIs
void CSL_dssOverlaySetConfig | ( | CSL_dss_overlayRegs * | overlayRegs, |
const CSL_DssOverlayCfg * | overlayCfg | ||
) |
Configure the Overlay Params.
overlayRegs | Pointer to a CSL_dss_overlayRegs structure containing the overlay configuration |
overlayCfg | Pointer to the CSL_DssOverlayCfg structure. This parameter should not be NULL |
void CSL_dssOverlayColorBarEnable | ( | CSL_dss_overlayRegs * | overlayRegs, |
uint32_t | enable | ||
) |
Enable the Color Bar in DSS Overlay.
overlayRegs | Pointer to a CSL_dss_overlayRegs structure containing the overlay configuration |
enable | Enable or disable the color bar |
void CSL_dssOverlaySetLayerConfig | ( | CSL_dss_overlayRegs * | overlayRegs, |
const CSL_DssOverlayLayerCfg * | layerCfg | ||
) |
Configure the Overlay input selection.
overlayRegs | Pointer to a CSL_dss_overlayRegs structure containing the overlay configuration |
layerCfg | Pointer to CSL_DssOverlayLayerCfg structure. This parameter should not be NULL |
void CSL_dssOverlaySetPipePosConfig | ( | CSL_dss_overlayRegs * | overlayRegs, |
const CSL_DssOverlayPipePosCfg * | pipePosCfg, | ||
uint32_t | layerNum | ||
) |
Configure the Video Pipe Position in Overlay.
overlayRegs | Pointer to a CSL_dss_overlayRegs structure containing the overlay configuration |
pipePosCfg | Pointer to CSL_DssOverlayPipePosCfg structure. This parameter should not be NULL |
layerNum | Layer Number |
uint32_t CSL_dssOverlayGetEnabledPipeLayerNum | ( | const CSL_dss_overlayRegs * | overlayRegs, |
uint32_t | pipeId | ||
) |
Get the layer number where a particular Video Pipe is connected.
overlayRegs | Pointer to a CSL_dss_overlayRegs structure containing the overlay configuration |
pipeId | Pipe Id. Refer to CSL_DssVidPipeId for values |
|
inlinestatic |
CSL_DssOverlayCfg structure init function.
overlayCfg | Pointer to CSL_DssOverlayCfg structure |
|
inlinestatic |
CSL_DssOverlayLayerCfg structure init function.
layerCfg | Pointer to CSL_DssOverlayLayerCfg structure |
|
inlinestatic |
CSL_DssOverlayPipePosCfg structure init function.
pipePosCfg | Pointer to CSL_DssOverlayPipePosCfg structure |