Hello community,

here is the log from the commit of package ffnvcodec for openSUSE:Factory 
checked in at 2018-10-08 17:47:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ffnvcodec (Old)
 and      /work/SRC/openSUSE:Factory/.ffnvcodec.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ffnvcodec"

Mon Oct  8 17:47:39 2018 rev:3 rq:640459 version:8.2.15.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/ffnvcodec/ffnvcodec.changes      2018-07-01 
21:28:14.172625167 +0200
+++ /work/SRC/openSUSE:Factory/.ffnvcodec.new/ffnvcodec.changes 2018-10-08 
17:50:46.318074931 +0200
@@ -1,0 +2,9 @@
+Sun Oct  7 19:29:11 UTC 2018 - Martin Herkt <9+suse@cirno.systems>
+
+- Update to version 8.2.15.1
+  * Update for CUDA 10
+    This adds support for the CUDA/Vulkan interop API, which
+    requires very new driver versions. As such, we allow the
+    symbols to be optionally loaded.
+
+-------------------------------------------------------------------

Old:
----
  nv-codec-headers-8.1.24.2.tar.xz

New:
----
  nv-codec-headers-8.2.15.1.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ffnvcodec.spec ++++++
--- /var/tmp/diff_new_pack.urq4oy/_old  2018-10-08 17:50:47.006074054 +0200
+++ /var/tmp/diff_new_pack.urq4oy/_new  2018-10-08 17:50:47.006074054 +0200
@@ -12,12 +12,12 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:           ffnvcodec
-Version:        8.1.24.2
+Version:        8.2.15.1
 Release:        0
 Summary:        FFmpeg version of NVIDIA codec API headers
 License:        MIT

++++++ _service ++++++
--- /var/tmp/diff_new_pack.urq4oy/_old  2018-10-08 17:50:47.042074008 +0200
+++ /var/tmp/diff_new_pack.urq4oy/_new  2018-10-08 17:50:47.042074008 +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">n8.1.24.2</param>
+    <param name="revision">n8.2.15.1</param>
   </service>
   <service mode="disabled" name="recompress">
     <param name="file">*.tar</param>

++++++ nv-codec-headers-8.1.24.2.tar.xz -> nv-codec-headers-8.2.15.1.tar.xz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nv-codec-headers-8.1.24.2/README 
new/nv-codec-headers-8.2.15.1/README
--- old/nv-codec-headers-8.1.24.2/README        2018-05-05 11:45:50.000000000 
+0200
+++ new/nv-codec-headers-8.2.15.1/README        2018-10-07 17:47:41.000000000 
+0200
@@ -1,7 +1,11 @@
 FFmpeg version of headers required to interface with Nvidias codec APIs.
 
-Corresponds to Video Codec SDK version 8.1.24.
+Corresponds to Video Codec SDK version 8.2.25.
 
 Minimum required driver versions:
-Linux: 390.25 or newer
-Windows: 390.77 or newer
+Linux: 396.24 or newer
+Windows: 397.93 or newer
+
+Optional CUDA 10 features:
+Linux: 410.48 or newer
+Windows: 411.31 or newer
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nv-codec-headers-8.1.24.2/ffnvcodec.pc.in 
new/nv-codec-headers-8.2.15.1/ffnvcodec.pc.in
--- old/nv-codec-headers-8.1.24.2/ffnvcodec.pc.in       2018-05-05 
11:45:50.000000000 +0200
+++ new/nv-codec-headers-8.2.15.1/ffnvcodec.pc.in       2018-10-07 
17:47:41.000000000 +0200
@@ -3,5 +3,5 @@
 
 Name: ffnvcodec
 Description: FFmpeg version of Nvidia Codec SDK headers
-Version: 8.1.24.2
+Version: 8.2.15.1
 Cflags: -I${includedir}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/nv-codec-headers-8.1.24.2/include/ffnvcodec/dynlink_cuda.h 
