403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.217.116
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/multimedia/QtAV/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/multimedia/QtAV/files/patch-src_codec_video_SurfaceInteropCUDA.cpp
--- src/codec/video/SurfaceInteropCUDA.cpp.orig	2020-08-26 17:34:29 UTC
+++ src/codec/video/SurfaceInteropCUDA.cpp
@@ -132,7 +132,7 @@ bool HostInteropResource::map(int picIndex, const CUVI
         if (!ensureResource(pitch, H)) //copy height is coded height
             return false;
         // the same thread (context) as cuMemAllocHost, so no ccontext switch is needed
-        CUDA_ENSURE(cuMemcpyDtoH(host_mem.data, devptr, pitch*H*3/2), NULL);
+        CUDA_ENSURE(cuMemcpyDtoH(host_mem.data, devptr, pitch*H*3/2), false);
         host_mem.index = picIndex;
     }
     // map to texture
@@ -173,7 +173,7 @@ bool HostInteropResource::ensureResource(int pitch, in
     if (!share_ctx) // cuMemFreeHost will be called in dtor which is not the current thread.
         CUDA_WARN(cuCtxPushCurrent(ctx));
     // NV12
-    CUDA_ENSURE(cuMemAllocHost((void**)&host_mem.data, pitch*height*3/2), NULL);
+    CUDA_ENSURE(cuMemAllocHost((void**)&host_mem.data, pitch*height*3/2), false);
     if (!share_ctx)
         CUDA_WARN(cuCtxPopCurrent(NULL)); //can be null or &ctx
     return true;

Youez - 2016 - github.com/yon3zu
LinuXploit