5.7.5.9 CSI-2 Demux RAW Data Decompression Support

The CSI-2 implementation allows RAW data compression on the interface between the host processor and the camera module. Data compression schemes use an X-Y-Z naming convention where X is the number of bits per pixel in the original image, Y is the number of encoded (compressed) bits per pixel in the transmitted bit stream, and Z the number of decoded (uncompressed) bits per pixels.

Table 5-165. Decompression Mode Field Mapping to X-Y-Z Naming Convention
CSI2DC_VPCFG.DMX-Y-Z CSI-2 Naming Rule
DECODER8TO1212-8-12
DECODER7TO1212-7-12
DECODER6TO1212-6-12
DECODER8TO1010-8-10
DECODER7TO1010-7-10
DECODER6TO1010-6-10

The data compression schemes specified in CSI-2 Annex E are lossy and are designed to encode each line independently.

Table 5-166. Decoder Output Formatting
CSI2DC_VPCFG.DMRAW_DECODER[11:0]
DECODER8TO12XDECO[11:0]
DECODER7TO12XDECO[11:0]
DECODER6TO12XDECO[11:0]
DECODER8TO10XDECO[9:0]
DECODER7TO10XDECO[9:0]
DECODER6TO10XDECO[9:0]
Figure 5-68. RAW Decompression Decoder