We use Gstreamer to retrieve and decode video frame, then we use opencl to perform heavy calculations on it.
Now we are copy frame from gstreamer's appsink to cpu, then copy it to gpu(opencl).
some old unofficial sources says we can avoid such copy (at least to gpu(opengl)).
As for 2021, is it working?
The MX6 has a Opencl that support 1.1v, there is no API that call VPU-CPU-VPU, so there is no function to gstreamer to run any opencl pipeline.
thank you for the answer.
it's not always so. As instance OpenCL is 1.2 on imx6qm
>>>>>>>> ./clinfo Starting...
Available platforms: 1
Platform ID: 0
CL_PLATFORM_NAME: Vivante OpenCL Platform
CL_PLATFORM_VERSION: OpenCL 1.2 V6.4.3.p1.305572
CL_PLATFORM_VENDOR: Vivante Corporation