GTS SDI II IP User Guide

ID 823539
Date 6/30/2025
Public
Document Table of Contents

5.4.3.1. RGB Pixel Packing

The Altera 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 21. 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 22. 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 23. 10 Bits RGB Video Packet When Parameter Bits Per Color Sample = 10