new/nv-codec-headers-8.2.15.1/include/ffnvcodec/dynlink_cuda.h
--- old/nv-codec-headers-8.1.24.2/include/ffnvcodec/dynlink_cuda.h      
2018-05-05 11:45:50.000000000 +0200
+++ new/nv-codec-headers-8.2.15.1/include/ffnvcodec/dynlink_cuda.h      
2018-10-07 17:47:41.000000000 +0200
@@ -44,6 +44,10 @@
 typedef void* CUarray;
 typedef void* CUcontext;
 typedef void* CUstream;
+typedef void* CUevent;
+typedef void* CUmipmappedArray;
+typedef void* CUgraphicsResource;
+typedef void* CUexternalMemory;
 #if defined(__x86_64) || defined(AMD64) || defined(_M_AMD64)
 typedef unsigned long long CUdeviceptr;
 #else
@@ -55,6 +59,17 @@
     CUDA_ERROR_NOT_READY = 600
 } CUresult;
 
+typedef enum CUarray_format_enum {
+    CU_AD_FORMAT_UNSIGNED_INT8  = 0x01,
+    CU_AD_FORMAT_UNSIGNED_INT16 = 0x02,
+    CU_AD_FORMAT_UNSIGNED_INT32 = 0x03,
+    CU_AD_FORMAT_SIGNED_INT8    = 0x08,
+    CU_AD_FORMAT_SIGNED_INT16   = 0x09,
+    CU_AD_FORMAT_SIGNED_INT32   = 0x0a,
+    CU_AD_FORMAT_HALF           = 0x10,
+    CU_AD_FORMAT_FLOAT          = 0x20
+} CUarray_format;
+
 typedef enum CUmemorytype_enum {
     CU_MEMORYTYPE_HOST = 1,
     CU_MEMORYTYPE_DEVICE = 2,
@@ -77,6 +92,14 @@
     CU_GRAPHICS_REGISTER_FLAGS_TEXTURE_GATHER = 8
 } CUgraphicsRegisterFlags;
 
