The following table shows the color mapping for the AXI4-Stream interface, which complies with the guidelines in the AXI4-Stream Video IP and System Design Guide (UG934).
AXI4-Stream Interface | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Pixel 3 | Pixel 2 | Pixel 1 | Pixel 0 | |||||||||
Comp3 | Comp2 | Comp1 | Comp3 | Comp2 | Comp1 | Comp3 | Comp2 | Comp1 | Comp3 | Comp2 | Comp1 | |
RGB | R | B | G | R | B | G | R | B | G | R | B | G |
YCbCr444 | Cr | Cb | Y | Cr | Cb | Y | Cr | Cb | Y | Cr | Cb | Y |
YCbCr422 | N/A | Cr/Cb | Y | N/A | Cr/Cb | Y | N/A | Cr/Cb | Y | N/A | Cr/Cb | Y |
YUV420 (Even line) |
N/A | Cr | Y | N/A | Cb | Y | N/A | Cr | Y | N/A | Cb | Y |
YUV420 (Odd line) |
N/A | Invalid Data | Y | N/A | Invalid Data | Y | N/A | Invalid Data | Y | N/A | Invalid Data | Y |
Y-Only | N/A | N/A | Y | N/A | N/A | Y | N/A | N/A | Y | N/A | N/A | Y |
|