Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-6695

[backlog] Speedup the gif/png decoder by not using QImage::scanLine in a for loop

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • Not Evaluated
    • 4.6.1
    • None
    • Image formats
    • None

    Description

      Calling QImag::scanLine(int) from within a loop will branch to the method, which branch to ::detach, which will branch... This can be easily avoided and gives a 10% speedup on the image_cycler reduction.

      http://qt.gitorious.org/~zecke/qt/zeckes-qt/commit/bd70c40d88575394013081d41fb6e4a789e88814
      http://qt.gitorious.org/~zecke/qt/zeckes-qt/commit/a4fb0cc5d71993f0b07464762219301eb1be48fc

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sletta Gunnar Sletta
            holger Holger Freyther
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes