SDI II Intel® FPGA IP User Guide

ID 683133
Date 4/09/2024
Public
Document Table of Contents

5.4.6.1. RGB Pixel Packing

The Intel FPGA Streaming Video Protocol specifies a packing scheme for RGB pixels. The least significant symbol of an RGB pixel must be blue.

The following figure illustrates the 12 bits RGB video packet transported over AXI4-Stream Video interface configured at Bits per color sample parameter set to 12 bits. In this example, each pixel (36 bits) does not perfectly fill a given number of bytes, hence additional 4 undefined bits are padded at the most significant bits of each pixel.

Figure 34. 12 Bits RGB Video Packet When Parameter Bits Per Color Sample = 12
The following figure illustrates the 10 bits RGB video packet transported over AXI4-Stream Video interface configured at Bits per color sample parameter set to 12 bits. The active bits per color sample is less than the compile time parameter, hence the 2 least significant bits for each color sample are padded with zero.
Figure 35. 10 Bits RGB Video Packet When Parameter Bits Per Color Sample = 12

The following figure illustrates the 10 bits RGB video packet transported over AXI4-Stream Video interface configured at Bits per color sample parameter set to 10 bits. Each pixel (30 bits) does not perfectly fill a given number of bytes, consequently, additional 2 undefined bits are padded at the most significant bits of each pixel.

Figure 36. 10 Bits RGB Video Packet When Parameter Bits Per Color Sample = 10