This register specifies the video format that the core uses for memory. Supported memory video formats are those selected in the Vivado IDE (See Memory Mapped AXI4 Interface). The memory video format should match the AXI4-Stream interface data format as shown in the following table. Memory formats using eight bits per component can be scaled up and then read out to a 10-bit per component video stream. (Scaling is performed by shifting bits. For example, 255 in eight bits becomes 1020 in 10 bits.) Similarly, a 10-bit video stream can be scaled down and written to 8-bit memory video formats. The reverse is not true. 8-bit video stream data cannot be written to or read from 10-bit memory video formats.
Memory Video Format | Compatible AXI4-Stream Video Format |
---|---|
RGBX8 | RGB |
RGBX10 | |
RGB8 | |
BGR8 | |
BGRX8 | |
YUVX8 | YUV 4:4:4 |
YUVX10 | |
YUV8 | |
Y_U_V8 | |
Y_U_V10 | |
Y8 | |
Y10 | |
YUYV8 | YUV 4:2:2 |
Y_UV8 | |
Y_UV10 | |
UYVY8 | |
Y_UV8_420 | YUV 4:2:0 |
Y_U_V8_420 | |
Y_UV10_420 | |
RGBA8 | RGB with per pixel alpha |
BGRA8 | |
YUVA8 | YUV 4:4:4 with per pixel alpha |