+typedef enum CUexternalMemoryHandleType_enum {
+    CU_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD        = 1,
+    CU_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32     = 2,
+    CU_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT = 3,
+    CU_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_HEAP       = 4,
+    CU_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE   = 5,
+} CUexternalMemoryHandleType;
+
 typedef struct CUDA_MEMCPY2D_st {
     size_t srcXInBytes;
     size_t srcY;
@@ -100,7 +123,6 @@
 
 typedef unsigned int GLenum;
 typedef unsigned int GLuint;
-typedef struct CUgraphicsResource_st *CUgraphicsResource;
 
 typedef enum CUGLDeviceList_enum {
     CU_GL_DEVICE_LIST_ALL = 1,
@@ -108,7 +130,47 @@
     CU_GL_DEVICE_LIST_NEXT_FRAME = 3,
 } CUGLDeviceList;
 
+typedef struct CUDA_EXTERNAL_MEMORY_HANDLE_DESC_st {
+    CUexternalMemoryHandleType type;
+    union {
+        int fd;
+        struct {
+            void *handle;
+            const void *name;
+        } win32;
+    } handle;
+    unsigned long long size;
+    unsigned int flags;
+    unsigned int reserved[16];
+} CUDA_EXTERNAL_MEMORY_HANDLE_DESC;
+
+typedef struct CUDA_EXTERNAL_MEMORY_BUFFER_DESC_st {
+    unsigned long long offset;
+    unsigned long long size;
+    unsigned int flags;
+    unsigned int reserved[16];
+} CUDA_EXTERNAL_MEMORY_BUFFER_DESC;
+
+typedef struct CUDA_ARRAY3D_DESCRIPTOR_st {
+    size_t Width;
+    size_t Height;
+    size_t Depth;
+
+    CUarray_format Format;
+    unsigned int NumChannels;
+    unsigned int Flags;
+} CUDA_ARRAY3D_DESCRIPTOR;
+
+typedef struct CUDA_EXTERNAL_MEMORY_MIPMAPPED_ARRAY_DESC_st {
+    unsigned long long offset;
+    CUDA_ARRAY3D_DESCRIPTOR arrayDesc;
+    unsigned int numLevels;
+    unsigned int reserved[16];
+} CUDA_EXTERNAL_MEMORY_MIPMAPPED_ARRAY_DESC;
+
 #define CU_STREAM_NON_BLOCKING 1
+#define CU_EVENT_BLOCKING_SYNC 1
+#define CU_EVENT_DISABLE_TIMING 2
 
 typedef void CUDAAPI CUstreamCallback(CUstream hStream, CUresult status, void 
*userdata);
 
@@ -134,6 +196,11 @@
 typedef CUresult CUDAAPI tcuStreamSynchronize(CUstream hStream);
 typedef CUresult CUDAAPI tcuStreamDestroy_v2(CUstream hStream);
 typedef CUresult CUDAAPI tcuStreamAddCallback(CUstream hStream, 
CUstreamCallback *callback, void *userdata, unsigned int flags);
+typedef CUresult CUDAAPI tcuEventCreate(CUevent *phEvent, unsigned int flags);
+typedef CUresult CUDAAPI tcuEventDestroy_v2(CUevent hEvent);
+typedef CUresult CUDAAPI tcuEventSynchronize(CUevent hEvent);
+typedef CUresult CUDAAPI tcuEventQuery(CUevent hEvent);
+typedef CUresult CUDAAPI tcuEventRecord(CUevent hEvent, CUstream hStream);
 
 typedef CUresult CUDAAPI tcuGLGetDevices_v2(unsigned int* pCudaDeviceCount, 
CUdevice* pCudaDevices, unsigned int cudaDeviceCount, CUGLDeviceList 
deviceList);
 typedef CUresult CUDAAPI tcuGraphicsGLRegisterImage(CUgraphicsResource* 
pCudaResource, GLuint image, GLenum target, unsigned int Flags);
@@ -142,4 +209,9 @@
 typedef CUresult CUDAAPI tcuGraphicsUnmapResources(unsigned int count, 
CUgraphicsResource* resources, CUstream hStream);
 typedef CUresult CUDAAPI tcuGraphicsSubResourceGetMappedArray(CUarray* pArray, 
CUgraphicsResource resource, unsigned int arrayIndex, unsigned int mipLevel);
 
+typedef CUresult CUDAAPI tcuImportExternalMemory(CUexternalMemory* extMem_out, 
const CUDA_EXTERNAL_MEMORY_HANDLE_DESC* memHandleDesc);
+typedef CUresult CUDAAPI tcuDestroyExternalMemory(CUexternalMemory extMem);
+typedef CUresult CUDAAPI tcuExternalMemoryGetMappedBuffer(CUdeviceptr* devPtr, 
CUexternalMemory extMem, const CUDA_EXTERNAL_MEMORY_BUFFER_DESC* bufferDesc);
+typedef CUresult CUDAAPI 
tcuExternalMemoryGetMappedMipmappedArray(CUmipmappedArray* mipmap, 
CUexternalMemory extMem, const CUDA_EXTERNAL_MEMORY_MIPMAPPED_ARRAY_DESC* 
mipmapDesc);
+typedef CUresult CUDAAPI tcuMipmappedArrayGetLevel(CUarray* pLevelArray, 
CUmipmappedArray hMipmappedArray, unsigned int level);
 #endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/nv-codec-headers-8.1.24.2/include/ffnvcodec/dynlink_cuviddec.h 
new/nv-codec-headers-8.2.15.1/include/ffnvcodec/dynlink_cuviddec.h
--- old/nv-codec-headers-8.1.24.2/include/ffnvcodec/dynlink_cuviddec.h  
2018-05-05 11:45:50.000000000 +0200
+++ new/nv-codec-headers-8.2.15.1/include/ffnvcodec/dynlink_cuviddec.h  
2018-10-07 17:47:41.000000000 +0200
@@ -91,9 +91,9 @@
 //! These enums are used in CUVIDDECODECREATEINFO structure
 
/*********************************************************************************/
 typedef enum cudaVideoSurfaceFormat_enum {
-    cudaVideoSurfaceFormat_NV12=0,       /**< NV12 format          */
-    cudaVideoSurfaceFormat_P016=1        /**< 16 bit semiplaner format. Can be 
used for 10 bit(6LSB bits 0),
-                                              12 bit (4LSB bits 0) */
+    cudaVideoSurfaceFormat_NV12=0,       /**< Semi-Planar YUV [Y plane 
followed by interleaved UV plane]     */
+    cudaVideoSurfaceFormat_P016=1        /**< 16 bit Semi-Planar YUV [Y plane 
followed by interleaved UV plane].
+                                              Can be used for 10 bit(6LSB bits 
0), 12 bit (4LSB bits 0)      */
 } cudaVideoSurfaceFormat;
 
 
/******************************************************************************************************************/
@@ -136,6 +136,21 @@
 } cudaVideoCreateFlags;
 
 
