From f897702251443b531b2ded93df71ffd87fbae076 Mon Sep 17 00:00:00 2001 From: Andrew Hsieh Date: Tue, 28 Aug 2012 19:48:46 +0800 Subject: Add SSE optmized IDCT in JPEG decoding emulator Port from related CL: https://android-review.googlesource.com/#/c/38840 Change-Id: Iba7183c2760701a95e27355b91835285d63bf7bc --- distrib/jpeg-6b/jmorecfg.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'distrib/jpeg-6b/jmorecfg.h') 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 -- cgit v1.1