|
AM62x MCU+ SDK
10.01.00
|
|
Go to the documentation of this file.
48 #ifndef CSL_DSSVIDEOPIPE_H_
49 #define CSL_DSSVIDEOPIPE_H_
82 #define CSL_DSS_VID_PIPE_YUV_ALIGN_LSB \
83 ((uint32_t) CSL_DSS_VID_ATTRIBUTES2_YUV_ALIGN_VAL_LSB)
85 #define CSL_DSS_VID_PIPE_YUV_ALIGN_MSB \
86 ((uint32_t) CSL_DSS_VID_ATTRIBUTES2_YUV_ALIGN_VAL_MSB)
96 #define CSL_DSS_VID_PIPE_SC_DISABLED \
97 ((uint32_t) CSL_DSS_VID_ATTRIBUTES_RESIZEENABLE_VAL_RESIZEPROC)
99 #define CSL_DSS_VID_PIPE_SC_ENABLED_H \
100 ((uint32_t) CSL_DSS_VID_ATTRIBUTES_RESIZEENABLE_VAL_HRESIZE)
102 #define CSL_DSS_VID_PIPE_SC_ENABLED_V \
103 ((uint32_t) CSL_DSS_VID_ATTRIBUTES_RESIZEENABLE_VAL_VRESIZE)
105 #define CSL_DSS_VID_PIPE_SC_ENABLED_HV \
106 ((uint32_t) CSL_DSS_VID_ATTRIBUTES_RESIZEENABLE_VAL_HVRESIZE)
117 #define CSL_DSS_VID_PIPE_PRELOAD_CONTROL_SW \
118 ((uint32_t) CSL_DSS_VID_ATTRIBUTES_BUFPRELOAD_VAL_DEFVAL)
120 #define CSL_DSS_VID_PIPE_PRELOAD_CONTROL_HW \
121 ((uint32_t) CSL_DSS_VID_ATTRIBUTES_BUFPRELOAD_VAL_HIGHTHRES)
131 #define CSL_DSS_VID_PIPE_PRIORITY_NORMAL \
132 ((uint32_t) CSL_DSS_VID_ATTRIBUTES_ARBITRATION_VAL_NORMALPRIO)
134 #define CSL_DSS_VID_PIPE_PRIORITY_HIGH \
135 ((uint32_t) CSL_DSS_VID_ATTRIBUTES_ARBITRATION_VAL_HIGHPRIO)
145 #define CSL_DSS_VID_PIPE_REFRESH_CONTROL_SW \
146 ((uint32_t) CSL_DSS_VID_ATTRIBUTES_SELFREFRESHAUTO_VAL_SELFREFRESHAUTODIS)
148 #define CSL_DSS_VID_PIPE_REFRESH_CONTROL_HW \
149 ((uint32_t) CSL_DSS_VID_ATTRIBUTES_SELFREFRESHAUTO_VAL_SELFREFRESHAUTOEN)
453 uint64_t baseAddrRGBY,
454 uint64_t baseAddrUV);
476 uint32_t signSeedVal);
487 uint32_t referenceSign);
uint32_t cscRange
Definition: csl_dssVideoPipe.h:262
Configuration for doing safety checks.
Definition: csl_dssTop.h:260
uint32_t lumaKeyEnable
Definition: csl_dssVideoPipe.h:321
#define CSL_DSS_VID_PIPE_PRIORITY_NORMAL
Priority of video pipeline is normal.
Definition: csl_dssVideoPipe.h:131
CSL_DssCscCoeff custCscCoeff
Definition: csl_dssVideoPipe.h:265
Configuration for DSS Video Pipe.
Definition: csl_dssVideoPipe.h:160
uint32_t flipType
Definition: csl_dssVideoPipe.h:271
static void CSL_dssVidPipeMFlagCfgInit(CSL_DssVidPipeMFlagCfg *mflagCfg)
CSL_DssVidPipeMFlagCfg structure init function.
Definition: csl_dssVideoPipe.h:657
void CSL_dssVidPipeSetSafetyReferenceSign(CSL_dss_pipeRegs *pipeRegs, uint32_t referenceSign)
Set the reference safety signature for data correctness check.
DSS Video Pipe DMA related Config parameters.
Definition: csl_dssVideoPipe.h:290
uint32_t pixelInc
Definition: csl_dssVideoPipe.h:244
static void CSL_dssVidPipeCfgInit(CSL_DssVidPipeCfg *pipeCfg)
CSL_DssVidPipeCfg structure init function.
Definition: csl_dssVideoPipe.h:585
uint32_t CSL_dssVidPipeGetSafetySign(const CSL_dss_pipeRegs *pipeRegs)
Get the Safety Signature.
Structure containing coefficients for Color Space Conversion.
Definition: csl_dssTop.h:220
#define CSL_DSS_CSC_RANGE_FULL
Full range selected.
Definition: csl_dssTop.h:168
DSS Video Pipe VC1 configuration.
Definition: csl_dssVideoPipe.h:352
Fvid2_Format inFmt
Definition: csl_dssVideoPipe.h:163
uint32_t selfRefreshEnable
Definition: csl_dssVideoPipe.h:307
#define NULL
Define NULL if not defined.
Definition: csl_types.h:100
uint32_t bufLowThreshold
Definition: csl_dssVideoPipe.h:297
uint32_t globalAlpha
Definition: csl_dssVideoPipe.h:338
static void CSL_dssVidPipeAlphaCfgInit(CSL_DssVidPipeAlphaCfg *alphaCfg)
CSL_DssVidPipeAlphaCfg structure init function.
Definition: csl_dssVideoPipe.h:636
static void CSL_dssVidPipeVC1CfgInit(CSL_DssVidPipeVC1Cfg *vc1Cfg)
CSL_DssVidPipeVC1Cfg structure init function.
Definition: csl_dssVideoPipe.h:646
void CSL_dssVidPipeSetMflagConfig(CSL_dss_pipeRegs *pipeRegs, const CSL_DssVidPipeMFlagCfg *mflagCfg)
Set the MFLAG configuration.
static void Fvid2Format_init(Fvid2_Format *fmt)
Fvid2_Format structure init function.
Definition: fvid2_dataTypes.h:2201
uint32_t lumaKeyMinVal
Definition: csl_dssVideoPipe.h:325
#define CSL_DSS_VID_PIPE_PRELOAD_CONTROL_HW
HW pre-fetches pixels up to high threshold value.
Definition: csl_dssVideoPipe.h:120
uint32_t scEnable
Definition: csl_dssVideoPipe.h:258
#define FVID2_FLIP_TYPE_NONE
Flip Type is None.
Definition: fvid2_dataTypes.h:241
uint32_t clutData[CSL_DSS_NUM_LUT_ENTRIES]
Definition: csl_dssVideoPipe.h:274
void CSL_dssVidPipeEnableTransparency(CSL_dss_pipeRegs *pipeRegs, const CSL_DssVidPipeLumaCfg *lumaCfg)
Enable the Luma Key transparency matching and set luma params.
uint32_t thresholdLow
Definition: csl_dssVideoPipe.h:366
uint32_t bufPreloadControl
Definition: csl_dssVideoPipe.h:291
void CSL_dssVidPipeSetCSCCoeff(CSL_dss_pipeRegs *pipeRegs, const CSL_DssCscCoeff *coeff)
Configure the coefficients for Color Space Conversion.
static void CSL_dssCscCoeffInit(CSL_DssCscCoeff *cscCoeff)
CSL_DssCscCoeff structure init function.
Definition: csl_dssTop.h:335
void CSL_dssVidPipeEnable(CSL_dss_pipeRegs *pipeRegs, uint32_t enable)
Enable the DSS Video Pipe.
static void CSL_dssVidPipeDmaCfgInit(CSL_DssVidPipeDmaCfg *dmaCfg)
CSL_DssVidPipeDmaCfg structure init function.
Definition: csl_dssVideoPipe.h:611
uint32_t cscRange
Definition: csl_dssTop.h:221
uint32_t arbitration
Definition: csl_dssVideoPipe.h:311
DSS Video Pipe Luma Key Config parameters.
Definition: csl_dssVideoPipe.h:320
uint32_t lumaKeyMaxVal
Definition: csl_dssVideoPipe.h:328
static void CSL_dssVidPipeLumaCfgInit(CSL_DssVidPipeLumaCfg *lumaCfg)
CSL_DssVidPipeLumaCfg structure init function.
Definition: csl_dssVideoPipe.h:625
DSS Video Pipe MFLAG Config parameters.
Definition: csl_dssVideoPipe.h:365
CSL_dss_vidRegs CSL_dss_pipeRegs
DSS Video Pipe Registers.
Definition: csl_dssVideoPipe.h:72
#define CSL_DSS_NUM_LUT_ENTRIES
Number of entries for CLUT/Gamma Correction.
Definition: csl_dssTop.h:207
uint32_t rangeY
Definition: csl_dssVideoPipe.h:355
#define CSL_DSS_VID_PIPE_TYPE_VID
Video Pipe is of type VID.
Definition: csl_dssTop.h:78
#define CSL_DSS_VID_PIPE_REFRESH_CONTROL_SW
Transition is controlled by SW.
Definition: csl_dssVideoPipe.h:145
uint32_t nibbleModeEnable
Definition: csl_dssVideoPipe.h:276
void CSL_dssVidPipeSetBuffAddr(CSL_dss_pipeRegs *pipeRegs, uint32_t field, uint64_t baseAddrRGBY, uint64_t baseAddrUV)
Set the video buffer address.
#define CSL_DSS_VID_PIPE_YUV_ALIGN_LSB
Data is LSB aligned (MSB unused)
Definition: csl_dssVideoPipe.h:82
void CSL_dssVidPipeSetAlphaConfig(CSL_dss_pipeRegs *pipeRegs, const CSL_DssVidPipeAlphaCfg *alphaCfg)
Set DSS Video Pipe Alpha parameters.
#define CSL_DSS_VID_PIPE_SC_DISABLED
Scaler is disabled.
Definition: csl_dssVideoPipe.h:96
void CSL_dssVidPipeSetDmaConfig(CSL_dss_pipeRegs *pipeRegs, const CSL_DssVidPipeDmaCfg *dmaCfg)
Configure the Video Pipe DMA parameters.
#define CSL_DSS_CSC_RANGE_CUSTOM
Custom range selected.
Definition: csl_dssTop.h:170
uint32_t rangeUV
Definition: csl_dssVideoPipe.h:357
uint32_t preloadVal
Definition: csl_dssVideoPipe.h:295
uint32_t outWidth
Definition: csl_dssVideoPipe.h:254
void CSL_dssVidPipeSetSafetySignSeedVal(CSL_dss_pipeRegs *pipeRegs, uint32_t signSeedVal)
Set the seed value for the signature calculation.
uint32_t yuvAlign
Definition: csl_dssVideoPipe.h:251
DSS Video Pipe Alpha Config parameters.
Definition: csl_dssVideoPipe.h:337
uint32_t pipeType
Definition: csl_dssVideoPipe.h:161
uint32_t vc1Enable
Definition: csl_dssVideoPipe.h:353
Definition: cslr_dss.h:2594
uint32_t gammaEnable
Definition: csl_dssVideoPipe.h:280
uint32_t outHeight
Definition: csl_dssVideoPipe.h:256
uint32_t selfRefreshControl
Definition: csl_dssVideoPipe.h:303
uint32_t bufHighThreshold
Definition: csl_dssVideoPipe.h:300
int32_t CSL_dssVidPipeSetConfig(CSL_dss_pipeRegs *pipeRegs, const CSL_DssVidPipeCfg *pipeCfg, const CSL_DssVidPipeVC1Cfg *vc1Cfg)
Configure the Video Pipe.
#define FALSE
Definition: csl_types.h:62
void CSL_dssVidPipeSetSafetyChkConfig(CSL_dss_pipeRegs *pipeRegs, const CSL_DssSafetyChkCfg *safetyCfg)
Configure the Safety Check Params.
uint32_t preMultiplyAlpha
Definition: csl_dssVideoPipe.h:341
uint32_t thresholdHigh
Definition: csl_dssVideoPipe.h:368