Skip to content

radeonsi/vcn: Force padding according to input surface + gracefully handle encode errors

David Rosca requested to merge nowrep/mesa:vcn-validate_input_surf into main

What does this MR do and why?

Fixes issue when using externally allocated surfaces (smaller than aligned coded size) for encode input and incorrectly setting crop parameters. Previously we would only use the crop to set the padding, but it should also consider input surface size.

Merge request reports

Loading