summaryrefslogtreecommitdiff
path: root/libavcodec/vdpau_internal.h
diff options
context:
space:
mode:
authorManojGuptaBonda <mbonda@nvidia.com>2019-10-25 11:00:13 +0530
committerPhilip Langdale <philipl@overt.org>2019-10-26 09:57:01 -0700
commit1054752c563cbe978f16010ed57dfa23a41ee490 (patch)
treea6d9b9657c10680766f47161deb23094687b4fcb /libavcodec/vdpau_internal.h
parente1d993d829a6386d1b0514ea38f723d2b31b38fe (diff)
Add support for VP9 VDPAU hwaccel decode
Support for VDPAU accelerated VP9 decoding was added with libvdpau-1.3. Support for the same in ffmpeg is added with this patch. Profiles related to VDPAU VP9 can be found in latest vdpau.h present in libvdpau-1.3. DRC clips are not supported yet due to http://trac.ffmpeg.org/ticket/8068 Add VP9 VDPAU to list of hwaccels and supported formats Added file vdpau_vp9.c and Modified configure to add VDPAU VP9 support. Mapped VP9 profiles to VDPAU VP9 profiles. Populated the codec specific params that need to be passed to VDPAU. Signed-off-by: Philip Langdale <philipl@overt.org>
Diffstat (limited to 'libavcodec/vdpau_internal.h')
-rw-r--r--libavcodec/vdpau_internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/vdpau_internal.h b/libavcodec/vdpau_internal.h
index 1ee38dbc55..b6ea078cb2 100644
--- a/libavcodec/vdpau_internal.h
+++ b/libavcodec/vdpau_internal.h
@@ -54,6 +54,9 @@ union VDPAUPictureInfo {
#ifdef VDP_YCBCR_FORMAT_Y_U_V_444
VdpPictureInfoHEVC444 hevc_444;
#endif
+#ifdef VDP_DECODER_PROFILE_VP9_PROFILE_0
+ VdpPictureInfoVP9 vp9;
+#endif
};
typedef struct VDPAUHWContext {