Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt 5.2 QImage rgbSwapped() and scaled() runs ridiculously slow
Qt 6.11 is out! See what's new in the release blog

Qt 5.2 QImage rgbSwapped() and scaled() runs ridiculously slow

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 1 Posters 1.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kovand11
    wrote on last edited by
    #1

    These two operations take more than 100ms in a ivy bridge i3 based mobile device. The intresting thing is, that the same operation runs much faster (at least 5 times) if i compile with qt 4.8.

    The only difference is, that i use this constructor to make a the QImage in the 5.2 version

    http://harmattan-dev.nokia.com/docs/library/html/qt4/qimage.html#QImage-4 QImage::QImage ( uchar * data, int width, int height, Format format )

    and this one under 4.8 (from qt3 support lib):

    http://harmattan-dev.nokia.com/docs/library/html/qt4/qimage-qt3.html#QImage-14 QImage ( uchar * data, int width, int height, int depth, const QRgb * colortable, int numColors, Endian bitOrder )

    the data is in QImage::Format_RGB888 format 1080p resolution, 720p->1080p at upscale, and i use ubuntu 13.10 64bit

    Any idea for solving the problem? Or find out what takes that long?

    1 Reply Last reply
    0
    • K Offline
      K Offline
      kovand11
      wrote on last edited by
      #2

      Sorry, wrong topic. Please move it.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved