Hello,
I would like to request assistance in supporting AR0132RCCC sensor to Vision SDK Capture link.
Following the required changes specified in http://www.ti.com/lit/an/spraca8/spraca8.pdf to support RCCC in TDA2xx ISP,
I modified pdk_01_10_02_07/packages/ti/drv/vps/src/vpslib/hal/src/vpshal_issipipe.c. with the following:
gIssHalIpipeDefCfg is modified as follows:
- CFA Interpolation parameters
vpsissIpipeCfaConfig_t member value:
/* CFA Configuration */ { VPS_ISS_IPIPE_CFA_MODE_2DIRAC, 8192, 167U, 100U, 1023U, 16U, 10U, 0U, { 16U, 25U, 25U, 20U, 500U, 20U, 24U } },
- Auto white balance : Disabled in ISS by setting ALGORITHMS_ISS_AEWB_MODE_NONE
- Auto exposure : Disabled in ISS by setting ALGORITHMS_ISS_AEWB_MODE_NONE
- Color Correction
vpsissIpipeRgb2RgbConfig_t members with unity matrix:
/* RGB2RGB 1 Configuration */ { { {256U, 0, 0}, {0, 256U, 0}, {0, 0, 256U} }, {0U, 0U, 0U} }, /* RGB2RGB 2 Configuration */ { { {256U, 0, 0}, {0, 256U, 0}, {0, 0, 256U} }, {0U, 0U, 0U} },
- RGB2YUV conversion
vpsissIpipeRgb2YuvConfig_t member value:
/* RGB2YUV Configuration */ { 0U, /* Brightness */ 16U, /* Contrast */ { {0, 256U, 0}, {256U, 0, 0}, {0, 0, 0} }, {0U, 128U, 128U} },
However, the resulting frame is not expected.
Using RGGB interpolations configuration and coefficients, the result is as follows:
[BEFORE]
Image is monochrome (expected) but colors (red and green) appears to be washed out.
Separate issue on red patches appears on white pixels reported on a separate thread here: e2e.ti.com/.../846005
[AFTER]
The entire frame has blue overtone and the previous red patches are not blue.
Can anyone support me in configuring the ISS to convert RCCC RAW data into YUV properly?