PDK API Guide for J721E
|
WDR Merge configuration Structure Used for configuring both the WDR Merge blocks in VPAC individually.
Data Fields | |
uint32_t | enable |
uint32_t | useShortExpForWgtCalc |
uint32_t | dst |
uint32_t | sbit |
uint32_t | lbit |
uint32_t | gshort |
uint32_t | glong |
uint32_t | lbk [RFE_MAX_COLOR_COMP] |
uint32_t | sbk [RFE_MAX_COLOR_COMP] |
uint32_t | lwb [RFE_MAX_COLOR_COMP] |
uint32_t | swb [RFE_MAX_COLOR_COMP] |
uint32_t | wdrThr |
uint32_t | afe |
uint32_t | afm |
uint32_t | bf |
uint32_t | mas |
uint32_t | mad |
uint32_t | mergeShift |
uint32_t | mergeClip |
uint32_t Rfe_WdrConfig::enable |
Flag to enable or bypass WDR Merge block TRUE: enables WDR merge block, in this case it expects two exposure inputs. FALSE: bypassed WDR Merge block, short exposure input will pass to the output.
uint32_t Rfe_WdrConfig::useShortExpForWgtCalc |
Flag to make use of Short Exposure for the Weight calculation TRUE: Use Short exposure for weight calculcation FALSE: Use long exposure for weight calculation Refer to specs for more details
uint32_t Rfe_WdrConfig::dst |
Down shift value, after WDR merge. Range 0x0 to 0x1F
uint32_t Rfe_WdrConfig::sbit |
Shift up value for short exposure frame. Range 0x0 to 0xF
uint32_t Rfe_WdrConfig::lbit |
Shift up value for long exposure frame. Range 0x0 to 0xF
uint32_t Rfe_WdrConfig::gshort |
WDR Merge parameter. Gain parameter to be applied for short frame. Range is 0 - 65535.
uint32_t Rfe_WdrConfig::glong |
WDR Merge parameter. Gain parameter to be applied for long frame. Range is 0 - 65535.
uint32_t Rfe_WdrConfig::lbk[RFE_MAX_COLOR_COMP] |
Black level for long exposure. The black level at index 0 is applied to even pixel on even line. The black level at index 1 is applied to odd pixel on even line. The black level at index 2 is applied to even pixel on odd line. The black level at index 3 is applied to odd pixel on odd line. only 12 bits are used.
uint32_t Rfe_WdrConfig::sbk[RFE_MAX_COLOR_COMP] |
Black level for short exposure. The black level at index 0 is applied to even pixel on even line. The black level at index 1 is applied to odd pixel on even line. The black level at index 2 is applied to even pixel on odd line. The black level at index 3 is applied to odd pixel on odd line. only 12 bits are used.
uint32_t Rfe_WdrConfig::lwb[RFE_MAX_COLOR_COMP] |
White balance gain for Long exposure input pixels The gain at index 0 is applied to even pixel on even line. The gain at index 1 is applied to odd pixel on even line. The gain at index 2 is applied to even pixel on odd line. The gain at index 3 is applied to odd pixel on odd line. only 13 bits are used
uint32_t Rfe_WdrConfig::swb[RFE_MAX_COLOR_COMP] |
White balance gain for Short exposure input pixels The gain at index 0 is applied to even pixel on even line. The gain at index 1 is applied to odd pixel on even line. The gain at index 2 is applied to even pixel on odd line. The gain at index 3 is applied to odd pixel on odd line. only 13 bits are used
uint32_t Rfe_WdrConfig::wdrThr |
WDR Threshold value. only 16 bits are used
uint32_t Rfe_WdrConfig::afe |
WDR Merge parameter. Exponential part of value in weight calculation 6 bits unsigned value
uint32_t Rfe_WdrConfig::afm |
WDR Merge parameter. Mantissa part of value in weight calculation 16 bits signed value
uint32_t Rfe_WdrConfig::bf |
WDR Merge parameter. Q0.15 BF * 2 ^ -16 * 2 ^ -5 16 bits are used
uint32_t Rfe_WdrConfig::mas |
Adaptive filter, slope config 16 bits are used.
uint32_t Rfe_WdrConfig::mad |
Adaptive filter, threshold config 16 bits are used.
uint32_t Rfe_WdrConfig::mergeShift |
Post merger divide factor
uint32_t Rfe_WdrConfig::mergeClip |
Post merger clip threshold