+/*************************************************************************/
+//! \enum cuvidDecodeStatus
+//! Decode status enums
+//! These enums are used in CUVIDGETDECODESTATUS structure
+/*************************************************************************/
+typedef enum cuvidDecodeStatus_enum
+{
+    cuvidDecodeStatus_Invalid         = 0,   // Decode status is not valid
+    cuvidDecodeStatus_InProgress      = 1,   // Decode is in progress
+    cuvidDecodeStatus_Success         = 2,   // Decode is completed without 
any errors
+    // 3 to 7 enums are reserved for future use
+    cuvidDecodeStatus_Error           = 8,   // Decode is completed with an 
error (error is not concealed)
+    cuvidDecodeStatus_Error_Concealed = 9,   // Decode is completed with an 
error and error is concealed
+} cuvidDecodeStatus;
+
 
/**************************************************************************************************************/
 //! \struct CUVIDDECODECAPS;
 //! This structure is used in cuvidGetDecoderCaps API
@@ -176,7 +191,9 @@
                                              to specific codecs(H264 
rightnow), the flag will be ignored for codecs which
                                              are not supported. However 
decoding might fail if the flag is enabled in case
                                              of supported codecs for regular 
bit streams having P and/or B frames.          */
-    tcu_ulong Reserved1[3];             /**< Reserved for future use - set to 
zero                                          */
+    tcu_ulong ulMaxWidth;               /**< IN: Coded sequence max width in 
pixels used with reconfigure Decoder           */
+    tcu_ulong ulMaxHeight;              /**< IN: Coded sequence max height in 
pixels used with reconfigure Decoder          */
+    tcu_ulong Reserved1;                /**< Reserved for future use - set to 
zero                                          */
     /**
     * IN: area of the frame that should be displayed
     */
@@ -190,7 +207,7 @@
     cudaVideoSurfaceFormat OutputFormat;       /**< IN: 
cudaVideoSurfaceFormat_XXX                                     */
     cudaVideoDeinterlaceMode DeinterlaceMode;  /**< IN: 
cudaVideoDeinterlaceMode_XXX                                   */
     tcu_ulong ulTargetWidth;                   /**< IN: Post-processed output 
width (Should be aligned to 2)           */
-    tcu_ulong ulTargetHeight;                  /**< IN: Post-processed output 
height (Should be aligbed to 2)          */
+    tcu_ulong ulTargetHeight;                  /**< IN: Post-processed output 
height (Should be aligned to 2)          */
     tcu_ulong ulNumOutputSurfaces;             /**< IN: Maximum number of 
output surfaces simultaneously mapped        */
     CUvideoctxlock vidLock;                    /**< IN: If non-NULL, context 
lock used for synchronizing ownership of
                                                     the cuda context. Needed 
for cudaVideoCreate_PreferCUDA decode     */
@@ -601,7 +618,7 @@
             unsigned char show_frame : 1;
             unsigned char update_mb_segmentation_data : 1;    /**< Must be 0 
if segmentation is not enabled */
             unsigned char Reserved2Bits : 2;
-        };
+        }vp8_frame_tag;
         unsigned char wFrameTagFlags;
     };
     unsigned char Reserved1[4];
@@ -743,6 +760,52 @@
     void *Reserved2[2];                 /**< Reserved for future use (set to 
zero)                                      */
 } CUVIDPROCPARAMS;
 
