[Bug 767350] jpegdec: Internal parser map/unmap the same buffer multiple time

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Jun 8 01:49:43 UTC 2016


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

--- Comment #1 from Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> ---
Looking at pngdec, what they do there is map from the adapter (which merges)
the accumulated size and use a ByteReader to actually parse. This makes sense,
since fist thing we do with the buffer in handle_frame() is to map it entirely,
which will result in a merge anyway. Though, one could argue that we could
implement a per Memory streaming to jpeg library instead, and that would be
slightly faster,

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