[Bug 731204] androidmedia: Implement zerocopy rendering

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Mar 30 04:35:43 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=731204

--- Comment #29 from Matthieu Bouron <matthieu.bouron at collabora.com> ---
Here is an updated development branch:
http://cgit.collabora.com/git/user/mateo/gst-plugins-bad.git/log/?h=amczerocopy-gl-wip2

The SurfaceTexture.OnAvailableFrameListener is implemented and the rendering
logic has been updated accordingly and follows this worflow:
  1) get the output buffer from the decoder,
  2) render it onto the surface using ReleaseOutputBuffer(TRUE)
  3) wait for the frame to be available out of the surface using the newly
implemented listener
  4) convert the related OES texture to a 2D texture and push it downstream

There are new dependencies for the androidmedia plugins to be built:
  * javac, xxd, dx (from the android SDK, which must be in present in $PATH)
and the android SDK itself

The android SDK root path can be specified using --with-android-sdk-root=path
at configure time. It currently defaults to the env variable $ANDROID_SDK_ROOT.

The android SDK version to use can be specified using
--with-android-target=target at configure time. It currently defaults to
android-16.
The corresponding android SDK jar will be resolved at
$with_android_sdk_target/platforms/$with_android_target/android.jar

The code still needs to be polished though.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list