The following fields should be programmed
correctly for the FCP module to function.
- Input LUT
- Use the LUT to reduce the bitwidth of the data to 12 bits so that it can pass through the Flexible CFA pipe.
- If the GLBCE module is disabled, set the bit width and enable the LUT.
- Flexible CFA
- Program the Flexible CFA kernels based on the input data pettern. Program only 3 channels for Bayer sensors and up to 4 for other non-standard formats like RGB-IR.
- Set up the correct thresholds (use only one set for Bayer type sensors and two sets for non-standard formats like RGB-IR).
- Flexible CC
- Set up the Flexible CC for either visual or analytics data flow.
- For visual, program the CCM-1 to be used as RGB2RGB and Contrast to be used as Gamma with clip at 10 bits. Only the 8-bit outputs are used and the Y8/C8 data is generated using shift down from 10 to 8 (instead of LUT).
- For analytics, CCM-1 is progrmmed depending on sensor input format and the hisogram is used to populate the contrast table. 12-bit outputs are used however Y8/C8 can be generated using 12 to 8 LUT based downshifting. The correct Saturation generation parameters should also be set.