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

/packages/apps/Gallery2/jni/filters/
H A Dhsv.c41 int ri = rgb[rgbOff+0]; local
46 if (ri > gi) {
47 iMax = MAX (ri, bi);
51 iMin = MIN (ri, bi);
68 if ( ri == iMax ) {
72 rh = (short)( (k2*(2*chroma+bi - ri ))/(6*chroma));
74 rh = (short)( (k2*(4*chroma+ri - gi ))/(6*chroma));

Completed in 36 milliseconds