]> git.sesse.net Git - ffmpeg/commitdiff
VP9 Profile 2 VDPAU support
authorManojGuptaBonda <mbonda@nvidia.com>
Thu, 8 Oct 2020 06:18:51 +0000 (11:48 +0530)
committerPhilip Langdale <philipl@overt.org>
Thu, 8 Oct 2020 18:18:14 +0000 (11:18 -0700)
Added VDPAU to list of supported formats for VP9 420 10 and 12 bit
formats. Add VP9 10/12 Bit support for VDPAU

Signed-off-by: Philip Langdale <philipl@overt.org>
Changelog
libavcodec/version.h
libavcodec/vp9.c

index 0ecda9ed52211de8df1bf7fd0a84f14005fd5100..996ed2ca510f81837f6e5c89f8d6da1bb4017490 100644 (file)
--- a/Changelog
+++ b/Changelog
@@ -35,6 +35,7 @@ version <next>:
 - AVS3 demuxer
 - AVS3 video decoder via libuavs3d
 - Cintel RAW decoder
+- VDPAU accelerated VP9 10/12bit decoding
 
 
 version 4.3:
index 935a46940d1c056630a208a8a071ce14440e3ea8..c80fc4df866a5efedd614c23be90de8e1aa67da0 100644 (file)
@@ -28,7 +28,7 @@
 #include "libavutil/version.h"
 
 #define LIBAVCODEC_VERSION_MAJOR  58
-#define LIBAVCODEC_VERSION_MINOR 110
+#define LIBAVCODEC_VERSION_MINOR 111
 #define LIBAVCODEC_VERSION_MICRO 100
 
 #define LIBAVCODEC_VERSION_INT  AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
index fd0bab14a239e8160348779af3cceeabde708884..8b89fd68e2467565b52c811e4701e9347cc75ffd 100644 (file)
@@ -223,6 +223,9 @@ static int update_size(AVCodecContext *avctx, int w, int h)
 #endif
 #if CONFIG_VP9_VAAPI_HWACCEL
             *fmtp++ = AV_PIX_FMT_VAAPI;
+#endif
+#if CONFIG_VP9_VDPAU_HWACCEL
+            *fmtp++ = AV_PIX_FMT_VDPAU;
 #endif
             break;
         case AV_PIX_FMT_YUV420P12:
@@ -231,6 +234,9 @@ static int update_size(AVCodecContext *avctx, int w, int h)
 #endif
 #if CONFIG_VP9_VAAPI_HWACCEL
             *fmtp++ = AV_PIX_FMT_VAAPI;
+#endif
+#if CONFIG_VP9_VDPAU_HWACCEL
+            *fmtp++ = AV_PIX_FMT_VDPAU;
 #endif
             break;
         }