summaryrefslogtreecommitdiffstats
path: root/media/libmedia/Android.mk
diff options
context:
space:
mode:
authorChia-chi Yeh <chiachi@android.com>2010-08-19 15:34:10 +0800
committerChia-chi Yeh <chiachi@android.com>2010-08-19 16:05:32 +0800
commitdbd2b7e4ebfe7a586b1db4459cf6aa032a7f8719 (patch)
treebc9a06e98f9142ff531a62892b0685f75040f685 /media/libmedia/Android.mk
parente259531ce59ab1f31de5a23124b22536f6a5a767 (diff)
downloadframeworks_av-dbd2b7e4ebfe7a586b1db4459cf6aa032a7f8719.zip
frameworks_av-dbd2b7e4ebfe7a586b1db4459cf6aa032a7f8719.tar.gz
frameworks_av-dbd2b7e4ebfe7a586b1db4459cf6aa032a7f8719.tar.bz2
Visualizer: replace the FFT implementation with a faster one.
This implementation uses fixed points instead of floating points. It is slightly inaccurate compared to the old one but still perfect for visualization purpose. It runs 40% faster on passion, 5 times faster on sholes, and of course 14 times faster on sapphire. Change-Id: I1e868417bcffda091becf106a7b941d02813faec
Diffstat (limited to 'media/libmedia/Android.mk')
-rw-r--r--media/libmedia/Android.mk7
1 files changed, 2 insertions, 5 deletions
diff --git a/media/libmedia/Android.mk b/media/libmedia/Android.mk
index 977e6be..b4d01f5 100644
--- a/media/libmedia/Android.mk
+++ b/media/libmedia/Android.mk
@@ -31,7 +31,8 @@ LOCAL_SRC_FILES:= \
IEffect.cpp \
IEffectClient.cpp \
AudioEffect.cpp \
- Visualizer.cpp
+ Visualizer.cpp \
+ fixedfft.cpp.arm
LOCAL_SHARED_LIBRARIES := \
libui libcutils libutils libbinder libsonivox libicuuc libexpat libsurfaceflinger_client libcamera_client
@@ -50,11 +51,7 @@ LOCAL_C_INCLUDES := \
$(JNI_H_INCLUDE) \
$(call include-path-for, graphics corecg) \
$(TOP)/external/opencore/extern_libs_v2/khronos/openmax/include \
- external/speex/include \
- external/speex/libspeex \
external/icu4c/common \
external/expat/lib
-LOCAL_STATIC_LIBRARIES := libspeex
-
include $(BUILD_SHARED_LIBRARY)