[Bug 736176] pngparse: re-assembling image from small blocks may be optimized

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Nov 9 15:41:26 PST 2014


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

Tim-Philipp Müller <t.i.m> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
          Component|gst-plugins-good            |gst-plugins-bad
         Resolution|                            |FIXED
         AssignedTo|t.i.m at zen.co.uk             |gstreamer-bugs at lists.freede
                   |                            |sktop.org
   Target Milestone|HEAD                        |1.5.1
            Summary|pngdec/pnparse:             |pngparse: re-assembling
                   |Reassembling image from     |image from small blocks may
                   |small blocks may be         |be optimized
                   |optimized                   |

--- Comment #28 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2014-11-09 23:41:19 UTC ---
commit 6e3518dfd68d775d530bb6c4835b3e0b0e224e16
Author: Tim-Philipp Müller <tim at centricular.com>
Date:   Sun Nov 9 20:53:34 2014 +0000

    pngparse: optimise reading of png files

    Read PNG data chunk in one go by letting the parser
    base class know the size we need, so that it doesn't
    drip-feed us small chunks of data (causing a lot of
    reallocs and memcpy in the process) until we have
    everything.

    Improves parsing performance of very large PNG files
    (65MB) from ~13 seconds to a couple of millisecs.

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

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