From 2b720676e070c9920391ef29d35d8ca6a79bf0c6 Mon Sep 17 00:00:00 2001 From: Philip Langdale Date: Sat, 23 Jul 2022 11:23:38 -0700 Subject: [PATCH] lavu/hwcontext_vaapi: Map the AYUV format This is the format used by Intel VAAPI for 8bit 4:4:4 content. --- libavutil/hwcontext_vaapi.c | 1 + libavutil/version.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/libavutil/hwcontext_vaapi.c b/libavutil/hwcontext_vaapi.c index c3a98bc4b1..2ee5145727 100644 --- a/libavutil/hwcontext_vaapi.c +++ b/libavutil/hwcontext_vaapi.c @@ -125,6 +125,7 @@ static const VAAPIFormatDescriptor vaapi_format_map[] = { MAP(411P, YUV411, YUV411P, 0), MAP(422V, YUV422, YUV440P, 0), MAP(444P, YUV444, YUV444P, 0), + MAP(AYUV, YUV444, VUYA, 0), MAP(Y800, YUV400, GRAY8, 0), #ifdef VA_FOURCC_P010 MAP(P010, YUV420_10BPP, P010, 0), diff --git a/libavutil/version.h b/libavutil/version.h index 5095743fed..ee43526dc6 100644 --- a/libavutil/version.h +++ b/libavutil/version.h @@ -80,7 +80,7 @@ #define LIBAVUTIL_VERSION_MAJOR 57 #define LIBAVUTIL_VERSION_MINOR 32 -#define LIBAVUTIL_VERSION_MICRO 100 +#define LIBAVUTIL_VERSION_MICRO 101 #define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \ LIBAVUTIL_VERSION_MINOR, \