anv/image: get width/height for each plane of a surface for video decoding.
authorHyunjun Ko <zzoon@igalia.com>
Tue, 11 Apr 2023 01:39:53 +0000 (10:39 +0900)
committerMarge Bot <emma+marge@anholt.net>
Fri, 19 May 2023 06:15:02 +0000 (06:15 +0000)
commitad02e21ad208279047b0f747d15df3a52992c920
treeb5e9effdf6ab119daf036053b06044946e0dd405
parent50374b1f9a22898991094d0f5303b782100c693b
anv/image: get width/height for each plane of a surface for video decoding.

This is especially for p010 format, which isn't supported for YCbCr
conversion yet.

Signed-off-by: Hyunjun Ko <zzoon@igalia.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22202>
src/intel/vulkan/anv_image.c