Login  Register

Re: Where are the OpenMAX api in jogamp ?

Posted by Xerxes Rånby on Mar 21, 2013; 1:54pm
URL: https://forum.jogamp.org/Where-are-the-OpenMAX-api-in-jogamp-tp4028567p4028732.html

OpenMAX was added to JOGL for use by the GLMediaPlayer. It got demonstrated back in 2008 running video decoding on the mobile  APX2500 (NV) and ES2.0 tegra1 device.
http://www.youtube.com/watch?v=D6Lkw3eZK1w - OpenMAX and GL ES2 on APX 2500 (Tegra1) dec 2008
http://www.java-gaming.org/topics/jogl-2-openmax/21103/view.html

I chatted with sgothel and noxo about reviving/using the OMX implementation some month back:
http://jogamp.org/log/irc/jogamp_20130206050616.html#l229
20130206 22:09:15 <xranby> sgothel: is any of the jogamp demos using openmax nowdays?
20130206 22:09:40 <xranby> i am chatting with noxo on twitter trying to find any working OpenMAX java audio library
20130206 22:09:47 <sgothel> @XRanby: well .. yes, but I had to strip down OpenMAX impl. due to license issues
20130206 22:10:26 <xranby> sgothel: really? so the khronos royality free etc spec is all vapour?
20130206 22:12:06 <sgothel> @XRanby: 46f17013c7cd59d551371edb2c1a4a57f8cbd84f
20130206 22:12:49 <sgothel> and 1be7b5271ec1d08b6929a88dd811754d33d149de
20130206 22:13:30 <sgothel> it was using an NV extension for parsing multiplexed streams ..
20130206 22:13:36 <sgothel> this is not included in OMX :(
20130206 22:13:51 <sgothel> w/o .. it's sort of useless .. so we would need that back

If you want to work on using OpenMAX for the GLMediaPlayer then first change
jogl/src/jogl/classes/com/jogamp/opengl/util/av/GLMediaPlayerFactory.java
to instantiate a jogamp.opengl.util.av.impl.OMXGLMediaPlayer for your platform.
After that you need to find ways to do multiplexed streams on your hardware.