radeonsi/vcn: add support for picture crop on JPEG 4.0.3
authorSathishkumar S <sathishkumar.sundararaju@amd.com>
Fri, 21 Oct 2022 14:26:07 +0000 (19:56 +0530)
committerMarge Bot <emma+marge@anholt.net>
Thu, 6 Apr 2023 15:00:53 +0000 (15:00 +0000)
commitd0477cbd078aca923a1441227418aa06349cec2f
tree39857dd6155c108aa682addb2adc992ed5d446cd
parent74572084d8887bd80f8ee78f3e051c10cf01724b
radeonsi/vcn: add support for picture crop on JPEG 4.0.3

set the crop region and enable the feature if requested

Signed-off-by: Sathishkumar S <sathishkumar.sundararaju@amd.com>
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22158>
src/amd/common/ac_vcn_dec.h
src/gallium/drivers/radeonsi/radeon_vcn_dec.c
src/gallium/drivers/radeonsi/radeon_vcn_dec_jpeg.c
src/gallium/include/pipe/p_video_state.h