diff options
author | Timo Rothenpieler <timo@rothenpieler.org> | 2016-06-04 19:07:21 +0200 |
---|---|---|
committer | Timo Rothenpieler <timo@rothenpieler.org> | 2016-06-10 16:31:23 +0200 |
commit | d865e74e6d78f27b85e29507da70e48b48e0993d (patch) | |
tree | 5786f004d5fb04c9c0e150fec1a7b8e94707170d /ffmpeg.h | |
parent | 88e8aef9e9350e0452fc007887d0673196836fd1 (diff) | |
download | ffmpeg-d865e74e6d78f27b85e29507da70e48b48e0993d.tar.gz |
ffmpeg: Add cuvid hwaccel support
Diffstat (limited to 'ffmpeg.h')
-rw-r--r-- | ffmpeg.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 */ |