diff options
author | Chia-chi Yeh <chiachi@android.com> | 2010-08-19 15:34:10 +0800 |
---|---|---|
committer | Chia-chi Yeh <chiachi@android.com> | 2010-08-19 16:05:32 +0800 |
commit | 58d3bd08107f44cba79938dd8430e69c0fda4202 (patch) | |
tree | ecf860ee17509b33fa0ca55050b16d82c7f287ba /media/libmedia/Android.mk | |
parent | b72081966da3842e27f88045cfa5a67cef3d4220 (diff) | |
download | frameworks_base-58d3bd08107f44cba79938dd8430e69c0fda4202.zip frameworks_base-58d3bd08107f44cba79938dd8430e69c0fda4202.tar.gz frameworks_base-58d3bd08107f44cba79938dd8430e69c0fda4202.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.mk | 7 |
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) |