[FFmpeg-devel] [PATCH 2/3] lavu/hwcontext_vaapi: Map the AYUV format

Philip Langdale philipl at overt.org
Sat Jul 23 21:53:14 EEST 2022


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 e9eefcdb2c..21f11f3d6b 100644
--- a/libavutil/version.h
+++ b/libavutil/version.h
@@ -80,7 +80,7 @@
 
 #define LIBAVUTIL_VERSION_MAJOR  57
 #define LIBAVUTIL_VERSION_MINOR  31
-#define LIBAVUTIL_VERSION_MICRO 100
+#define LIBAVUTIL_VERSION_MICRO 101
 
 #define LIBAVUTIL_VERSION_INT   AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \
                                                LIBAVUTIL_VERSION_MINOR, \
-- 
2.34.1



More information about the ffmpeg-devel mailing list