Event
RDK X5 MIPI YUV422 Reception: UYVY Appears as YUYV in DDR
1 reports · 1 sources
A developer reported in the D-Robotics Developer Community: when RDK X5 receives YUV422 data via MIPI CSI-2 (DT=0x1E, pack_mode=1, resolution 1080×2912, wstride 2160), the image in DDR parses correctly as YUYV but shows incorrect colors when parsed as UYVY; the UYVY order appears to have been swapped to YUYV. In addition, the 16-bit depth and metadata data at the end of the frame must be swapped every 2 bytes before they can be parsed correctly; GMSL using Pixel Mode and Tunnel Mode yields the same result.
Report timeline
- When RDK X5 receives MIPI YUV422, why does UYVY become YUYV in DDR?
A developer receiving data on the RDK X5 via MIPI CSI-2 (DT=0x1E, pack_mode=1, 1080×2912, wstride 2160) found that the image area parses correctly as YUYV but shows wrong colors as UYVY, and that the 16-bit depth and metadata at the frame tail must be byte-swapped every 2 bytes before they can be parsed; GMSL Pixel Mode and Tunnel Mode give the same result.
D-Robotics Developer Community ·