[Bug 734908] New: [API] Add gstgralloc library
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Sat Aug 16 08:15:23 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=734908
GStreamer | gst-plugins-bad | git
Summary: [API] Add gstgralloc library
Classification: Platform
Product: GStreamer
Version: git
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-bad
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: msameer at foolab.org
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created an attachment (id=283596)
--> (https://bugzilla.gnome.org/attachment.cgi?id=283596)
proposed patch
Attaching a patch that adds a GstGralloc allocator with its GstGrallocMemory
and also a buffer pool (GstGrallocBufferPool) for usage with elements utilizing
the above mentioned allocator.
gralloc is the library used by Android to allocate android native buffers used
for graphics rendering and zero copy media decoding (Probably it has other uses
as well).
The only issue I see with the patch is I had to lie and set the format to
GST_VIDEO_FORMAT_I420 because I cannot use GST_VIDEO_FORMAT_ENCODED since it's
size is 0 and various GStreamer API dealing with allocation queries expect size
which is not 0
The allocator will be used to add support to gst-omx (And perhaps glimagesink
too)
--
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