summaryrefslogtreecommitdiffstats
path: root/jni/Android.mk
diff options
context:
space:
mode:
authorSascha Haeberling <haeberling@google.com>2012-10-19 22:43:03 (GMT)
committerSascha Haeberling <haeberling@google.com>2012-10-20 00:04:37 (GMT)
commita6f29e1b7ac87c930b6dbbd1f6e73fefa08bd8fa (patch)
tree03884e7c18d6d3dc9e6ac8f89957523d67a321a4 /jni/Android.mk
parentd0fc0f5fd56f2f2aedcf7ea6583f59a405eea103 (diff)
downloadandroid_packages_apps_Snap-a6f29e1b7ac87c930b6dbbd1f6e73fefa08bd8fa.zip
android_packages_apps_Snap-a6f29e1b7ac87c930b6dbbd1f6e73fefa08bd8fa.tar.gz
android_packages_apps_Snap-a6f29e1b7ac87c930b6dbbd1f6e73fefa08bd8fa.tar.bz2
Adds a tiny planet (stereographic projection) image filter.
Bug: 7293391 Also fixes an issue where the preview value was statically set to 100. This adds a preview parameter value that can be set for this purpose. Change-Id: I68c4ec04e86ab8a29ef7f561e5f21a298003677e
Diffstat (limited to 'jni/Android.mk')
-rw-r--r--jni/Android.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/jni/Android.mk b/jni/Android.mk
index 85e867a..fb8ba86 100644
--- a/jni/Android.mk
+++ b/jni/Android.mk
@@ -21,6 +21,7 @@ include $(BUILD_SHARED_LIBRARY)
include $(CLEAR_VARS)
+LOCAL_CPP_EXTENSION := .cc
LOCAL_LDFLAGS := -llog -ljnigraphics
LOCAL_SDK_VERSION := 9
LOCAL_MODULE := libjni_filtershow_filters
@@ -38,7 +39,8 @@ LOCAL_SRC_FILES := filters/bw.c \
filters/redEyeMath.c \
filters/fx.c \
filters/wbalance.c \
- filters/redeye.c
+ filters/redeye.c \
+ filters/tinyplanet.cc
LOCAL_CFLAGS += -ffast-math -O3 -funroll-loops
LOCAL_ARM_MODE := arm