Ask Your Question

Revision history [back]

Hello, when you create oclMat or Mat using user allocated data, you should pass pure pointer to data: ocl::oclMat oclSrc(src->height, src->width, CV_8UC3, src->imagedata);

OpenCL buffer width need to be divisible by 1024 bytes?

No, it is not needed.

Hello, when you create oclMat or Mat using user allocated data, you should pass pure pointer to data: ocl::oclMat oclSrc(src->height, src->width, CV_8UC3, src->imagedata);data:

ocl::oclMat oclSrc(src->height, src->width, CV_8UC3, src->imagedata);

OpenCL buffer width need to be divisible by 1024 bytes?

No, it is not needed.

Hello, when you create oclMat or Mat using user allocated data, you should pass pure pointer to data:

ocl::oclMat oclSrc(src->height, src->width, CV_8UC3, src->imagedata);
OpenCL

"OpenCL buffer width need to be divisible by 1024 bytes?

No, bytes?" - no, it is not needed.

Hello, when you create oclMat or Mat using user allocated data, you should pass pure pointer to data:

ocl::oclMat oclSrc(src->height, src->width, CV_8UC3, src->imagedata);

"OpenCL OpenCL buffer width need to be divisible by 1024 bytes?" - no, bytes?

No, it is not needed.