Searched defs:wb (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
94 *wb = sum15g/count15g;
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
128 *wb = b/sum;
140 int wb; 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, wb));
[all...]

Completed in 212 milliseconds