I have a simple video player android application to showcase the video codec. I need hardware acceleration (using the GPU) for YUV to RGB conversion. As i searched the best way is to use OpenGL ES. Can anyone guide me where i can start with. I mean any example code specific to iMX6 using andorid APIs. I tried integrating some code in the GPU demo but that is not working as i could not find alternative to find fbGetDisplayByIndex and fbCreateWindow. Please help
Regards,
Ragesh
已解决! 转到解答。
Hi, Ragesh
You can download gpu_sdk_v1.00.tar.gz from freescale.com.
IMX6_GPU_SDK : i.MX6 Graphics SDK – Includes sample, demo code, and documentation for working with the i.MX6X family graphics cores. Includes OpenVG, OpenGL ES, and GAL2D reference files.
Size (K): 21065 Format: gz Rev #: 1.0.0 Modified: 1/25/2013
Grace
Hi, Ragesh
You can download gpu_sdk_v1.00.tar.gz from freescale.com.
IMX6_GPU_SDK : i.MX6 Graphics SDK – Includes sample, demo code, and documentation for working with the i.MX6X family graphics cores. Includes OpenVG, OpenGL ES, and GAL2D reference files.
Size (K): 21065 Format: gz Rev #: 1.0.0 Modified: 1/25/2013
Grace
Hi Michel,
I am demoing our video decoder's performance on iMX6 board. But the YUV to RGB conversion is reducing my FPS as it is done by CPU. In order to transfer the load of YUV to RGB conversion to GPU one can load the image into a texture, load a fragment shader performing the color conversion and draw using vertex shaders. I am looking for a sample code in iMX android to do this. I got the functions. But i don't know how to display the OpenglES frame.
-Ragesh