PDK API Guide for J721E
Rfe_Wb1Config Struct Reference

Detailed Description

White balance configuration structure There are two white balance modules in the RAW FE. This structure is used for configuring WB module, just before PWL. It is also used to configure DC offset and mask..

Data Fields

uint32_t mask
 
uint32_t shift
 
int32_t offset [RFE_MAX_COLOR_COMP]
 
uint32_t gain [RFE_MAX_COLOR_COMP]
 

Field Documentation

◆ mask

uint32_t Rfe_Wb1Config::mask

16bit mask bit pattern, used to mask out any control information present in the data this field is used and will be configured even if pwl module is disabled, it gets applied first in the input pixels.

◆ shift

uint32_t Rfe_Wb1Config::shift

3 bit configuration to perform a right shift (>>) from 0 to 7 bits, used to mask/remove out any control information present in the data this field is used and will be configured even if pwl module is disabled, it gets applied after application of mask.

◆ offset

int32_t Rfe_Wb1Config::offset[RFE_MAX_COLOR_COMP]

DC Subtraction in S24 format Used for removing black level from input pixel this field is used and will be configured even if pwl module is disabled. It gets applied after PWL

◆ gain

uint32_t Rfe_Wb1Config::gain[RFE_MAX_COLOR_COMP]

White balance gains for each color component Used after applying DC subtraction H3A receives DC subtracted (but not WB corrected) data