aboutsummaryrefslogtreecommitdiffstats
path: root/distrib/jpeg-6b/jmorecfg.h
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2012-08-29 18:47:59 -0700
committerandroid code review <noreply-gerritcodereview@google.com>2012-08-29 18:48:00 -0700
commit0f809250987b64f491bd3b4b73c0f0d33036a786 (patch)
tree01be0bf6c0d6968e1468ec9661fd52110f9b05a7 /distrib/jpeg-6b/jmorecfg.h
parenta616e320339206339dbf51da50f0904010ff71ca (diff)
parentf897702251443b531b2ded93df71ffd87fbae076 (diff)
downloadexternal_qemu-0f809250987b64f491bd3b4b73c0f0d33036a786.zip
external_qemu-0f809250987b64f491bd3b4b73c0f0d33036a786.tar.gz
external_qemu-0f809250987b64f491bd3b4b73c0f0d33036a786.tar.bz2
Merge "Add SSE optmized IDCT in JPEG decoding emulator"
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