[Bug 731204] androidmedia: Implement zerocopy rendering

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Jun 16 00:57:40 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=731204
  GStreamer | gst-plugins-bad | git

--- Comment #13 from Matthieu Bouron <matthieu.bouron at collabora.com> 2014-06-16 07:57:35 UTC ---
As described in the surface texture documentation, a transformation matrix
should queried from the surface texture and used to sample the resulting
texture.

Ref: http://developer.android.com/reference/android/graphics/SurfaceTexture.htm

So we either need to make amcvideomemory/amcdirectbuffer + jniutils public, so
we can check the memory type in gstglupload and call
gst_amc_surface_texture_get_transformation_matrix from there and use it in the
shaders.

OR

Do the whole 2D / RGBA conversion in the upload meta function. But i'm not sure
if it is doable since we can't access the GL context from there.

What do you think ?

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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