Hello community, here is the log from the commit of package ffnvcodec for openSUSE:Factory checked in at 2020-10-14 15:37:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ffnvcodec (Old) and /work/SRC/openSUSE:Factory/.ffnvcodec.new.3486 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ffnvcodec" Wed Oct 14 15:37:23 2020 rev:11 rq:841086 version:10.0.26.1 Changes: -------- --- /work/SRC/openSUSE:Factory/ffnvcodec/ffnvcodec.changes 2020-07-15 11:33:27.542109745 +0200 +++ /work/SRC/openSUSE:Factory/.ffnvcodec.new.3486/ffnvcodec.changes 2020-10-14 15:37:53.618335197 +0200 @@ -1,0 +2,7 @@ +Sun Oct 11 21:09:28 UTC 2020 - Mia Herkt <[email protected]> + +- Update to 10.0.26.1: + * Add linker functions and types + * Fix CUdeviceptr definition for ARM64 CPU + +------------------------------------------------------------------- Old: ---- nv-codec-headers-10.0.26.0.tar.xz New: ---- nv-codec-headers-10.0.26.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ffnvcodec.spec ++++++ --- /var/tmp/diff_new_pack.GxWxoS/_old 2020-10-14 15:37:55.406335821 +0200 +++ /var/tmp/diff_new_pack.GxWxoS/_new 2020-10-14 15:37:55.410335823 +0200 @@ -17,7 +17,7 @@ Name: ffnvcodec -Version: 10.0.26.0 +Version: 10.0.26.1 Release: 0 Summary: FFmpeg version of NVIDIA codec API headers License: MIT ++++++ _service ++++++ --- /var/tmp/diff_new_pack.GxWxoS/_old 2020-10-14 15:37:55.454335839 +0200 +++ /var/tmp/diff_new_pack.GxWxoS/_new 2020-10-14 15:37:55.458335840 +0200 @@ -4,7 +4,7 @@ <param name="scm">git</param> <param name="versionformat">@PARENT_TAG@</param> <param name="versionrewrite-pattern">n([0-9\.]*)</param> - <param name="revision">n10.0.26.0</param> + <param name="revision">n10.0.26.1</param> </service> <service mode="disabled" name="recompress"> <param name="file">*.tar</param> ++++++ nv-codec-headers-10.0.26.0.tar.xz -> nv-codec-headers-10.0.26.1.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nv-codec-headers-10.0.26.0/ffnvcodec.pc.in new/nv-codec-headers-10.0.26.1/ffnvcodec.pc.in --- old/nv-codec-headers-10.0.26.0/ffnvcodec.pc.in 2020-06-30 18:51:46.000000000 +0200 +++ new/nv-codec-headers-10.0.26.1/ffnvcodec.pc.in 2020-09-29 21:31:16.000000000 +0200 @@ -3,5 +3,5 @@ Name: ffnvcodec Description: FFmpeg version of Nvidia Codec SDK headers -Version: 10.0.26.0 +Version: 10.0.26.1 Cflags: -I${includedir} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nv-codec-headers-10.0.26.0/include/ffnvcodec/dynlink_cuda.h new/nv-codec-headers-10.0.26.1/include/ffnvcodec/dynlink_cuda.h --- old/nv-codec-headers-10.0.26.0/include/ffnvcodec/dynlink_cuda.h 2020-06-30 18:51:46.000000000 +0200 +++ new/nv-codec-headers-10.0.26.1/include/ffnvcodec/dynlink_cuda.h 2020-09-29 21:31:16.000000000 +0200 @@ -41,7 +41,7 @@ #define CU_CTX_SCHED_BLOCKING_SYNC 4 typedef int CUdevice; -#if defined(__x86_64) || defined(AMD64) || defined(_M_AMD64) || defined(__LP64__) +#if defined(__x86_64) || defined(AMD64) || defined(_M_AMD64) || defined(__LP64__) || defined(__aarch64__) typedef unsigned long long CUdeviceptr; #else typedef unsigned int CUdeviceptr; @@ -59,6 +59,8 @@ typedef struct CUextMemory_st *CUexternalMemory; typedef struct CUextSemaphore_st *CUexternalSemaphore; +typedef struct CUlinkState_st *CUlinkState; + typedef enum cudaError_enum { CUDA_SUCCESS = 0, CUDA_ERROR_NOT_READY = 600 @@ -156,6 +158,41 @@ CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE = 4 } CUexternalSemaphoreHandleType; +typedef enum CUjit_option_enum +{ + CU_JIT_MAX_REGISTERS = 0, + CU_JIT_THREADS_PER_BLOCK = 1, + CU_JIT_WALL_TIME = 2, + CU_JIT_INFO_LOG_BUFFER = 3, + CU_JIT_INFO_LOG_BUFFER_SIZE_BYTES = 4, + CU_JIT_ERROR_LOG_BUFFER = 5, + CU_JIT_ERROR_LOG_BUFFER_SIZE_BYTES = 6, + CU_JIT_OPTIMIZATION_LEVEL = 7, + CU_JIT_TARGET_FROM_CUCONTEXT = 8, + CU_JIT_TARGET = 9, + CU_JIT_FALLBACK_STRATEGY = 10, + CU_JIT_GENERATE_DEBUG_INFO = 11, + CU_JIT_LOG_VERBOSE = 12, + CU_JIT_GENERATE_LINE_INFO = 13, + CU_JIT_CACHE_MODE = 14, + CU_JIT_NEW_SM3X_OPT = 15, + CU_JIT_FAST_COMPILE = 16, + CU_JIT_GLOBAL_SYMBOL_NAMES = 17, + CU_JIT_GLOBAL_SYMBOL_ADDRESSES = 18, + CU_JIT_GLOBAL_SYMBOL_COUNT = 19, + CU_JIT_NUM_OPTIONS +} CUjit_option; + +typedef enum CUjitInputType_enum +{ + CU_JIT_INPUT_CUBIN = 0, + CU_JIT_INPUT_PTX = 1, + CU_JIT_INPUT_FATBINARY = 2, + CU_JIT_INPUT_OBJECT = 3, + CU_JIT_INPUT_LIBRARY = 4, + CU_JIT_NUM_INPUT_TYPES +} CUjitInputType; + #ifndef CU_UUID_HAS_BEEN_DEFINED #define CU_UUID_HAS_BEEN_DEFINED typedef struct CUuuid_st { @@ -350,6 +387,10 @@ typedef CUresult CUDAAPI tcuEventRecord(CUevent hEvent, CUstream hStream); typedef CUresult CUDAAPI tcuLaunchKernel(CUfunction f, unsigned int gridDimX, unsigned int gridDimY, unsigned int gridDimZ, unsigned int blockDimX, unsigned int blockDimY, unsigned int blockDimZ, unsigned int sharedMemBytes, CUstream hStream, void** kernelParams, void** extra); +typedef CUresult CUDAAPI tcuLinkCreate(unsigned int numOptions, CUjit_option* options, void** optionValues, CUlinkState* stateOut); +typedef CUresult CUDAAPI tcuLinkAddData(CUlinkState state, CUjitInputType type, void* data, size_t size, const char* name, unsigned int numOptions, CUjit_option* options, void** optionValues); +typedef CUresult CUDAAPI tcuLinkComplete(CUlinkState state, void** cubinOut, size_t* sizeOut); +typedef CUresult CUDAAPI tcuLinkDestroy(CUlinkState state); typedef CUresult CUDAAPI tcuModuleLoadData(CUmodule* module, const void* image); typedef CUresult CUDAAPI tcuModuleUnload(CUmodule hmod); typedef CUresult CUDAAPI tcuModuleGetFunction(CUfunction* hfunc, CUmodule hmod, const char* name); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nv-codec-headers-10.0.26.0/include/ffnvcodec/dynlink_loader.h new/nv-codec-headers-10.0.26.1/include/ffnvcodec/dynlink_loader.h --- old/nv-codec-headers-10.0.26.0/include/ffnvcodec/dynlink_loader.h 2020-06-30 18:51:46.000000000 +0200 +++ new/nv-codec-headers-10.0.26.1/include/ffnvcodec/dynlink_loader.h 2020-09-29 21:31:16.000000000 +0200 @@ -176,6 +176,10 @@ tcuEventRecord *cuEventRecord; tcuLaunchKernel *cuLaunchKernel; + tcuLinkCreate *cuLinkCreate; + tcuLinkAddData *cuLinkAddData; + tcuLinkComplete *cuLinkComplete; + tcuLinkDestroy *cuLinkDestroy; tcuModuleLoadData *cuModuleLoadData; tcuModuleUnload *cuModuleUnload; tcuModuleGetFunction *cuModuleGetFunction; @@ -222,6 +226,7 @@ tcuvidCtxLock *cuvidCtxLock; tcuvidCtxUnlock *cuvidCtxUnlock; +#if !defined(__APPLE__) tcuvidCreateVideoSource *cuvidCreateVideoSource; tcuvidCreateVideoSourceW *cuvidCreateVideoSourceW; tcuvidDestroyVideoSource *cuvidDestroyVideoSource; @@ -229,6 +234,7 @@ tcuvidGetVideoSourceState *cuvidGetVideoSourceState; tcuvidGetSourceVideoFormat *cuvidGetSourceVideoFormat; tcuvidGetSourceAudioFormat *cuvidGetSourceAudioFormat; +#endif tcuvidCreateVideoParser *cuvidCreateVideoParser; tcuvidParseVideoData *cuvidParseVideoData; tcuvidDestroyVideoParser *cuvidDestroyVideoParser; @@ -307,6 +313,10 @@ LOAD_SYMBOL(cuEventRecord, tcuEventRecord, "cuEventRecord"); LOAD_SYMBOL(cuLaunchKernel, tcuLaunchKernel, "cuLaunchKernel"); + LOAD_SYMBOL(cuLinkCreate, tcuLinkCreate, "cuLinkCreate"); + LOAD_SYMBOL(cuLinkAddData, tcuLinkAddData, "cuLinkAddData"); + LOAD_SYMBOL(cuLinkComplete, tcuLinkComplete, "cuLinkComplete"); + LOAD_SYMBOL(cuLinkDestroy, tcuLinkDestroy, "cuLinkDestroy"); LOAD_SYMBOL(cuModuleLoadData, tcuModuleLoadData, "cuModuleLoadData"); LOAD_SYMBOL(cuModuleUnload, tcuModuleUnload, "cuModuleUnload"); LOAD_SYMBOL(cuModuleGetFunction, tcuModuleGetFunction, "cuModuleGetFunction"); @@ -359,6 +369,7 @@ LOAD_SYMBOL(cuvidCtxLock, tcuvidCtxLock, "cuvidCtxLock"); LOAD_SYMBOL(cuvidCtxUnlock, tcuvidCtxUnlock, "cuvidCtxUnlock"); +#if !defined(__APPLE__) LOAD_SYMBOL(cuvidCreateVideoSource, tcuvidCreateVideoSource, "cuvidCreateVideoSource"); LOAD_SYMBOL(cuvidCreateVideoSourceW, tcuvidCreateVideoSourceW, "cuvidCreateVideoSourceW"); LOAD_SYMBOL(cuvidDestroyVideoSource, tcuvidDestroyVideoSource, "cuvidDestroyVideoSource"); @@ -366,6 +377,7 @@ LOAD_SYMBOL(cuvidGetVideoSourceState, tcuvidGetVideoSourceState, "cuvidGetVideoSourceState"); LOAD_SYMBOL(cuvidGetSourceVideoFormat, tcuvidGetSourceVideoFormat, "cuvidGetSourceVideoFormat"); LOAD_SYMBOL(cuvidGetSourceAudioFormat, tcuvidGetSourceAudioFormat, "cuvidGetSourceAudioFormat"); +#endif LOAD_SYMBOL(cuvidCreateVideoParser, tcuvidCreateVideoParser, "cuvidCreateVideoParser"); LOAD_SYMBOL(cuvidParseVideoData, tcuvidParseVideoData, "cuvidParseVideoData"); LOAD_SYMBOL(cuvidDestroyVideoParser, tcuvidDestroyVideoParser, "cuvidDestroyVideoParser");