+/*********************************************************************************************************/
+//! \struct CUVIDGETDECODESTATUS
+//! Struct for reporting decode status.
+//! This structure is used in cuvidGetDecodeStatus API.
+/*********************************************************************************************************/
+typedef struct _CUVIDGETDECODESTATUS
+{
+    cuvidDecodeStatus decodeStatus;
+    unsigned int reserved[31];
+    void *pReserved[8];
+} CUVIDGETDECODESTATUS;
+
+/****************************************************/
+//! \struct CUVIDRECONFIGUREDECODERINFO
+//! Struct for decoder reset
+//! This structure is used in cuvidReconfigureDecoder() API
+/****************************************************/
+typedef struct _CUVIDRECONFIGUREDECODERINFO
+{
+    unsigned int ulWidth;             /**< IN: Coded sequence width in pixels, 
MUST be < = ulMaxWidth defined at CUVIDDECODECREATEINFO  */
+    unsigned int ulHeight;            /**< IN: Coded sequence height in 
pixels, MUST be < = ulMaxHeight defined at CUVIDDECODECREATEINFO  */
+    unsigned int ulTargetWidth;       /**< IN: Post processed output width */
+    unsigned int ulTargetHeight;      /**< IN: Post Processed output height */
+    unsigned int ulNumDecodeSurfaces; /**< IN: Maximum number of internal 
decode surfaces */
+    unsigned int reserved1[12];       /**< Reserved for future use. Set to 
Zero */
+    /**
+    * IN: Area of frame to be displayed. Use-case : Source Cropping
+    */
+    struct {
+        short left;
+        short top;
+        short right;
+        short bottom;
+    } display_area;
+    /**
+    * IN: Target Rectangle in the OutputFrame. Use-case : Aspect ratio 
Conversion
+    */
+    struct {
+        short left;
+        short top;
+        short right;
+        short bottom;
+    } target_rect;
+    unsigned int reserved2[11]; /**< Reserved for future use. Set to Zero */
+} CUVIDRECONFIGUREDECODERINFO;
+
 
 
/***********************************************************************************************************/
 //! VIDEO_DECODER
@@ -805,6 +868,20 @@
 
/*****************************************************************************************************/
 typedef CUresult CUDAAPI tcuvidDecodePicture(CUvideodecoder hDecoder, 
CUVIDPICPARAMS *pPicParams);
 
+/************************************************************************************************************/
+//! \fn CUresult CUDAAPI cuvidGetDecodeStatus(CUvideodecoder hDecoder, int 
nPicIdx);
+//! Get the decode status for frame corresponding to nPicIdx
+/************************************************************************************************************/
+typedef CUresult CUDAAPI tcuvidGetDecodeStatus(CUvideodecoder hDecoder, int 
nPicIdx, CUVIDGETDECODESTATUS* pDecodeStatus);
+
+/*********************************************************************************************************/
+//! \fn CUresult CUDAAPI cuvidReconfigureDecoder(CUvideodecoder hDecoder, 
CUVIDRECONFIGUREDECODERINFO *pDecReconfigParams)
+//! Used to reuse single decoder for multiple clips. Currently supports 
resolution change, resize params, display area
+//! params, target area params change for same codec. Must be called during 
CUVIDPARSERPARAMS::pfnSequenceCallback
+/*********************************************************************************************************/
+typedef CUresult CUDAAPI tcuvidReconfigureDecoder(CUvideodecoder hDecoder, 
CUVIDRECONFIGUREDECODERINFO *pDecReconfigParams);
+
+
 #if !defined(__CUVID_DEVPTR64) || defined(__CUVID_INTERNAL)
 
/************************************************************************************************************************/
 //! \fn CUresult CUDAAPI cuvidMapVideoFrame(CUvideodecoder hDecoder, int 
nPicIdx, unsigned int *pDevPtr,
@@ -846,7 +923,6 @@
 #endif
 
 
-
 
/********************************************************************************************************************/
 //!
 //! Context-locking: to facilitate multi-threaded implementations, the 
