I am making app that play H264.
I use ffMpeg decode, Converting YUV->RGB with fragmentShader, and render it.
However frameRate is not enough (about 15 ~ 20 fps).
so, I asked about it, and got answer that change way to render.
Present way is using 'glTexSubImage2D' with FBO, RBO, RTT.
Recommanded way is using eglImage.
I scratched lots of information, and I found OpenMax.
Most of hardware supports converting yuv420p. so I shouldn't use ffMpeg obstinately.
If using eglImage, How can I use 'GraphicBuffer'???????
I tried it before, I got only message 'No file or directory'
which line is '#include ui/GraphicBuffer.h' (OfCourse Added load libary in Android.mk)
this is private api in libui.so, android/frameworks/native/.