PDK API Guide for J721E
Fcp_CcmConfig Struct Reference

Detailed Description

Color Conversion Module Used 4 outputs of the CFA and generates 3 outputs. Allows genration of the different color combination from four inputs colors.

Data Fields

int32_t weights [FCP_MAX_CCM_COEFF][FCP_MAX_CCM_COEFF_IN_RAW]
 
int32_t offsets [FCP_MAX_CCM_COEFF]
 

Field Documentation

◆ weights

int32_t Fcp_CcmConfig::weights[FCP_MAX_CCM_COEFF][FCP_MAX_CCM_COEFF_IN_RAW]

Weights of the CCM matrix. Four weights in each row for four input color. Format is 12b signed each (S12Q8) representing a range from -8 to +7.996 with 8 bits of fraction.

◆ offsets

int32_t Fcp_CcmConfig::offsets[FCP_MAX_CCM_COEFF]

Offsets of the CCM Matrix Format is 13b signed notation (S13Q11) representing a range of -4096 to +4095. An offset of 2048 should be programmed to apply a +1 offset to the incoming pixel value.