MIPS: Fast path for rgb888 to rgb32 conversion
authorAdrian Perez de Castro <aperez@igalia.com>
Fri, 18 Jan 2013 19:06:24 +0000 (21:06 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 6 Mar 2014 16:41:04 +0000 (17:41 +0100)
commit8f17d622b0f719973fb405705087f8a36c1f0739
tree410d05a42006453f827a48c825f9f3e66d3ce523
parentbc84e7cd436e81563191ec546109391678794537
MIPS: Fast path for rgb888 to rgb32 conversion

Add a hand-coded MIPS assembler function to convert a stream of rgb888
bytes to an array of 32-bit ARGB values. This is used in QImage for
image conversion, and also in QJpegHandler for decoding JPEG image
scanlines.

Change-Id: Ia74a5ff799b29fad3d4acbfcafe790cd60586d72
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/gui/image/qimage_conversions.cpp
src/gui/image/qimage_mips_dspr2.cpp
src/gui/image/qimage_mips_dspr2_asm.S
src/gui/image/qjpeghandler.cpp