summaryrefslogtreecommitdiff
path: root/compat/cuda/dynlink_loader.h
diff options
context:
space:
mode:
authorTimo Rothenpieler <timo@rothenpieler.org>2017-05-08 18:40:23 +0200
committerTimo Rothenpieler <timo@rothenpieler.org>2017-05-09 18:38:30 +0200
commit17f63d98e679e88a64f96e4aefba57b12ca29a0c (patch)
tree227b26daf8e6b9d02b973aefca8f6f47cd177f9d /compat/cuda/dynlink_loader.h
parent23538ad2eb76a0d27a1f2b2bcdccd857124a0224 (diff)
compat/cuda: update cuvid/nvdec headers to Video Codec SDK 8.0.14
This raises the required minimum NVIDIA display driver versions: NVIDIA Linux display driver 378.13 or newer NVIDIA Windows display driver 378.66 or newer
Diffstat (limited to 'compat/cuda/dynlink_loader.h')
-rw-r--r--compat/cuda/dynlink_loader.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/compat/cuda/dynlink_loader.h b/compat/cuda/dynlink_loader.h
index 33f23af1e2..fc951ff346 100644
--- a/compat/cuda/dynlink_loader.h
+++ b/compat/cuda/dynlink_loader.h
@@ -125,6 +125,7 @@ typedef struct CudaFunctions CudaFunctions;
#endif
typedef struct CuvidFunctions {
+ tcuvidGetDecoderCaps *cuvidGetDecoderCaps;
tcuvidCreateDecoder *cuvidCreateDecoder;
tcuvidDestroyDecoder *cuvidDestroyDecoder;
tcuvidDecodePicture *cuvidDecodePicture;
@@ -201,6 +202,7 @@ static inline int cuvid_load_functions(CuvidFunctions **functions)
{
GENERIC_LOAD_FUNC_PREAMBLE(CuvidFunctions, cuvid, NVCUVID_LIBNAME);
+ LOAD_SYMBOL(cuvidGetDecoderCaps, "cuvidGetDecoderCaps");
LOAD_SYMBOL(cuvidCreateDecoder, "cuvidCreateDecoder");
LOAD_SYMBOL(cuvidDestroyDecoder, "cuvidDestroyDecoder");
LOAD_SYMBOL(cuvidDecodePicture, "cuvidDecodePicture");