summaryrefslogtreecommitdiff
path: root/libavcodec/hwaccels.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/hwaccels.h
parentcf30b538e522703924ce3ef68ddfbd557a29d93f (diff)
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/hwaccels.h')
-rw-r--r--libavcodec/hwaccels.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/hwaccels.h b/libavcodec/hwaccels.h
index ff4daca0e2..aca55831f3 100644
--- a/libavcodec/hwaccels.h
+++ b/libavcodec/hwaccels.h
@@ -26,6 +26,7 @@ extern const AVHWAccel ff_av1_d3d11va2_hwaccel;
extern const AVHWAccel ff_av1_dxva2_hwaccel;
extern const AVHWAccel ff_av1_nvdec_hwaccel;
extern const AVHWAccel ff_av1_vaapi_hwaccel;
+extern const AVHWAccel ff_av1_vdpau_hwaccel;
extern const AVHWAccel ff_h263_vaapi_hwaccel;
extern const AVHWAccel ff_h263_videotoolbox_hwaccel;
extern const AVHWAccel ff_h264_d3d11va_hwaccel;