diff options
author | Timo Rothenpieler <timo@rothenpieler.org> | 2016-08-28 19:46:44 +0200 |
---|---|---|
committer | Timo Rothenpieler <timo@rothenpieler.org> | 2016-08-28 19:46:44 +0200 |
commit | df615efcf275d87ec6e19be1c1b2f16e9b5d4e72 (patch) | |
tree | 2a0573f93f988663b622996a0846c3491bb481b8 /libavcodec/nvenc.h | |
parent | a19989cae581817e8857623d3afc447372b1c0e3 (diff) |
avcodec/nvenc: check maximum driver API version
Diffstat (limited to 'libavcodec/nvenc.h')
-rw-r--r-- | libavcodec/nvenc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/nvenc.h b/libavcodec/nvenc.h index cd86c47df0..c57f1ae524 100644 --- a/libavcodec/nvenc.h +++ b/libavcodec/nvenc.h @@ -72,6 +72,7 @@ typedef CUresult(CUDAAPI *PCUCTXCREATE)(CUcontext *pctx, unsigned int flags, CUd typedef CUresult(CUDAAPI *PCUCTXPOPCURRENT)(CUcontext *pctx); typedef CUresult(CUDAAPI *PCUCTXDESTROY)(CUcontext ctx); +typedef NVENCSTATUS (NVENCAPI *PNVENCODEAPIGETMAXSUPPORTEDVERSION)(uint32_t* version); typedef NVENCSTATUS (NVENCAPI *PNVENCODEAPICREATEINSTANCE)(NV_ENCODE_API_FUNCTION_LIST *functionList); typedef struct NvencDynLoadFunctions |