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>tags/n4.4
@@ -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: | ||||
@@ -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, \ | ||||
@@ -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; | ||||
} | } | ||||