summaryrefslogtreecommitdiff
path: root/ffmpeg.h
diff options
context:
space:
mode:
authorTimo Rothenpieler <timo@rothenpieler.org>2016-06-04 19:07:21 +0200
committerTimo Rothenpieler <timo@rothenpieler.org>2016-06-10 16:31:23 +0200
commitd865e74e6d78f27b85e29507da70e48b48e0993d (patch)
tree5786f004d5fb04c9c0e150fec1a7b8e94707170d /ffmpeg.h
parent88e8aef9e9350e0452fc007887d0673196836fd1 (diff)
ffmpeg: Add cuvid hwaccel support
Diffstat (limited to 'ffmpeg.h')
-rw-r--r--ffmpeg.h3
1 files changed, 3 insertions, 0 deletions
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 */