OpenCV 4.10.0
开源计算机视觉库
|
类 | |
类 | Context |
类 | Device |
类 | Image2D |
类 | Kernel |
类 | KernelArg |
类 | OpenCLExecutionContext |
类 | OpenCLExecutionContextScope |
类 | Platform |
类 | PlatformInfo |
类 | Program |
类 | ProgramSource |
类 | Queue |
类 | Timer |
枚举 | |
枚举 | OclVectorStrategy { OCL_VECTOR_OWN = 0 , OCL_VECTOR_MAX = 1 , OCL_VECTOR_DEFAULT = OCL_VECTOR_OWN } |
函数 | |
void | attachContext (const String &platformName, void *platformID, void *context, void *deviceID) |
将 OpenCL 上下文附加到 OpenCV。 | |
void | buildOptionsAddMatrixDescription (String &buildOptions, const String &name, InputArray _m) |
int | 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 | convertFromBuffer (void *cl_mem_buffer, size_t step, int rows, int cols, int type, UMat &dst) |
将 OpenCL 缓冲区转换为 UMat。 | |
void | convertFromImage (void *cl_mem_image, UMat &dst) |
将 OpenCL image2d_t 转换为 UMat。 | |
const char * | convertTypeStr (int sdepth, int ddepth, int cn, char *buf) |
const char * | convertTypeStr (int sdepth, int ddepth, int cn, char *buf, size_t buf_size) |
void | finish () |
MatAllocator * | getOpenCLAllocator () |
const char * | getOpenCLErrorString (int errorCode) |
void | getPlatfomsInfo (std::vector< PlatformInfo > &platform_info) |
bool | haveAmdBlas () |
bool | haveAmdFft () |
bool | haveOpenCL () |
bool | haveSVM () |
void | initializeContextFromHandle (Context &ctx, void *platform, void *context, void *device) |
static bool | isOpenCLActivated () |
String | kernelToStr (InputArray _kernel, int ddepth=-1, const char *name=NULL) |
const char * | memopTypeToStr (int t) |
int | 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 | 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 | setUseOpenCL (bool flag) |
const char * | typeToStr (int t) |
bool | useOpenCL () |
const char * | vecopTypeToStr (int t) |
|
inlinestatic |