PDK API Guide for J721E
Rfe_LscConfig Struct Reference

Detailed Description

LSC configuration Structure Lens shading corretion is applied after DPC. It uses loopup table containig gains for each color component, applies it to pixel. Lookup table is for the entire image.

Data Fields

uint32_t enable
 
uint32_t gainFmt
 
uint32_t horzDsFactor
 
uint32_t vertDsFactor
 
uint32_t * tableAddr
 
uint32_t numTblEntry
 

Field Documentation

◆ enable

uint32_t Rfe_LscConfig::enable

Flag to enable/disable LSC module TRUE: Enable this module FALSE: Disables this module When module disabled, it does not update Lut

◆ gainFmt

uint32_t Rfe_LscConfig::gainFmt

Format of the Gain the LSC Lut Refer Rfe_LscGainFmt for valid values

◆ horzDsFactor

uint32_t Rfe_LscConfig::horzDsFactor

Horizontal Downscaling factor for LSC Lut Refer Rfe_LscDsFactor for valid values

◆ vertDsFactor

uint32_t Rfe_LscConfig::vertDsFactor

Vertical Downscaling factor for LSC Lut Refer Rfe_LscDsFactor for valid values

◆ tableAddr

uint32_t* Rfe_LscConfig::tableAddr

LSC Table Address, The size of the LSC table can be at max 4758 entries, each entry contains gains for all 4 colors. 4758 locations with 4 Bytes/location, ie each entry contains gains forall four colors. TODO: Changed data type to uint64_t if required

◆ numTblEntry

uint32_t Rfe_LscConfig::numTblEntry

the number of valid entries in tableAddr The number of entries in the table must be equal to ((inputWidth / horzDcFactor) + 1) x ((inputHeight / vertDcFactor) + 1). The size of each entry is 4bytes