[Bug 745372] vpxdec: Should try to avoid copies at output

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Dec 4 14:30:01 PST 2015


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

Nicolas Dufresne (stormer) <nicolas.dufresne at collabora.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #316796|0                           |1
        is obsolete|                            |

--- Comment #21 from Nicolas Dufresne (stormer) <nicolas.dufresne at collabora.co.uk> ---
Created attachment 316797
  --> https://bugzilla.gnome.org/attachment.cgi?id=316797&action=edit
vpxdec: Use GstMemory to avoid copies

With the VPX decoders it's not simple to use downstream buffer pool,
because we don't know the image size and alignment when buffers get
allocated. We can though use GstAllocator (for downstream, or the system
allocator) to avoid a copy before pushing if downstream supports
GstVideoMeta. This would still cause a copy for sink that requires
specialized memory and does not have a GstAllocator for that, though
it will greatly improve performance for sink like glimagesink and
cluttersink. To avoid allocating for every buffer, we also use a
internal buffer pool.

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