[FFmpeg-devel] [PATCH] VP9 Profile 2 VDPAU support

Philip Langdale philipl at overt.org
Thu Oct 8 21:26:20 EEST 2020


On Thu, 8 Oct 2020 11:48:51 +0530
ManojGuptaBonda <mbonda at nvidia.com> wrote:

> Added VDPAU to list of supported formats for VP9 420 10 and 12 bit
> formats. Add VP9 10/12 Bit support for VDPAU
> ---
>  libavcodec/vp9.c | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c
> index fd0bab14a2..8b89fd68e2 100644
> --- a/libavcodec/vp9.c
> +++ b/libavcodec/vp9.c
> @@ -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;
>          }

Pushed. Thanks,


--phil


More information about the ffmpeg-devel mailing list