st/va: add support YUY2
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Thu, 13 Feb 2020 18:24:43 +0000 (19:24 +0100)
committerPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Thu, 27 Feb 2020 09:01:35 +0000 (10:01 +0100)
commit5bc71e1bacccf5c001e0685f2bff0dc05602a164
treea605a34c1d00f91bd52d3e4df88060b4614a6491
parentd2e715e57a49c52a728ff0f9ca84111197a786ac
st/va: add support YUY2

YUY2 is a duplicate of YUYV and is used by gstreamer for 4:2:2.

Acked-by: Leo Liu <leo.liu@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3738>
src/gallium/state_trackers/va/image.c
src/gallium/state_trackers/va/va_private.h