![]() |
![]() |
DSS Video Pipe CSL FL interface file. More...
Data Structures | |
| struct | CSL_DssVidPipeCfg |
| Configuration for DSS Video Pipe. More... | |
| struct | CSL_DssVidPipeDmaCfg |
| DSS Video Pipe DMA related Config parameters. More... | |
| struct | CSL_DssVidPipeLumaCfg |
| DSS Video Pipe Luma Key Config parameters. More... | |
| struct | CSL_DssVidPipeAlphaCfg |
| DSS Video Pipe Alpha Config parameters. More... | |
| struct | CSL_DssVidPipeVC1Cfg |
| DSS Video Pipe VC1 configuration. More... | |
| struct | CSL_DssVidPipeMFlagCfg |
| DSS Video Pipe MFLAG Config parameters. More... | |
Macros | |
DSS Video Pipe YUV Alignment | |
| #define | CSL_DSS_VID_PIPE_YUV_ALIGN_LSB ((uint32_t) CSL_DSS_VID1_ATTRIBUTES2_YUV_ALIGN_VAL_LSB) |
| Data is LSB aligned (MSB unused) | |
| #define | CSL_DSS_VID_PIPE_YUV_ALIGN_MSB ((uint32_t) CSL_DSS_VID1_ATTRIBUTES2_YUV_ALIGN_VAL_MSB) |
| Data is MSB aligned (LSB unused) | |
DSS Video Pipe Scaler Value | |
| #define | CSL_DSS_VID_PIPE_SC_DISABLED ((uint32_t) CSL_DSS_VID1_ATTRIBUTES_RESIZEENABLE_VAL_RESIZEPROC) |
| Scaler is disabled. | |
| #define | CSL_DSS_VID_PIPE_SC_ENABLED_H ((uint32_t) CSL_DSS_VID1_ATTRIBUTES_RESIZEENABLE_VAL_HRESIZE) |
| Horizontal scaling is enabled. | |
| #define | CSL_DSS_VID_PIPE_SC_ENABLED_V ((uint32_t) CSL_DSS_VID1_ATTRIBUTES_RESIZEENABLE_VAL_VRESIZE) |
| Vertical scaling is enabled. | |
| #define | CSL_DSS_VID_PIPE_SC_ENABLED_HV ((uint32_t) CSL_DSS_VID1_ATTRIBUTES_RESIZEENABLE_VAL_HVRESIZE) |
| Both horizontal and vertical scaling is enabled. | |
DSS Video Pipe Preload Control Value | |
| #define | CSL_DSS_VID_PIPE_PRELOAD_CONTROL_SW ((uint32_t) CSL_DSS_VID1_ATTRIBUTES_BUFPRELOAD_VAL_DEFVAL) |
| Value is defined by preload register. | |
| #define | CSL_DSS_VID_PIPE_PRELOAD_CONTROL_HW ((uint32_t) CSL_DSS_VID1_ATTRIBUTES_BUFPRELOAD_VAL_HIGHTHRES) |
| HW pre-fetches pixels up to high threshold value. | |
DSS Video Pipe Priority Value | |
| #define | CSL_DSS_VID_PIPE_PRIORITY_NORMAL ((uint32_t) CSL_DSS_VID1_ATTRIBUTES_ARBITRATION_VAL_NORMALPRIO) |
| Priority of video pipeline is normal. | |
| #define | CSL_DSS_VID_PIPE_PRIORITY_HIGH ((uint32_t) CSL_DSS_VID1_ATTRIBUTES_ARBITRATION_VAL_HIGHPRIO) |
| Priority of video pipeline is high. | |
DSS Video Pipe Self Refresh Mode Control | |
| #define | CSL_DSS_VID_PIPE_REFRESH_CONTROL_SW ((uint32_t) CSL_DSS_VID1_ATTRIBUTES_SELFREFRESHAUTO_VAL_SELFREFRESHAUTODIS) |
| Transition is controlled by SW. | |
| #define | CSL_DSS_VID_PIPE_REFRESH_CONTROL_HW ((uint32_t) CSL_DSS_VID1_ATTRIBUTES_SELFREFRESHAUTO_VAL_SELFREFRESHAUTOEN) |
| Transition is controlled by HW. | |
Typedefs | |
| typedef CSL_dss_vid1Regs | CSL_dss_pipeRegs |
| DSS Video Pipe Registers. More... | |
Functions | |
| int32_t | CSL_dssVidPipeSetConfig (CSL_dss_pipeRegs *pipeRegs, const CSL_DssVidPipeCfg *pipeCfg, const CSL_DssVidPipeVC1Cfg *vc1Cfg) |
| Configure the Video Pipe. More... | |
| void | CSL_dssVidPipeSetDmaConfig (CSL_dss_pipeRegs *pipeRegs, const CSL_DssVidPipeDmaCfg *dmaCfg) |
| Configure the Video Pipe DMA parameters. More... | |
| void | CSL_dssVidPipeEnableTransparency (CSL_dss_pipeRegs *pipeRegs, const CSL_DssVidPipeLumaCfg *lumaCfg) |
| Enable the Luma Key transparency matching and set luma params. More... | |
| void | CSL_dssVidPipeSetAlphaConfig (CSL_dss_pipeRegs *pipeRegs, const CSL_DssVidPipeAlphaCfg *alphaCfg) |
| Set DSS Video Pipe Alpha parameters. More... | |
| void | CSL_dssVidPipeSetCSCCoeff (CSL_dss_pipeRegs *pipeRegs, const CSL_DssCscCoeff *coeff) |
| Configure the coefficients for Color Space Conversion. More... | |
| void | CSL_dssVidPipeSetBuffAddr (CSL_dss_pipeRegs *pipeRegs, uint32_t field, uint64_t baseAddrRGBY, uint64_t baseAddrUV) |
| Configure the coefficients for Color Space Conversion. More... | |
| void | CSL_dssVidPipeEnable (CSL_dss_pipeRegs *pipeRegs, uint32_t enable) |
| Enable the DSS Video Pipe. More... | |
| void | CSL_dssVidPipeSetSafetySignSeedVal (CSL_dss_pipeRegs *pipeRegs, uint32_t signSeedVal) |
| Set the seed value for the signature calculation. More... | |
| void | CSL_dssVidPipeSetSafetyReferenceSign (CSL_dss_pipeRegs *pipeRegs, uint32_t referenceSign) |
| Set the reference safety signature for data correctness check. More... | |
| void | CSL_dssVidPipeSetSafetyChkConfig (CSL_dss_pipeRegs *pipeRegs, const CSL_DssSafetyChkCfg *safetyCfg) |
| Configure the Safety Check Params. More... | |
| uint32_t | CSL_dssVidPipeGetSafetySign (const CSL_dss_pipeRegs *pipeRegs) |
| Get the Safety Signature. More... | |
| void | CSL_dssVidPipeSetMflagConfig (CSL_dss_pipeRegs *pipeRegs, const CSL_DssVidPipeMFlagCfg *mflagCfg) |
| Set the MFLAG configuration. More... | |
| void | CSL_dssVidPipeCropEnable (CSL_dss_pipeRegs *pipeRegs, uint32_t enable) |
| Enable the crop in DSS Video Pipe. More... | |
| static void | CSL_dssVidPipeCfgInit (CSL_DssVidPipeCfg *pipeCfg) |
| CSL_DssVidPipeCfg structure init function. More... | |
| static void | CSL_dssVidPipeDmaCfgInit (CSL_DssVidPipeDmaCfg *dmaCfg) |
| CSL_DssVidPipeDmaCfg structure init function. More... | |
| static void | CSL_dssVidPipeLumaCfgInit (CSL_DssVidPipeLumaCfg *lumaCfg) |
| CSL_DssVidPipeLumaCfg structure init function. More... | |
| static void | CSL_dssVidPipeAlphaCfgInit (CSL_DssVidPipeAlphaCfg *alphaCfg) |
| CSL_DssVidPipeAlphaCfg structure init function. More... | |
| static void | CSL_dssVidPipeVC1CfgInit (CSL_DssVidPipeVC1Cfg *vc1Cfg) |
| CSL_DssVidPipeVC1Cfg structure init function. More... | |
| static void | CSL_dssVidPipeMFlagCfgInit (CSL_DssVidPipeMFlagCfg *mflagCfg) |
| CSL_DssVidPipeMFlagCfg structure init function. More... | |
DSS Video Pipe CSL FL interface file.