Hi, I have a bit of a strange questions, but here it goes:
-Is it possible to take an image from the ISP, send it directly to the GPU for post-processing, and then return the result to the CPU to be used in a regular application?
-I noticed that the NPU on the i.MX8MP supports OpenVX. Does this mean I can program it and use it as a sort of secondary GPU?
Solved! Go to Solution.
Hello,
Is it possible to take an image from the ISP, send it directly to the GPU for post-processing, and then return the result to the CPU to be used in a regular application?
-->Yes, you can get image buffer from V4L2 with DMABUF, and then import it to GLES/Vulkan or OpenCL to post-process. For GPU demo , please refer here: https://github.com/nxp-imx/gtec-demo-framework/tree/master/DemoApps
I noticed that the NPU on the i.MX8MP supports OpenVX. Does this mean I can program it and use it as a sort of secondary GPU?
--> This is not possible. The OpenVX is used for machine learning, not generic GPU.
Best Regards,
Zhiming
Hello,
Is it possible to take an image from the ISP, send it directly to the GPU for post-processing, and then return the result to the CPU to be used in a regular application?
-->Yes, you can get image buffer from V4L2 with DMABUF, and then import it to GLES/Vulkan or OpenCL to post-process. For GPU demo , please refer here: https://github.com/nxp-imx/gtec-demo-framework/tree/master/DemoApps
I noticed that the NPU on the i.MX8MP supports OpenVX. Does this mean I can program it and use it as a sort of secondary GPU?
--> This is not possible. The OpenVX is used for machine learning, not generic GPU.
Best Regards,
Zhiming