anv/android: Add support for AHARDWAREBUFFER_FORMAT_YV12
authorChris Spencer <spencercw@gmail.com>
Sun, 30 Jul 2023 08:23:05 +0000 (09:23 +0100)
committerMarge Bot <emma+marge@anholt.net>
Wed, 23 Aug 2023 09:56:03 +0000 (09:56 +0000)
commit280281f8f72e0934d08557f370f9e22b61a3bf68
tree4a2309f894e5bb44bf83d2ccdaa3bd7764fc6a4a
parent35fddccf3fdae57545cc6fb1949224b6ce71859f
anv/android: Add support for AHARDWAREBUFFER_FORMAT_YV12

The default MediaCodec software video decoder returns frames in this
format.

Signed-off-by: Chris Spencer <spencercw@gmail.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24388>
src/intel/vulkan/anv_android.c
src/intel/vulkan/anv_image.c