VP9 Profile 2 VDPAU support

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>
This commit is contained in:
ManojGuptaBonda 2020-10-08 11:48:51 +05:30 committed by Philip Langdale
parent 616eb93a40
commit ccca62ef99
3 changed files with 8 additions and 1 deletions

View File

@ -35,6 +35,7 @@ version <next>:
- AVS3 demuxer - AVS3 demuxer
- AVS3 video decoder via libuavs3d - AVS3 video decoder via libuavs3d
- Cintel RAW decoder - Cintel RAW decoder
- VDPAU accelerated VP9 10/12bit decoding
version 4.3: version 4.3:

View File

@ -28,7 +28,7 @@
#include "libavutil/version.h" #include "libavutil/version.h"
#define LIBAVCODEC_VERSION_MAJOR 58 #define LIBAVCODEC_VERSION_MAJOR 58
#define LIBAVCODEC_VERSION_MINOR 110 #define LIBAVCODEC_VERSION_MINOR 111
#define LIBAVCODEC_VERSION_MICRO 100 #define LIBAVCODEC_VERSION_MICRO 100
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \

View File

@ -223,6 +223,9 @@ static int update_size(AVCodecContext *avctx, int w, int h)
#endif #endif
#if CONFIG_VP9_VAAPI_HWACCEL #if CONFIG_VP9_VAAPI_HWACCEL
*fmtp++ = AV_PIX_FMT_VAAPI; *fmtp++ = AV_PIX_FMT_VAAPI;
#endif
#if CONFIG_VP9_VDPAU_HWACCEL
*fmtp++ = AV_PIX_FMT_VDPAU;
#endif #endif
break; break;
case AV_PIX_FMT_YUV420P12: case AV_PIX_FMT_YUV420P12:
@ -231,6 +234,9 @@ static int update_size(AVCodecContext *avctx, int w, int h)
#endif #endif
#if CONFIG_VP9_VAAPI_HWACCEL #if CONFIG_VP9_VAAPI_HWACCEL
*fmtp++ = AV_PIX_FMT_VAAPI; *fmtp++ = AV_PIX_FMT_VAAPI;
#endif
#if CONFIG_VP9_VDPAU_HWACCEL
*fmtp++ = AV_PIX_FMT_VDPAU;
#endif #endif
break; break;
} }