iMX6 hardware decode issue on Android

Eric-BTG eric.chaloin at bt-ground.com
Thu Sep 10 08:06:38 PDT 2015


Hi! Some good news.

Understood why I was not able to link imxvpudec to imxeglvivsink: GL_VIV_XXX
viv textures was not defined in my GLES2/gl2.h / gl2ext.h since it comes
from Android's NDK.

I took it from
https://github.com/Freescale/chromium-imx/blob/master/src/content/common/gpu/media/imx_gl_viv_direct_texture.h

I built 0.11.1 (b94ea3c014 + PR#57) and managed blitter and compositor
dependencies with .la files.


I can now decode and display 1080p frames but still have lags (few). I don't
have any dropped frames.

Here is a trace of egl_platform_fb eglSwapBuffers function execution:


eglSwapBuffers takes 32.5ms average.

My thought is that there is a colorspace conversion between vpudec output
and native window.
ANativeWindow_getFormat returns 1:WINDOW_FORMAT_RGBA_8888. For now I'm
trying to set my native window in YUV format.

Regards,

Eric



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/iMX6-hardware-decode-issue-on-Android-tp4673449p4673568.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list