SPRUIE9D May 2017 – May 2024 DRA74P , DRA75P , DRA76P , DRA77P
Figure 9-135 shows the ISS ISP ISIF Color Space Converter Block Diagram.
Figure 9-135 ISS ISP ISIF Color Space Converter Block DiagramThe 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:
Figure 9-136 ISS ISP ISIF Color Space Converter OperationThe CSC can convert CMYG filtered CCD data to Bayer matrix (RGBG) data, as shown in Figure 9-137.
Figure 9-137 ISS ISP ISIF Color Space Converter Operation: CMYG to RGBGFigure 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.
Figure 9-138 ISS ISP ISIF Color Space Conversion Example
Figure 9-139 ISS ISP ISIF First Pixel/First Line Generation
Figure 9-140 ISS ISP ISIF Second Pixel/First Line GenerationAs shown inFigure 9-141 through Figure 9-144, the operation for the last pixel and the second last pixel uses the same input data.
Figure 9-141 ISS ISP ISIF Second Last Pixel/First Line Generation
Figure 9-142 ISS ISP ISIF Last Pixel/First Line Generation
Figure 9-143 ISS ISP ISIF First Pixel/Last Line Generation
Figure 9-144 ISS ISP ISIF Second Pixel/Last Line GenerationAlso, the operation for the last line and the second last line uses the same input data (see Figure 9-145 and Figure 9-146).
Figure 9-145 ISS ISP ISIF Second Last Pixel/Last Line Generation
Figure 9-146 ISS ISP ISIF Last Pixel/Last Line GenerationIn 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.