summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qdrawhelper_mips_dsp_p.h
diff options
context:
space:
mode:
authorDamir Tatalovic <dtatalovic@mips.com>2012-04-04 17:54:58 +0200
committerQt by Nokia <qt-info@nokia.com>2012-05-16 04:25:04 +0200
commit7f3f3a0858ac743802b80cc5490747ae024b5574 (patch)
treea9930044731957901cdbb1f58ee776dc5d9e73a7 /src/gui/painting/qdrawhelper_mips_dsp_p.h
parent0e7a52b539aa2d9d49cf8b4f7bd8e094d2598e84 (diff)
MIPS DSPR2 optimization of routine fetchUntransformedRGB16
Change-Id: I109deb969009214c4d81677e127f50120443acd2 Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/gui/painting/qdrawhelper_mips_dsp_p.h')
-rw-r--r--src/gui/painting/qdrawhelper_mips_dsp_p.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/painting/qdrawhelper_mips_dsp_p.h b/src/gui/painting/qdrawhelper_mips_dsp_p.h
index c68a3fff9b..55affca5d4 100644
--- a/src/gui/painting/qdrawhelper_mips_dsp_p.h
+++ b/src/gui/painting/qdrawhelper_mips_dsp_p.h
@@ -71,6 +71,12 @@ uint * QT_FASTCALL qt_destFetchARGB32_mips_dsp(uint *buffer,
void QT_FASTCALL qt_destStoreARGB32_mips_dsp(QRasterBuffer *rasterBuffer, int x, int y,
const uint *buffer, int length);
+#ifdef QT_HAVE_MIPS_DSPR2
+
+extern "C" void qConvertRgb16To32_asm_mips_dspr2(quint32 *dest, const quint16 *src, int length);
+
+#endif // QT_HAVE_MIPS_DSPR2
+
#endif // QT_HAVE_MIPS_DSP
QT_END_NAMESPACE