The video output is an AXI4-Stream in the AMD UG934 video convention, with nothing added and nothing left out:
- Pixel orderPixel 0, the first in time, sits in the least significant bits. Pixels are packed tight, with no padding between them.
- Component orderA pixel is its components packed tight, in the UG934 order of its layout.
- Component widthEvery component has
VID_BPCbits on the bus. A narrower link depth is MSB-aligned with zero LSBs; a wider one loses its LSBs. - Padding
tdatais padded with zeros at the top to a whole number of bytes; bits a format does not use are zero. - Framing
tuser[0]marks the first beat of a frame,tlastthe last beat of every line.
Three parameters size the bus: VID_PPC (2 or 4 pixels per beat), VID_BPC (8 to
16 bits per component) and VID_CPP (1 to 3 components per pixel). The IP GUI derives
VID_CPP and the tdata width from the formats you switch on.
| VID_CPP | VID_PPC | BPC 8 | BPC 10 | BPC 12 | BPC 14 | BPC 16 |
|---|---|---|---|---|---|---|
| 1 Mono, Bayer, Raw | 2 | 16 | 24 | 24 | 32 | 32 |
| 4 | 32 | 40 | 48 | 56 | 64 | |
| 2 adds YCbCr 4:2:2 and 4:2:0 | 2 | 32 | 40 | 48 | 56 | 64 |
| 4 | 64 | 80 | 96 | 112 | 128 | |
| 3 adds RGB and YCbCr 4:4:4 | 2 | 48 | 64 | 72 | 88 | 96 |
| 4 | 96 | 120 | 144 | 168 | 192 |
AMD video IP uses the same three numbers under other names (Samples per Clock, Maximum Data Width, Number
of Video Components). With equal numbers on both sides the buses connect directly. Where an AMD IP has no
14-bit option, build the core with VID_BPC = 16 and the 14-bit data arrives MSB-aligned in 16.