[Bug 736176] pngdec/pnparse: Reassembling image from small blocks may be optimized

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Sep 8 06:20:10 PDT 2014


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

Nicolas Dufresne <nicolas.dufresne> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                 CC|                            |nicolas.dufresne at collabora.
                   |                            |co.uk
            Version|unspecified                 |git
            Summary|pngdec is apparently not    |pngdec/pnparse:
                   |fast enough on stupidly     |Reassembling image from
                   |large images                |small blocks may be
                   |                            |optimized
     Ever Confirmed|0                           |1
           Severity|normal                      |enhancement

--- Comment #21 from Nicolas Dufresne <nicolas.dufresne at collabora.co.uk> 2014-09-08 13:20:05 UTC ---
I confirm pngparse takes around 30 seconds, and pngdec around 10s.

time gst-launch-1.0 filesrc location=my.png ! pngparse ! fakesink
time gst-launch-1.0 filesrc location=my.png ! pngdec ! fakesink

Though, if you increase the block size significantly, it's similar to other
software:

time gst-launch-1.0 filesrc blocksize=100000000 ! pngparse ! fakesink

I think there is room for improvement for reassembling png from small blocks,
though this seems rather low priority. The old 4K default block size is a bit
out of date, application should most likely use large blocks.

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