Skip to content

radeon: Add cropping to encoded H.265 when padding is used

Thong Thai requested to merge thongthai/mesa:hevc_alignment_crop into master

Because the VCN encoder needs the surface to be memory aligned, the resolution of the image passed to the encoder might be larger and have extra padding added - this change crops the resulting output to compensate for the extra padding that might have been added.

Closes: #4559 (closed) Signed-off-by: Thong Thai thong.thai@amd.com

Merge request reports