From d865e74e6d78f27b85e29507da70e48b48e0993d Mon Sep 17 00:00:00 2001 From: Timo Rothenpieler Date: Sat, 4 Jun 2016 19:07:21 +0200 Subject: ffmpeg: Add cuvid hwaccel support --- ffmpeg.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ffmpeg.h') diff --git a/ffmpeg.h b/ffmpeg.h index 20a1bf7776..f09d33bdcf 100644 --- a/ffmpeg.h +++ b/ffmpeg.h @@ -66,6 +66,7 @@ enum HWAccelID { HWACCEL_VIDEOTOOLBOX, HWACCEL_QSV, HWACCEL_VAAPI, + HWACCEL_CUVID, }; typedef struct HWAccel { @@ -585,5 +586,7 @@ int qsv_init(AVCodecContext *s); int qsv_transcode_init(OutputStream *ost); int vaapi_decode_init(AVCodecContext *avctx); int vaapi_device_init(const char *device); +int cuvid_init(AVCodecContext *s); +int cuvid_transcode_init(OutputStream *ost); #endif /* FFMPEG_H */ -- cgit v1.2.1