Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

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

$
0
0
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?

Viewing all articles
Browse latest Browse all 2113

Trending Articles