PDK API Guide for J721E
|
All configuration Parameters for LDC.
struct Ldc_Config
Data Fields | |
Fvid2_Format | inFmt |
UInt32 | enableOutput [LDC_MAX_OUTPUT] |
Fvid2_Format | outFmt [LDC_MAX_OUTPUT] |
uint32_t | enableBackMapping |
uint32_t | lumaIntrType |
Ldc_PerspectiveTransformCfg | perspTrnsformCfg |
Ldc_LutCfg | lutCfg |
uint32_t | outputFrameWidth |
uint32_t | outputFrameHeight |
uint32_t | pixelPad |
uint32_t | outputBlockWidth |
uint32_t | outputBlockHeight |
uint32_t | outputStartX |
uint32_t | outputStartY |
uint32_t | enableMultiRegions |
Ldc_RegionConfig | regCfg |
Fvid2_Format Ldc_Config::inFmt |
Input Frame format, describing input frames storage format Following parametes are used from this width = width of the input frame height = height of the input frame pitch = line offset for the input data, only pitch[0] is used for all dataformats For YUV420, pitch is common for both luma and chroma dataFormat = Input DataFormat sfcc = Storage format
UInt32 Ldc_Config::enableOutput[LDC_MAX_OUTPUT] |
Flags to enable LDC Outputs Output[0] must be enabled Output[1] is optional 1: Enables the output 0: Disables the output
Fvid2_Format Ldc_Config::outFmt[LDC_MAX_OUTPUT] |
Output Frame format, describing output frames storage format
Following parametes are used from this pitch = line offset for the input data, used based on the data format dataFormat = Input DataFormat sfcc = Storage format
Frame size for all the outputs is same and is configured in outputFrameWidth and outputFrameHeight in common place
uint32_t Ldc_Config::enableBackMapping |
Flag to enable/disable LDC Back Mapping 1: Enables LDC back mapping 0: Disables LDC Back mapping
uint32_t Ldc_Config::lumaIntrType |
Luma Interpolation Type, Look into Ldc_LumaIntrType for valid values
Ldc_PerspectiveTransformCfg Ldc_Config::perspTrnsformCfg |
Affine transformation parameters
Ldc_LutCfg Ldc_Config::lutCfg |
LDC Lut configuration
uint32_t Ldc_Config::outputFrameWidth |
Output Frame Width, could be different from input frame width
uint32_t Ldc_Config::outputFrameHeight |
Output Frame Height, could be different from input frame width
uint32_t Ldc_Config::pixelPad |
Pixel pad
uint32_t Ldc_Config::outputBlockWidth |
Output block width must be multiple of 8 in 422/422 mode must be greater than or equal to 8
uint32_t Ldc_Config::outputBlockHeight |
Output block Height must be even and greater than 0
uint32_t Ldc_Config::outputStartX |
Output starting X-coordinate (must be even and multiple of 8)
uint32_t Ldc_Config::outputStartY |
Output starting Y-coordinate (must be even)
uint32_t Ldc_Config::enableMultiRegions |
Enable Multi Region Processing
Ldc_RegionConfig Ldc_Config::regCfg |
Region Configuration Used only when enableMultiRegions = TRUE Used to configure different block size and pixel pad for each region Output Width of all enabled regions in a vetical slice must be same Similarly Output Height of all enabled region in a horizontal slice must be same The sum of width of all enabled regions in a vertical slice must be equal or less than outputFrameWidth Similarly, The sum of height of all enabled regions in a horizontal slice must be equal or less than outputFrameHeight