summaryrefslogtreecommitdiffstats
path: root/jni/filters/filters.h
diff options
context:
space:
mode:
authorJohn Hoford <hoford@google.com>2012-09-27 16:34:21 -0700
committerJohn Hoford <hoford@google.com>2012-09-28 17:14:13 -0700
commit912ea3074e9551640b96b87b04a0f30504542c52 (patch)
treeaf6282005dcef944688d661e5e85c615caa8058d /jni/filters/filters.h
parentadb1a927280c471ed9f5435aade393aa7c427860 (diff)
downloadandroid_packages_apps_Snap-912ea3074e9551640b96b87b04a0f30504542c52.tar.gz
android_packages_apps_Snap-912ea3074e9551640b96b87b04a0f30504542c52.tar.bz2
android_packages_apps_Snap-912ea3074e9551640b96b87b04a0f30504542c52.zip
Add contrast & brightness filters
Added hue fixed contrast Stablized Contrast, Saturation, Tint, Exposure bug:7234321 Change-Id: Iadd1e3ab215b60f920b718fa56611a07f24effee
Diffstat (limited to 'jni/filters/filters.h')
-rw-r--r--jni/filters/filters.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/jni/filters/filters.h b/jni/filters/filters.h
index f8c4c5d08..5fe595b9e 100644
--- a/jni/filters/filters.h
+++ b/jni/filters/filters.h
@@ -43,4 +43,6 @@ typedef unsigned int Color;
#define ALPHA i+3
#define CLAMP(c) (MAX(0, MIN(255, c)))
+unsigned char __inline__ clamp(int c);
+
#endif // FILTERS_H