diff options
author | ManojGuptaBonda <mbonda@nvidia.com> | 2020-10-08 11:48:51 +0530 |
---|---|---|
committer | Philip Langdale <philipl@overt.org> | 2020-10-08 11:18:14 -0700 |
commit | ccca62ef991f0a47dfa30c3e822d91294b8afe4c (patch) | |
tree | 11cc73e4731414e582af3d35b9912eb35ccabbf3 /libavcodec/vp9.c | |
parent | 616eb93a404c088635be74498ddb04072dfe1b90 (diff) | |
download | ffmpeg-ccca62ef991f0a47dfa30c3e822d91294b8afe4c.tar.gz |
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>
Diffstat (limited to 'libavcodec/vp9.c')
-rw-r--r-- | libavcodec/vp9.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c index fd0bab14a2..8b89fd68e2 100644 --- a/libavcodec/vp9.c +++ b/libavcodec/vp9.c @@ -224,6 +224,9 @@ static int update_size(AVCodecContext *avctx, int w, int h) #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: #if CONFIG_VP9_NVDEC_HWACCEL @@ -232,6 +235,9 @@ static int update_size(AVCodecContext *avctx, int w, int h) #if CONFIG_VP9_VAAPI_HWACCEL *fmtp++ = AV_PIX_FMT_VAAPI; #endif +#if CONFIG_VP9_VDPAU_HWACCEL + *fmtp++ = AV_PIX_FMT_VDPAU; +#endif break; } |