Video and Image Processing Suite User Guide

ID 683416
Date 2/12/2021

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents Resampling 4:2:0

When the 4:2:0 samples brought into the pipeline, they should be resampled to 4:2:2 or 4:4:4 to be compatible with the other processing IP cores.

The table below summarizes the conversions required to move from each sampling scheme to a specific pipeline sampling scheme. For systems requiring color space conversion and chroma resampling, the order of chroma resampler and color space converter in the system is determined by whether the pipeline target is RGB or YCbCr.

Table 12.  Conversions Required to Present an Input Video Stream in the Designated Pipeline Format
Input Format Pipeline Format Conversion
YCbCr 4:4:4 RGB Color Space Conversion
YCbCr 4:2:2 RGB
  • Chroma Resampling
  • Color Space Conversion
YCbCr 4:2:0 RGB
  • Chroma Resampling
  • Color Space Conversion
YCbCr 4:4:4 YCbCr 4:4:4 None
YCbCr 4:2:2 YCbCr 4:4:4 Chroma Resampling
YCbCr 4:2:0 YCbCr 4:4:4 Chroma Resampling
RGB YCbCr 4:4:4 Color Space Conversion
YCbCr 4:4:4 YCbCr 4:2:2 Chroma Resampling
YCbCr 4:2:2 YCbCr 4:2:2 None
YCbCr 4:2:0 YCbCr 4:2:2 Chroma Resampling
RGB YCbCr 4:2:2
  • Color Space Conversion
  • Chroma Resampling

The Chroma Resampler II IP core makes assumptions about the arrangement of pixel sub-samples for its resampling. It could be because that the connectivity core does not supply pixels with the sub-samples in this order. If this is the case, then use a color plane sequencer to rearrange the sub-samples into the correct order.

Refer to the Chroma Resampler II IP Core for the expected sample ordering.