summaryrefslogtreecommitdiffstats
path: root/jni
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)
commitd10e97d4f9ad49c219663bcff77823e5d27f1fe6 (patch)
treefb6d99f9a8fee766883f8540ce9c27bd284eb28a /jni
parente2e1b123f189014fd55e9414e2ed03baac38ceb0 (diff)
downloadandroid_packages_apps_Snap-d10e97d4f9ad49c219663bcff77823e5d27f1fe6.zip
android_packages_apps_Snap-d10e97d4f9ad49c219663bcff77823e5d27f1fe6.tar.gz
android_packages_apps_Snap-d10e97d4f9ad49c219663bcff77823e5d27f1fe6.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')
-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