SPRUIE9D May 2017 – May 2024 DRA74P , DRA75P , DRA76P , DRA77P
CAL reads YUV420 NV12 or NV21 data from memory when CAL_RD_DMA_CTRL2[5:4] RD_PATTERN = YUV420. UV data is read twice and interleaved at byte level with Y data to provide YUV422 UYVY to the internal pipeline. The image size read from memory is CAL_RD_DMA_XSIZE .XSIZE*8 bytes x CAL_RD_DMA_YSIZE .YSIZE lines for the Y buffer, and CAL_RD_DMA_XSIZE .XSIZE*8 bytes x CAL_RD_DMA_YSIZE .YSIZE/2 lines for the UV buffer. However, each UV line is read twice. The image size provided to the internal pipeline is CAL_RD_DMA_XSIZE .XSIZE*16 bytes x CAL_RD_DMA_YSIZE .YSIZE lines.
CAL duplicates chrominance data and does not interpolate it.
Circular mode can be combined with YUV420 upsampling. The spatial wrap point is the same for the Y and UV planes and UV lines are still read twice.