SPRUIE9D May 2017 – May 2024 DRA74P , DRA75P , DRA76P , DRA77P
Figure 9-135 shows the ISS ISP ISIF Color Space Converter Block Diagram.
The color space converter (CSC) includes four 8-bit × 12-bit multipliers and one adder for the color space conversion. These multiplier/adder units are used for the operation described in Figure 9-136. Data are taken from two input lines during the operation.
Coefficients are signed 8-bit (decimal is 5 bits). Coefficients are set through the following registers:
The CSC can convert CMYG filtered CCD data to Bayer matrix (RGBG) data, as shown in Figure 9-137.
Figure 9-138 through Figure 9-140 show which input pixels are used for the operation. There is 1line latency between the input and the output.
As shown inFigure 9-141 through Figure 9-144, the operation for the last pixel and the second last pixel uses the same input data.
Also, the operation for the last line and the second last line uses the same input data (see Figure 9-145 and Figure 9-146).
In addition to the registers specific to the CSC, some of the registers are shared with the input data formatter to configure the valid area:
There must be at least 1 invalid pixel at the end of the line and one invalid line at the end of the frame.
To enable the color space conversion, set the ISIF_CSCCTL[0] CSCEN bit to 1.