18.104.22.168. 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.
|Input Format||Pipeline Format||Conversion|
|YCbCr 4:4:4||RGB||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|
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.