Hi everyone,
We're planning to use i.MX8MNano and want to convert bmp into jpeg.
i.MX8MNano has GC7000UL so we guess that it can convert bmp into jpeg by GPU because of reducing CPU load.
Can GC7000UL convert bmp into jpeg ?
If yes, is there any sample code for it ?
Ko-hey
Solved! Go to Solution.
Hi ,
We do not have such convert sample or api in bottom layer. Our GPU supports read raw bitmap to gpu buffer, but you may need to realize convert algorithm . Actually you can find some convert algorithm in git, and use opencl to accelerate the algorithm process.
Here is the gpu apis pdf:
https://www.nxp.com/docs/en/user-guide/i.MX_Graphics_User's_Guide_Linux.pdf
Hi ko-hey,
The i.MX8MNano support GPU apis are:
• OpenGL ES 1.1, 2.0, and 3.0 API
• EGL 1.5 API
• OpenGL ES11/20/30/31/32
• OpenCL 1.1/1.2 FP
• OpenVX 1.0.1
• Vulkan 1.0
• OpenGL 4.0
• WebGL 1.0.2
• OpenVG 1.1 API
• OpenCL 1.1 EP API
You can see the following web sites for detailed specifications:
• OpenGL ES 1.1, 2.0, and 3.0 API: www.khronos.org/opengles/
• OpenCL 1.1 EP www.khronos.org/opencl/
• EGL 1.4 API: www.khronos.org/egl/
• OpenVG 1.1 API: www.khronos.org/openvg/
• OpenGL ES API: www.khronos.org/opengles/
• OpenCL API: www.khronos.org/opencl/
• OpenVX API: www.khronos.org/openvx/
• Vulkan API: www.khronos.org/vulkan/
• OpenGL API: www.khronos.org/opengl/
• WebGL API: www.khronos.org/webgl/
Best Regards,
Zhiming
Hi @Zhiming_Liu ,
Thank you for reply.
We know that it support OpenGL but I can't understand and find any samples whether it can convert bitmap into jpeg or not.
Can it use for conversion bitmap to jpeg ?
Ko-hey
Hi ,
We do not have such convert sample or api in bottom layer. Our GPU supports read raw bitmap to gpu buffer, but you may need to realize convert algorithm . Actually you can find some convert algorithm in git, and use opencl to accelerate the algorithm process.
Here is the gpu apis pdf:
https://www.nxp.com/docs/en/user-guide/i.MX_Graphics_User's_Guide_Linux.pdf