summaryrefslogtreecommitdiffstats
path: root/jni
diff options
context:
space:
mode:
authornicolasroard <nicolasroard@google.com>2012-09-25 21:27:56 (GMT)
committernicolasroard <nicolasroard@google.com>2012-09-26 23:13:45 (GMT)
commit01dd3d28c08ba52cd5c1a24c473a9d5be87f5919 (patch)
treef49b4311a3d5da457ef6b3bccb975b29f3050356 /jni
parent2cc6e35b284578b646d9dfad57496257aa2a5945 (diff)
downloadandroid_packages_apps_Snap-01dd3d28c08ba52cd5c1a24c473a9d5be87f5919.zip
android_packages_apps_Snap-01dd3d28c08ba52cd5c1a24c473a9d5be87f5919.tar.gz
android_packages_apps_Snap-01dd3d28c08ba52cd5c1a24c473a9d5be87f5919.tar.bz2
Initial import of the new image editor
bug:7165910 Change-Id: I756d6594f5bddd233772c979410362ca22e232a3
Diffstat (limited to 'jni')
-rw-r--r--jni/Android.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/jni/Android.mk b/jni/Android.mk
index 099b9ba..01dd728 100644
--- a/jni/Android.mk
+++ b/jni/Android.mk
@@ -14,4 +14,21 @@ LOCAL_MODULE_TAGS := optional
LOCAL_MODULE := libjni_eglfence
+
+include $(BUILD_SHARED_LIBRARY)
+
+# Filtershow
+
+include $(CLEAR_VARS)
+
+LOCAL_LDLIBS := -llog -ljnigraphics
+LOCAL_MODULE := filters
+LOCAL_SRC_FILES := filters/bw.c \
+ filters/gradient.c \
+ filters/saturated.c \
+ filters/vignette.c
+
+LOCAL_CFLAGS += -ffast-math -O3 -funroll-loops
+LOCAL_ARM_MODE := arm
+
include $(BUILD_SHARED_LIBRARY)