Searched defs:wg (Results 1 - 1 of 1) sorted by relevance

/packages/apps/Gallery2/jni/filters/
H A Dwbalance.c19 void estmateWhite(unsigned char *src, int len, int *wr, int *wb, int *wg){ argument
95 *wg = sum15b/count15b;
97 *wg = *wb = *wr=255;
101 void estmateWhiteBox(unsigned char *src, int iw, int ih, int x,int y, int *wr, int *wb, int *wg){ argument
127 *wg = g/sum;
139 int wg; local
143 estmateWhite(rgb,len,&wr,&wg,&wb);
145 estmateWhiteBox(rgb, width, height,locX,locY,&wr,&wg,&wb);
147 int min = MIN(wr, MIN(wg, wb));
148 int max = MAX(wr, MAX(wg, w
[all...]

Completed in 28 milliseconds