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

/external/skia/src/ports/
H A DSkFontHost_gamma.cpp101 // If the luminance is <= this value, then apply the black gamma table
104 // If the luminance is >= this value, then apply the white gamma table
113 int luminance = (r * 2 + g * 5 + b) >> 3; local
115 if (luminance <= BLACK_GAMMA_THRESHOLD) {
119 if (luminance >= WHITE_GAMMA_THRESHOLD) {
/external/webkit/Source/WebCore/platform/graphics/filters/
H A DFEColorMatrix.cpp119 inline void luminance(double& red, double& green, double& blue, double& alpha) function in namespace:WebCore
148 luminance(red, green, blue, alpha);

Completed in 172 milliseconds