aboutsummaryrefslogtreecommitdiffstats
path: root/distrib/jpeg-6b/jmorecfg.h
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2012-08-28 19:48:46 +0800
committerAndrew Hsieh <andrewhsieh@google.com>2012-08-28 19:48:46 +0800
commitf897702251443b531b2ded93df71ffd87fbae076 (patch)
tree01be0bf6c0d6968e1468ec9661fd52110f9b05a7 /distrib/jpeg-6b/jmorecfg.h
parenta616e320339206339dbf51da50f0904010ff71ca (diff)
downloadexternal_qemu-f897702251443b531b2ded93df71ffd87fbae076.zip
external_qemu-f897702251443b531b2ded93df71ffd87fbae076.tar.gz
external_qemu-f897702251443b531b2ded93df71ffd87fbae076.tar.bz2
Add SSE optmized IDCT in JPEG decoding emulator
Port from related CL: https://android-review.googlesource.com/#/c/38840 Change-Id: Iba7183c2760701a95e27355b91835285d63bf7bc
Diffstat (limited to 'distrib/jpeg-6b/jmorecfg.h')
-rw-r--r--distrib/jpeg-6b/jmorecfg.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/distrib/jpeg-6b/jmorecfg.h b/distrib/jpeg-6b/jmorecfg.h
index 9dfde01..95df28b 100644
--- a/distrib/jpeg-6b/jmorecfg.h
+++ b/distrib/jpeg-6b/jmorecfg.h
@@ -366,8 +366,12 @@ typedef int boolean;
*/
#ifndef MULTIPLIER
+#ifdef ANDROID_INTELSSE2_IDCT
+ #define MULTIPLIER short
+#else
#define MULTIPLIER int /* type for fastest integer multiply */
#endif
+#endif
/* FAST_FLOAT should be either float or double, whichever is done faster