Lines Matching refs:minVal
213 << "mediump float minVal = min(min(r, g), b);"
215 << "mediump float L = (minVal + maxVal) * 0.5;"
216 << "if (minVal == maxVal)"
223 << " S = (maxVal - minVal) / (maxVal + minVal);"
225 << " S = (maxVal - minVal) / (2.0 - maxVal - minVal);"
227 << " mediump float ooDiff = 1.0 / (maxVal - minVal);"
239 float minVal = min(min(r, g), b);
241 float L = (minVal + maxVal) * 0.5f;
244 if (minVal == maxVal)
251 S = (maxVal - minVal) / (maxVal + minVal);
253 S = (maxVal - minVal) / (2.0f - maxVal - minVal);
255 float ooDiff = 1.0f / (maxVal - minVal);