[Bug 731204] androidmedia: Implement zerocopy rendering

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jun 4 06:36:40 PDT 2014


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

--- Comment #1 from Matthieu Bouron <matthieu.bouron at collabora.com> 2014-06-04 13:36:37 UTC ---
I'm currently working on supporting hardware decoding in gstamcvideodec by
finishing the work Andoni has started and which can be found here:

https://github.com/ylatuya/gst-plugins-bad/commits/amczerocopy

The current implementation initialises the mediacodec decoder with a surface
texture.
A new kind of memory will be implemented: AMCVideoMemory which will store the
android output buffer and the surface texture which is used by the decoder.

The GL_TEXTURE_UPLOAD_META will also be placed on the output buffers of
amcvideodec so they can be uploaded and used by glimagesink for example. The
custom gl upload function will attach the surface to a GL texture (which is of
OES type) and renders the buffer to it. A fragment shader should then be
applied to removed black borders on the resulting image.

I will post a link to my WIP by the end of the day.

-- 
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