EstervQrCode 1.1.1
Library for qr code manipulation
Classes | Enumerations | Functions
cv::cuda Namespace Reference

Classes

class  GpuMat
 Base storage class for GPU memory with reference counting. More...
 
struct  GpuData
 
class  GpuMatND
 
class  BufferPool
 BufferPool for use with CUDA streams. More...
 
class  HostMem
 Class with reference counting wrapping special memory type allocation functions from CUDA. More...
 
class  Stream
 This class encapsulates a queue of asynchronous calls. More...
 
class  Event
 
class  TargetArchs
 Class providing a set of static methods to check what NVIDIA* card architecture the CUDA module was built for. More...
 
class  DeviceInfo
 Class providing functionality for querying the specified GPU properties. More...
 
struct  StreamAccessor
 Class that enables getting cudaStream_t from cuda::Stream. More...
 
struct  EventAccessor
 Class that enables getting cudaEvent_t from cuda::Event. More...
 

Enumerations

enum  FeatureSet {
  FEATURE_SET_COMPUTE_10 = 10 , FEATURE_SET_COMPUTE_11 = 11 , FEATURE_SET_COMPUTE_12 = 12 , FEATURE_SET_COMPUTE_13 = 13 ,
  FEATURE_SET_COMPUTE_20 = 20 , FEATURE_SET_COMPUTE_21 = 21 , FEATURE_SET_COMPUTE_30 = 30 , FEATURE_SET_COMPUTE_32 = 32 ,
  FEATURE_SET_COMPUTE_35 = 35 , FEATURE_SET_COMPUTE_50 = 50 , GLOBAL_ATOMICS = FEATURE_SET_COMPUTE_11 , SHARED_ATOMICS = FEATURE_SET_COMPUTE_12 ,
  NATIVE_DOUBLE = FEATURE_SET_COMPUTE_13 , WARP_SHUFFLE_FUNCTIONS = FEATURE_SET_COMPUTE_30 , DYNAMIC_PARALLELISM = FEATURE_SET_COMPUTE_35
}
 Enumeration providing CUDA computing features. More...
 

Functions

CV_EXPORTS_W void createContinuous (int rows, int cols, int type, OutputArray arr)
 Creates a continuous matrix. More...
 
CV_EXPORTS_W void ensureSizeIsEnough (int rows, int cols, int type, OutputArray arr)
 Ensures that the size of a matrix is big enough and the matrix has a proper type. More...
 
CV_EXPORTS_W GpuMat createGpuMatFromCudaMemory (int rows, int cols, int type, size_t cudaMemoryAddress, size_t step=Mat::AUTO_STEP)
 Bindings overload to create a GpuMat from existing GPU memory. More...
 
CV_EXPORTS_W GpuMat createGpuMatFromCudaMemory (Size size, int type, size_t cudaMemoryAddress, size_t step=Mat::AUTO_STEP)
 
CV_EXPORTS_W void setBufferPoolUsage (bool on)
 BufferPool management (must be called before Stream creation) More...
 
CV_EXPORTS_W void setBufferPoolConfig (int deviceId, size_t stackSize, int stackCount)
 
CV_EXPORTS_W void registerPageLocked (Mat &m)
 Page-locks the memory of matrix and maps it for the device(s). More...
 
CV_EXPORTS_W void unregisterPageLocked (Mat &m)
 Unmaps the memory of matrix and makes it pageable again. More...
 
CV_EXPORTS_W Stream wrapStream (size_t cudaStreamMemoryAddress)
 Bindings overload to create a Stream object from the address stored in an existing CUDA Runtime API stream pointer (cudaStream_t). More...
 
CV_EXPORTS_W int getCudaEnabledDeviceCount ()
 Returns the number of installed CUDA-enabled devices. More...
 
CV_EXPORTS_W void setDevice (int device)
 Sets a device and initializes it for the current thread. More...
 
CV_EXPORTS_W int getDevice ()
 Returns the current device index set by cuda::setDevice or initialized by default. More...
 
CV_EXPORTS_W void resetDevice ()
 Explicitly destroys and cleans up all resources associated with the current device in the current process. More...
 
CV_EXPORTS bool deviceSupports (FeatureSet feature_set)
 checks whether current device supports the given feature More...
 
CV_EXPORTS_W void printCudaDeviceInfo (int device)
 
CV_EXPORTS_W void printShortCudaDeviceInfo (int device)
 
CV_EXPORTS void convertFp16 (InputArray _src, OutputArray _dst, Stream &stream=Stream::Null())
 Converts an array to half precision floating number. More...
 
CV_EXPORTS void setGlDevice (int device=0)
 Sets a CUDA device and initializes it for the current thread with OpenGL interoperability. More...