OpenCV  3.3.0-dev
Open Source Computer Vision
Classes | Namespaces | Enumerations | Functions
ocl.hpp File Reference
#include "opencv2/core.hpp"

Classes

class  cv::ocl::Context
 
class  cv::ocl::Device
 
class  cv::ocl::Image2D
 
class  cv::ocl::Kernel
 
class  cv::ocl::KernelArg
 
class  cv::ocl::Platform
 
class  cv::ocl::PlatformInfo
 
class  cv::ocl::Program
 
class  cv::ocl::ProgramSource
 
class  cv::ocl::Queue
 

Namespaces

 cv
 
 cv::ocl
 

Enumerations

enum  cv::ocl::OclVectorStrategy {
  cv::ocl::OCL_VECTOR_OWN = 0,
  cv::ocl::OCL_VECTOR_MAX = 1,
  cv::ocl::OCL_VECTOR_DEFAULT = OCL_VECTOR_OWN
}
 

Functions

void cv::ocl::attachContext (const String &platformName, void *platformID, void *context, void *deviceID)
 Attaches OpenCL context to OpenCV. More...
 
void cv::ocl::buildOptionsAddMatrixDescription (String &buildOptions, const String &name, InputArray _m)
 
int cv::ocl::checkOptimalVectorWidth (const int *vectorWidths, InputArray src1, InputArray src2=noArray(), InputArray src3=noArray(), InputArray src4=noArray(), InputArray src5=noArray(), InputArray src6=noArray(), InputArray src7=noArray(), InputArray src8=noArray(), InputArray src9=noArray(), OclVectorStrategy strat=OCL_VECTOR_DEFAULT)
 
void cv::ocl::convertFromBuffer (void *cl_mem_buffer, size_t step, int rows, int cols, int type, UMat &dst)
 Convert OpenCL buffer to UMat. More...
 
void cv::ocl::convertFromImage (void *cl_mem_image, UMat &dst)
 Convert OpenCL image2d_t to UMat. More...
 
const char * cv::ocl::convertTypeStr (int sdepth, int ddepth, int cn, char *buf)
 
void cv::ocl::finish ()
 
MatAllocator * cv::ocl::getOpenCLAllocator ()
 
void cv::ocl::getPlatfomsInfo (std::vector< PlatformInfo > &platform_info)
 
bool cv::ocl::haveAmdBlas ()
 
bool cv::ocl::haveAmdFft ()
 
bool cv::ocl::haveOpenCL ()
 
bool cv::ocl::haveSVM ()
 
void cv::ocl::initializeContextFromHandle (Context &ctx, void *platform, void *context, void *device)
 
String cv::ocl::kernelToStr (InputArray _kernel, int ddepth=-1, const char *name=NULL)
 
const char * cv::ocl::memopTypeToStr (int t)
 
int cv::ocl::predictOptimalVectorWidth (InputArray src1, InputArray src2=noArray(), InputArray src3=noArray(), InputArray src4=noArray(), InputArray src5=noArray(), InputArray src6=noArray(), InputArray src7=noArray(), InputArray src8=noArray(), InputArray src9=noArray(), OclVectorStrategy strat=OCL_VECTOR_DEFAULT)
 
int cv::ocl::predictOptimalVectorWidthMax (InputArray src1, InputArray src2=noArray(), InputArray src3=noArray(), InputArray src4=noArray(), InputArray src5=noArray(), InputArray src6=noArray(), InputArray src7=noArray(), InputArray src8=noArray(), InputArray src9=noArray())
 
void cv::ocl::setUseOpenCL (bool flag)
 
const char * cv::ocl::typeToStr (int t)
 
bool cv::ocl::useOpenCL ()
 
const char * cv::ocl::vecopTypeToStr (int t)