[gstreamer-bugs] [Bug 583047] [jpegdec] optimise buffer handling when parsing frames

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Apr 29 08:12:39 PDT 2010


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

Mark Nauwelaerts <mnauw> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mnauw at users.sourceforge.net

--- Comment #6 from Mark Nauwelaerts <mnauw at users.sourceforge.net> 2010-04-29 15:12:32 UTC ---
While above patches optimise buffer (re)scanning, they do not so much address
buffer handling.

gst_adapter_masked_scan_uint32() might help to look for a 0xFF 0xYY pattern,
but would help more if e.g. it (or alike) would also return the guint32 that
actually matched, so the 0xYY could be used to decide how to proceed.

Also, performing a lot of _scan_uint32 at a high offset in an adapter with lots
of (small?) buffers means that each scans has to do a linear search first for
the right buffer for that offset.  This overhead is probably less than that of
copying buffers, but maybe some state for progressive scan might be more
optimal ??

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