summaryrefslogtreecommitdiff
path: root/libavcodec/vdpau_internal.h
diff options
context:
space:
mode:
authorManojGuptaBonda <mbonda-at-nvidia.com@ffmpeg.org>2022-05-16 18:45:58 +0530
committerPhilip Langdale <philipl@overt.org>2022-06-25 09:05:58 +0800
commita44fba0b5b3b4090f9238751736198ddd1f0f1d5 (patch)
treec598835ac4288f495be4f4d864fa5e1d67b0551a /libavcodec/vdpau_internal.h
parentcf30b538e522703924ce3ef68ddfbd557a29d93f (diff)
downloadffmpeg-a44fba0b5b3b4090f9238751736198ddd1f0f1d5.tar.gz
AV1 VDPAU hwaccel Decode support
Support for VDPAU accelerated AV1 decoding was added with libvdpau-1.5. Support for the same in ffmpeg is added with this patch. Profiles related to VDPAU AV1 can be found in latest vdpau.h present in libvdpau-1.5. Add AV1 VDPAU to list of hwaccels and supported formats Added file vdpau_av1.c and Modified configure to add VDPAU AV1 support. Mapped AV1 profiles to VDPAU AV1 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 b6ea078cb2..347576e0c3 100644
--- a/libavcodec/vdpau_internal.h
+++ b/libavcodec/vdpau_internal.h
@@ -57,6 +57,9 @@ union VDPAUPictureInfo {
#ifdef VDP_DECODER_PROFILE_VP9_PROFILE_0
VdpPictureInfoVP9 vp9;
#endif
+#ifdef VDP_DECODER_PROFILE_AV1_MAIN
+ VdpPictureInfoAV1 av1;
+#endif
};
typedef struct VDPAUHWContext {