following 4 functions
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/nv-codec-headers-8.1.24.2/include/ffnvcodec/dynlink_loader.h 
new/nv-codec-headers-8.2.15.1/include/ffnvcodec/dynlink_loader.h
--- old/nv-codec-headers-8.1.24.2/include/ffnvcodec/dynlink_loader.h    
2018-05-05 11:45:50.000000000 +0200
+++ new/nv-codec-headers-8.2.15.1/include/ffnvcodec/dynlink_loader.h    
2018-10-07 17:47:41.000000000 +0200
@@ -158,6 +158,11 @@
     tcuStreamSynchronize *cuStreamSynchronize;
     tcuStreamDestroy_v2 *cuStreamDestroy;
     tcuStreamAddCallback *cuStreamAddCallback;
+    tcuEventCreate *cuEventCreate;
+    tcuEventDestroy_v2 *cuEventDestroy;
+    tcuEventSynchronize *cuEventSynchronize;
+    tcuEventQuery *cuEventQuery;
+    tcuEventRecord *cuEventRecord;
 
     tcuGLGetDevices_v2 *cuGLGetDevices;
     tcuGraphicsGLRegisterImage *cuGraphicsGLRegisterImage;
@@ -166,6 +171,13 @@
     tcuGraphicsUnmapResources *cuGraphicsUnmapResources;
     tcuGraphicsSubResourceGetMappedArray *cuGraphicsSubResourceGetMappedArray;
 
+    tcuImportExternalMemory *cuImportExternalMemory;
+    tcuDestroyExternalMemory *cuDestroyExternalMemory;
+    tcuExternalMemoryGetMappedBuffer *cuExternalMemoryGetMappedBuffer;
+    tcuExternalMemoryGetMappedMipmappedArray 
*cuExternalMemoryGetMappedMipmappedArray;
+
+    tcuMipmappedArrayGetLevel *cuMipmappedArrayGetLevel;
+
     FFNV_LIB_HANDLE lib;
 } CudaFunctions;
 #else
@@ -177,6 +189,8 @@
     tcuvidCreateDecoder *cuvidCreateDecoder;
     tcuvidDestroyDecoder *cuvidDestroyDecoder;
     tcuvidDecodePicture *cuvidDecodePicture;
+    tcuvidGetDecodeStatus *cuvidGetDecodeStatus;
+    tcuvidReconfigureDecoder *cuvidReconfigureDecoder;
     tcuvidMapVideoFrame *cuvidMapVideoFrame;
     tcuvidUnmapVideoFrame *cuvidUnmapVideoFrame;
     tcuvidCtxLockCreate *cuvidCtxLockCreate;
@@ -252,6 +266,11 @@
     LOAD_SYMBOL(cuStreamSynchronize, tcuStreamSynchronize, 
"cuStreamSynchronize");
     LOAD_SYMBOL(cuStreamDestroy, tcuStreamDestroy_v2, "cuStreamDestroy_v2");
     LOAD_SYMBOL(cuStreamAddCallback, tcuStreamAddCallback, 
"cuStreamAddCallback");
+    LOAD_SYMBOL(cuEventCreate, tcuEventCreate, "cuEventCreate");
+    LOAD_SYMBOL(cuEventDestroy, tcuEventDestroy_v2, "cuEventDestroy_v2");
+    LOAD_SYMBOL(cuEventSynchronize, tcuEventSynchronize, "cuEventSynchronize");
+    LOAD_SYMBOL(cuEventQuery, tcuEventQuery, "cuEventQuery");
+    LOAD_SYMBOL(cuEventRecord, tcuEventRecord, "cuEventRecord");
 
     LOAD_SYMBOL(cuGLGetDevices, tcuGLGetDevices_v2, "cuGLGetDevices_v2");
     LOAD_SYMBOL(cuGraphicsGLRegisterImage, tcuGraphicsGLRegisterImage, 
"cuGraphicsGLRegisterImage");
@@ -260,6 +279,12 @@
     LOAD_SYMBOL(cuGraphicsUnmapResources, tcuGraphicsUnmapResources, 
"cuGraphicsUnmapResources");
     LOAD_SYMBOL(cuGraphicsSubResourceGetMappedArray, 
tcuGraphicsSubResourceGetMappedArray, "cuGraphicsSubResourceGetMappedArray");
 
