Searched refs:MAX (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Gallery2/jni/filters/ |
D | bwfilter.c | 31 float max = MAX(sg,sb); in JNIFUNCF() 32 max = MAX(sr,max); in JNIFUNCF() 47 max = MAX(g,b); in JNIFUNCF() 48 max = MAX(r,max); in JNIFUNCF()
|
D | redEyeMath.c | 21 return MAX(r, MAX(g, b)); in value() 28 int max = MAX(g, b); in isRed() 117 rect[0] = MAX(rect[0],0); in filterRedEye() 118 rect[1] = MAX(rect[1],0); in filterRedEye() 147 int m = MAX(g,b); in filterRedEye()
|
D | filters.h | 34 #define MAX(a, b) (a > b ? a : b) macro 44 #define CLAMP(c) (MAX(0, MIN(255, c)))
|
D | hsv.c | 47 iMax = MAX (ri, bi); in rgb2hsv() 50 iMax = MAX (gi, bi); in rgb2hsv()
|
D | wbalance.c | 148 int max = MAX(wr, MAX(wg, wb)); in JNIFUNCF()
|
D | vibrance.c | 41 float red = (r-MAX(g, b))/256.f; in JNIFUNCF()
|