Configuration for DSS Video Pipe.
Data Fields | |
uint32_t | pipeType |
Fvid2_Format | inFmt |
uint32_t | pixelInc |
uint32_t | yuvAlign |
uint32_t | outWidth |
uint32_t | outHeight |
uint32_t | scEnable |
uint32_t | cscRange |
CSL_DssCscCoeff | custCscCoeff |
uint32_t | flipType |
uint32_t | clutData [CSL_DSS_NUM_LUT_ENTRIES] |
uint32_t | nibbleModeEnable |
uint32_t | gammaEnable |
uint32_t CSL_DssVidPipeCfg::pipeType |
Video Pipe Type. For valid values see CSL_DssVidPipeType
Fvid2_Format CSL_DssVidPipeCfg::inFmt |
Input format described using FVID2 frame format Fvid2_Format
width:
Input width, in pixels This represents the input width to be programmed
height:
Input height, in lines This represents the input height to be programmed
pitch:
Pitch in bytes between two lines Pitch can be specified separately for every plane
dataFormat:
Input Data format, valid options are
FVID2_DF_YUV422I_UYVY,
FVID2_DF_YUV422I_YUYV,
FVID2_DF_YUV420SP_UV,
FVID2_DF_XBGR64_16161616,
FVID2_DF_BGRX64_16161616,
FVID2_DF_RGBX32_1010102,
FVID2_DF_BGRX32_1010102,
FVID2_DF_XRGB32_8888,
FVID2_DF_XBGR24_8888,
FVID2_DF_BGRX32_8888,
FVID2_DF_BGRX24_8888,
FVID2_DF_BGRX16_1555,
FVID2_DF_BGRX16_5551,
FVID2_DF_XBGR_4444,
FVID2_DF_RGBX16_4444,
FVID2_DF_BGRX_4444,
FVID2_DF_RGB16_565_A8,
FVID2_DF_BGR16_565_A8,
FVID2_DF_BITMAP8,
FVID2_DF_BITMAP4,
FVID2_DF_BITMAP2,
FVID2_DF_BITMAP1,
FVID2_DF_ABGR64_16161616,
FVID2_DF_BGRA64_16161616,
FVID2_DF_RGBA32_1010102,
FVID2_DF_BGRA32_1010102,
FVID2_DF_RGB24_888,
FVID2_DF_BGR24_888,
FVID2_DF_ARGB32_8888,
FVID2_DF_ABGR32_8888,
FVID2_DF_RGBA32_8888,
FVID2_DF_BGRA32_8888,
FVID2_DF_BGRA16_1555,
FVID2_DF_BGRA16_5551,
FVID2_DF_RGB16_565,
FVID2_DF_BGR16_565,
FVID2_DF_ABGR16_4444,
FVID2_DF_RGBA16_4444,
FVID2_DF_BGRA16_4444
FVID2_DF_RGBX16_5551
For valid values see Fvid2_DataFormat
scanFormat:
Scan format, valid options are
FVID2_SF_INTERLACED,
FVID2_SF_PROGRESSIVE
For valid values see Fvid2_ScanFormat
ccsFormat:
Color component storage format, used only in case of YUV data Valid options are
FVID2_CCSF_BITS8_PACKED,
FVID2_CCSF_BITS10_PACKED,
FVID2_CCSF_BITS12_PACKED,
FVID2_CCSF_BITS10_UNPACKED16,
FVID2_CCSF_BITS12_UNPACKED16
For valid values see Fvid2_ColorCompStorageFmt
fieldMerged:
Field Merged Flag for interlaced buffers, valid options are
TRUE,
FALSE
chNum: Not used, set to 0 or default
uint32_t CSL_DssVidPipeCfg::pixelInc |
Number of bytes to increment between two pixels. Encoded unsigned value (from 1 to 255) to specify the number of bytes between two pixels in the video buffer. The value 0 is invalid. The value 1 means next pixel. The value 1 + n *(ccsFormat/8) means increment of n pixels. For YUV4:2:0, maximum supported value is 128
uint32_t CSL_DssVidPipeCfg::yuvAlign |
Alignment for unpacked YUV data For valid values see CSL_DssVidPipeYuvAlign
uint32_t CSL_DssVidPipeCfg::outWidth |
Horizontal Size of picture at output of video pipeline
uint32_t CSL_DssVidPipeCfg::outHeight |
Vertical Size of picture at output of video pipeline
uint32_t CSL_DssVidPipeCfg::scEnable |
Enable the scaler, valid only if input and output size are different FALSE: Disable Scaler TRUE: Enable Scaler
uint32_t CSL_DssVidPipeCfg::cscRange |
Color Space Conversion range setting For valid values see CSL_DssCscRange
CSL_DssCscCoeff CSL_DssVidPipeCfg::custCscCoeff |
Custom coefficients for color Space Conversion. User must specify this structure as well as cscRange in CSL_DssVidPipeCfg to use custom CSC. cscRange parameter from CSL_DssVidPipeCfg takes presedence over this structure in order to maintain backward compatibility. For details see CSL_DssCscCoeff
uint32_t CSL_DssVidPipeCfg::flipType |
Video Buffer Flip Type For valid values see Fvid2_FlipType
uint32_t CSL_DssVidPipeCfg::clutData[CSL_DSS_NUM_LUT_ENTRIES] |
Color Look-up Table for the bitmap formats
uint32_t CSL_DssVidPipeCfg::nibbleModeEnable |
Nibble mode for bitmap formats FALSE: Disable Nibble Mode TRUE: Enable Nibble Mode
uint32_t CSL_DssVidPipeCfg::gammaEnable |
Inverse Gamma Support (using CLUT) FALSE: Gamma support is disabled TRUE: Gamma support is enabled