PDK API Guide for J721E
Rfe_PwlConfig Struct Reference

Detailed Description

PWL configuration Structure Used for configuring All three PWL modules one by one. Can be used even for configuring mask/shift and dc subtraction.

Data Fields

uint32_t mask
 
uint32_t shift
 
int32_t offset [RFE_MAX_COLOR_COMP]
 
uint32_t gain [RFE_MAX_COLOR_COMP]
 
uint32_t enable
 
uint32_t xthr1
 
uint32_t xthr2
 
uint32_t xthr3
 
uint32_t ythr1
 
uint32_t ythr2
 
uint32_t ythr3
 
uint32_t slope1
 
uint32_t slope2
 
uint32_t slope3
 
uint32_t slope4
 
uint32_t slopeShift
 
uint32_t outClip
 

Field Documentation

◆ mask

uint32_t Rfe_PwlConfig::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_PwlConfig::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_PwlConfig::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_PwlConfig::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

◆ enable

uint32_t Rfe_PwlConfig::enable

Flag to enable/disable PWL, Used to uncompress sensor compressed pixel data using PWL The PWL block supports an input size from 8 - 16 bits and can support an output up to 24 bits.

◆ xthr1

uint32_t Rfe_PwlConfig::xthr1

Threshold value, 16bit is used

◆ xthr2

uint32_t Rfe_PwlConfig::xthr2

Threshold value, 16bit is used

◆ xthr3

uint32_t Rfe_PwlConfig::xthr3

Threshold value, 16bit is used

◆ ythr1

uint32_t Rfe_PwlConfig::ythr1

Threshold value, 24bit is used

◆ ythr2

uint32_t Rfe_PwlConfig::ythr2

Threshold value, 24bit is used

◆ ythr3

uint32_t Rfe_PwlConfig::ythr3

Threshold value, 24bit is used

◆ slope1

uint32_t Rfe_PwlConfig::slope1

Slope value, 16bit is used

◆ slope2

uint32_t Rfe_PwlConfig::slope2

Slope value, 16bit is used

◆ slope3

uint32_t Rfe_PwlConfig::slope3

Slope value, 16bit is used

◆ slope4

uint32_t Rfe_PwlConfig::slope4

Slope value, 16bit is used

◆ slopeShift

uint32_t Rfe_PwlConfig::slopeShift

Slope value for shift, 7 bits are used

◆ outClip

uint32_t Rfe_PwlConfig::outClip

Output Clip Value