summaryrefslogtreecommitdiffstats
path: root/video/hwdec.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-10-28 19:59:08 +0200
committerwm4 <wm4@nowhere>2017-10-28 19:59:08 +0200
commit6b745769b1fd15ba03edad3fe381abb745bf9907 (patch)
tree393cba00ce5561df576bb6d1d5507cefca870d18 /video/hwdec.h
parent3413fe4dfdd61724719e3582aeb91b2523a00b84 (diff)
downloadmpv-6b745769b1fd15ba03edad3fe381abb745bf9907.tar.bz2
mpv-6b745769b1fd15ba03edad3fe381abb745bf9907.tar.xz
vd_lavc: add support for nvdec hwaccel
See manpage additions. (In ffmpeg-mpv and Libav, this is still called "cuvid". Libav won't work yet, because it has no frame params support yet, but this could get fixed soon.)
Diffstat (limited to 'video/hwdec.h')
-rw-r--r--video/hwdec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/video/hwdec.h b/video/hwdec.h
index 81ba4794b2..2b89c3247c 100644
--- a/video/hwdec.h
+++ b/video/hwdec.h
@@ -26,6 +26,8 @@ enum hwdec_type {
HWDEC_MEDIACODEC_COPY,
HWDEC_CUDA,
HWDEC_CUDA_COPY,
+ HWDEC_NVDEC,
+ HWDEC_NVDEC_COPY,
HWDEC_CRYSTALHD,
HWDEC_RKMPP,
};