Hello community, here is the log from the commit of package ffnvcodec for openSUSE:Factory checked in at 2020-05-08 23:03:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ffnvcodec (Old) and /work/SRC/openSUSE:Factory/.ffnvcodec.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ffnvcodec" Fri May 8 23:03:30 2020 rev:9 rq:800711 version:9.1.23.1 Changes: -------- --- /work/SRC/openSUSE:Factory/ffnvcodec/ffnvcodec.changes 2019-11-30 10:36:54.596175587 +0100 +++ /work/SRC/openSUSE:Factory/.ffnvcodec.new.2738/ffnvcodec.changes 2020-05-08 23:03:34.749644995 +0200 @@ -1,0 +2,6 @@ +Wed May 6 12:42:44 UTC 2020 - Martin Pluskal <[email protected]> + +- Update to version 9.1.23.1: + * Add primary context management functions + +------------------------------------------------------------------- Old: ---- nv-codec-headers-9.1.23.0.tar.xz New: ---- nv-codec-headers-9.1.23.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ffnvcodec.spec ++++++ --- /var/tmp/diff_new_pack.bHtaTn/_old 2020-05-08 23:03:36.853649293 +0200 +++ /var/tmp/diff_new_pack.bHtaTn/_new 2020-05-08 23:03:36.853649293 +0200 @@ -1,7 +1,7 @@ # # spec file for package ffnvcodec # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: ffnvcodec -Version: 9.1.23.0 +Version: 9.1.23.1 Release: 0 Summary: FFmpeg version of NVIDIA codec API headers License: MIT ++++++ _service ++++++ --- /var/tmp/diff_new_pack.bHtaTn/_old 2020-05-08 23:03:36.881649350 +0200 +++ /var/tmp/diff_new_pack.bHtaTn/_new 2020-05-08 23:03:36.881649350 +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">n9.1.23.0</param> + <param name="revision">n9.1.23.1</param> </service> <service mode="disabled" name="recompress"> <param name="file">*.tar</param> ++++++ nv-codec-headers-9.1.23.0.tar.xz -> nv-codec-headers-9.1.23.1.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nv-codec-headers-9.1.23.0/ffnvcodec.pc.in new/nv-codec-headers-9.1.23.1/ffnvcodec.pc.in --- old/nv-codec-headers-9.1.23.0/ffnvcodec.pc.in 2019-09-23 16:03:27.000000000 +0200 +++ new/nv-codec-headers-9.1.23.1/ffnvcodec.pc.in 2019-11-18 14:14:38.000000000 +0100 @@ -3,5 +3,5 @@ Name: ffnvcodec Description: FFmpeg version of Nvidia Codec SDK headers -Version: 9.1.23.0 +Version: 9.1.23.1 Cflags: -I${includedir} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nv-codec-headers-9.1.23.0/include/ffnvcodec/dynlink_cuda.h new/nv-codec-headers-9.1.23.1/include/ffnvcodec/dynlink_cuda.h --- old/nv-codec-headers-9.1.23.0/include/ffnvcodec/dynlink_cuda.h 2019-09-23 16:03:27.000000000 +0200 +++ new/nv-codec-headers-9.1.23.1/include/ffnvcodec/dynlink_cuda.h 2019-11-18 14:14:38.000000000 +0100 @@ -332,6 +332,12 @@ typedef CUresult CUDAAPI tcuGetErrorString(CUresult error, const char** pstr); typedef CUresult CUDAAPI tcuCtxGetDevice(CUdevice *device); +typedef CUresult CUDAAPI tcuDevicePrimaryCtxRetain(CUcontext *pctx, CUdevice dev); +typedef CUresult CUDAAPI tcuDevicePrimaryCtxRelease(CUdevice dev); +typedef CUresult CUDAAPI tcuDevicePrimaryCtxSetFlags(CUdevice dev, unsigned int flags); +typedef CUresult CUDAAPI tcuDevicePrimaryCtxGetState(CUdevice dev, unsigned int *flags, int *active); +typedef CUresult CUDAAPI tcuDevicePrimaryCtxReset(CUdevice dev); + typedef CUresult CUDAAPI tcuStreamCreate(CUstream *phStream, unsigned int flags); typedef CUresult CUDAAPI tcuStreamQuery(CUstream hStream); typedef CUresult CUDAAPI tcuStreamSynchronize(CUstream hStream); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nv-codec-headers-9.1.23.0/include/ffnvcodec/dynlink_loader.h new/nv-codec-headers-9.1.23.1/include/ffnvcodec/dynlink_loader.h --- old/nv-codec-headers-9.1.23.0/include/ffnvcodec/dynlink_loader.h 2019-09-23 16:03:27.000000000 +0200 +++ new/nv-codec-headers-9.1.23.1/include/ffnvcodec/dynlink_loader.h 2019-11-18 14:14:38.000000000 +0100 @@ -158,6 +158,12 @@ tcuGetErrorString *cuGetErrorString; tcuCtxGetDevice *cuCtxGetDevice; + tcuDevicePrimaryCtxRetain *cuDevicePrimaryCtxRetain; + tcuDevicePrimaryCtxRelease *cuDevicePrimaryCtxRelease; + tcuDevicePrimaryCtxSetFlags *cuDevicePrimaryCtxSetFlags; + tcuDevicePrimaryCtxGetState *cuDevicePrimaryCtxGetState; + tcuDevicePrimaryCtxReset *cuDevicePrimaryCtxReset; + tcuStreamCreate *cuStreamCreate; tcuStreamQuery *cuStreamQuery; tcuStreamSynchronize *cuStreamSynchronize; @@ -283,6 +289,12 @@ LOAD_SYMBOL(cuGetErrorString, tcuGetErrorString, "cuGetErrorString"); LOAD_SYMBOL(cuCtxGetDevice, tcuCtxGetDevice, "cuCtxGetDevice"); + LOAD_SYMBOL(cuDevicePrimaryCtxRetain, tcuDevicePrimaryCtxRetain, "cuDevicePrimaryCtxRetain"); + LOAD_SYMBOL(cuDevicePrimaryCtxRelease, tcuDevicePrimaryCtxRelease, "cuDevicePrimaryCtxRelease"); + LOAD_SYMBOL(cuDevicePrimaryCtxSetFlags, tcuDevicePrimaryCtxSetFlags, "cuDevicePrimaryCtxSetFlags"); + LOAD_SYMBOL(cuDevicePrimaryCtxGetState, tcuDevicePrimaryCtxGetState, "cuDevicePrimaryCtxGetState"); + LOAD_SYMBOL(cuDevicePrimaryCtxReset, tcuDevicePrimaryCtxReset, "cuDevicePrimaryCtxReset"); + LOAD_SYMBOL(cuStreamCreate, tcuStreamCreate, "cuStreamCreate"); LOAD_SYMBOL(cuStreamQuery, tcuStreamQuery, "cuStreamQuery"); LOAD_SYMBOL(cuStreamSynchronize, tcuStreamSynchronize, "cuStreamSynchronize");
