Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Use allocated buffer for Mat Data Pointer

Hello,

I'm Passing frames from 2 cameras to 2 Mat types via (Videocapture.read()). The problem is that I have to copy in order to enqueue them in an OpenCL Buffer. As I can directly map (OpenCL)Device Memory into Host Memory (thus making it as a transparent buffer), is there any way I can Use my allocated buffer to fill the mat container with my frame?

Best Regards!