aboutsummaryrefslogtreecommitdiffstats
path: root/distrib/jpeg-6b/sources.make
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/sources.make
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/sources.make')
-rw-r--r--distrib/jpeg-6b/sources.make3
1 files changed, 2 insertions, 1 deletions
diff --git a/distrib/jpeg-6b/sources.make b/distrib/jpeg-6b/sources.make
index 5139fce..57c7d47 100644
--- a/distrib/jpeg-6b/sources.make
+++ b/distrib/jpeg-6b/sources.make
@@ -7,7 +7,7 @@ LIBJPEG_SOURCES := jcapimin.c jcapistd.c jccoefct.c jccolor.c jcdctmgr.c jchuff.
jdinput.c jdmainct.c jdmarker.c jdmaster.c jdmerge.c jdphuff.c \
jdpostct.c jdsample.c jdtrans.c jerror.c jfdctflt.c jfdctfst.c \
jfdctint.c jidctflt.c jidctfst.c jidctint.c jidctred.c jquant1.c \
- jquant2.c jutils.c jmemmgr.c
+ jquant2.c jutils.c jmemmgr.c jidctintelsse.c
# jmem-ashmem.c doesn't compile for Windows.
#LIBJPEG_CFLAGS += -DUSE_ANDROID_ASHMEM
@@ -19,6 +19,7 @@ LIBJPEG_SOURCES += jmem-android.c
LIBJPEG_CFLAGS += -DAVOID_TABLES
LIBJPEG_CFLAGS += -O3 -fstrict-aliasing
+LIBJPEG_CFLAGS += -DANDROID_INTELSSE2_IDCT -msse2
#LIBJPEG_CFLAGS += -march=armv6j
# enable tile based decode