Skip to content

vaapipostproc: Fix output buffer WxH and crop_meta with rotation when forwarding to downstream.

When "crop meta forwarding" to downstream, right/bottom cropping needs to be accounted for in the output buffer's width and height. Before, only left/top was accounted for in width and height.

Also, if vaapipostproc is doing rotation + "crop meta forwarding", then output buffer and crop meta needs to be rotated, too.

See commit messages for tests.

Edited by U. Artie Eoff

Merge request reports

Loading