Video and Image Processing Suite User Guide

ID 683416
Date 4/04/2022
Public
Document Table of Contents

22.2. Output Subsampling and Color Space

The Test Pattern Generator II IP core has parameters that enables you to configure the output subsampling and color space to either be fixed and set at compile time, or to be variable at run time using the Avalon-MM control slave interface.

The Output Format parameter sets the subsampling option:

  • 4:4:4 – Output is fixed at full sampling for each color plane (can be RGB or YCbCr).
  • 4:2:2 – Output is fixed at full sampling on the Y plane and horizontal subsampling on the Cb and Cr planes (RGB data is not supported in 4:2:2 mode).
  • 4:2:0 – Output is fixed at full sampling on the Y plane and horizontal and vertical subsampling on the Cb and Cr planes (RGB data is not supported in 4:2:0 mode).
  • Monochrome – Output has only one color plane per pixel and represents only a fully sampled Y plane.
  • Variable – Output can be configured at run time to be 4:4:4 RGB, 4:4:4 YCbCr, 4:2:2 YCbCr, or 4:2:0 YCbCr.

The Test Pattern Generator II IP core allows you to enable up to 8 different test pattern configurations to switch between at run time.

  • Each configuration is a combination of 1 of the 5 available patterns and a formatting option.
  • Each test pattern configuration is fixed in one particular output format. However, by selecting between the patterns, you can vary the overall output format at run time.

For example, you may include 4 different configurations, all of which are color bars but with the first configuration set to 4:4:4 RGB, the second set to 4:4:4 YCbCr, the third set to 4:2:2 YCbCr, and the fourth set to 4:2:0 YCbCr. With this setting, you can validate all of the possible configurations of an HDMI 2.0 output.