radeon/vcn: Handle crop parameters for encoder
authorSatyajit Sahu <satyajit.sahu@amd.com>
Tue, 24 Dec 2019 05:50:25 +0000 (11:20 +0530)
committerMarge Bot <eric+marge@anholt.net>
Thu, 9 Jan 2020 15:43:18 +0000 (15:43 +0000)
commit4e3a09db25c6609eeeb710f3863fc67914d2edc1
treedfa6f83f7c69da87ec85324b8e2424cb7357006e
parentcd31da4587bd69567f5026298345d79bd5070bc4
radeon/vcn: Handle crop parameters for encoder

Set proper cropping parameter if frame cropping is enabled

Signed-off-by: Satyajit Sahu <satyajit.sahu@amd.com>
Reviewed-by: Boyuan Zhang boyuan.zhang@amd.com
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3328>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3328>
src/gallium/drivers/radeon/radeon_vcn_enc.c