+    LOAD_SYMBOL_OPT(cuImportExternalMemory, tcuImportExternalMemory, 
"cuImportExternalMemory");
+    LOAD_SYMBOL_OPT(cuDestroyExternalMemory, tcuDestroyExternalMemory, 
"cuDestroyExternalMemory");
+    LOAD_SYMBOL_OPT(cuExternalMemoryGetMappedBuffer, 
tcuExternalMemoryGetMappedBuffer, "cuExternalMemoryGetMappedBuffer");
+    LOAD_SYMBOL_OPT(cuExternalMemoryGetMappedMipmappedArray, 
tcuExternalMemoryGetMappedMipmappedArray, 
"cuExternalMemoryGetMappedMipmappedArray");
+    LOAD_SYMBOL_OPT(cuMipmappedArrayGetLevel, tcuMipmappedArrayGetLevel, 
"cuMipmappedArrayGetLevel");
+
     GENERIC_LOAD_FUNC_FINALE(cuda);
 }
 #endif
@@ -272,6 +297,8 @@
     LOAD_SYMBOL(cuvidCreateDecoder, tcuvidCreateDecoder, "cuvidCreateDecoder");
     LOAD_SYMBOL(cuvidDestroyDecoder, tcuvidDestroyDecoder, 
"cuvidDestroyDecoder");
     LOAD_SYMBOL(cuvidDecodePicture, tcuvidDecodePicture, "cuvidDecodePicture");
+    LOAD_SYMBOL(cuvidGetDecodeStatus, tcuvidGetDecodeStatus, 
"cuvidGetDecodeStatus");
+    LOAD_SYMBOL(cuvidReconfigureDecoder, tcuvidReconfigureDecoder, 
"cuvidReconfigureDecoder");
 #ifdef __CUVID_DEVPTR64
     LOAD_SYMBOL(cuvidMapVideoFrame, tcuvidMapVideoFrame, 
"cuvidMapVideoFrame64");
     LOAD_SYMBOL(cuvidUnmapVideoFrame, tcuvidUnmapVideoFrame, 
"cuvidUnmapVideoFrame64");
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/nv-codec-headers-8.1.24.2/include/ffnvcodec/dynlink_nvcuvid.h 
new/nv-codec-headers-8.2.15.1/include/ffnvcodec/dynlink_nvcuvid.h
--- old/nv-codec-headers-8.1.24.2/include/ffnvcodec/dynlink_nvcuvid.h   
2018-05-05 11:45:50.000000000 +0200
+++ new/nv-codec-headers-8.2.15.1/include/ffnvcodec/dynlink_nvcuvid.h   
2018-10-07 17:47:41.000000000 +0200
@@ -306,8 +306,13 @@
 
 
/***********************************************************************************************************************/
 //! Parser callbacks
-//! The parser will call these synchronously from within 
cuvidParseVideoData(), whenever a picture is ready to
-//! be decoded and/or displayed. First argument in functions is "void 
*pUserData" member of structure CUVIDSOURCEPARAMS
+//! The parser will call these synchronously from within 
cuvidParseVideoData(), whenever there is seqeuence change or a picture
+//! is ready to be decoded and/or displayed. First argument in functions is 
"void *pUserData" member of structure CUVIDSOURCEPARAMS
+//! Return values from these callbacks are interpreted as:
+//! PFNVIDSEQUENCECALLBACK : 0: fail, 1: suceeded, > 1: override dpb size of 
parser (set by CUVIDPARSERPARAMS::ulMaxNumDecodeSurfaces
+//! while creating parser)
+//! PFNVIDDECODECALLBACK   : 0: fail, >=1: suceeded
+//! PFNVIDDISPLAYCALLBACK  : 0: fail, >=1: suceeded
 
/***********************************************************************************************************************/
 typedef int (CUDAAPI *PFNVIDSEQUENCECALLBACK)(void *, CUVIDEOFORMAT *);
 typedef int (CUDAAPI *PFNVIDDECODECALLBACK)(void *, CUVIDPICPARAMS *);


Reply via email to