Searched refs:toLuma (Results 1 – 4 of 4) sorted by relevance
/external/skqp/src/core/ |
D | SkMaskGamma.cpp | 15 SkScalar toLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luminance) const override { in toLuma() function in SkLinearColorSpaceLuminance 26 SkScalar toLuma(SkScalar gamma, SkScalar luminance) const override { in toLuma() function in SkGammaColorSpaceLuminance 35 SkScalar toLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luminance) const override { in toLuma() function in SkSRGBColorSpaceLuminance 79 const float linSrc = srcConvert.toLuma(srcGamma, src); in SkTMaskGamma_build_correcting_lut() 85 const float linDst = dstConvert.toLuma(dstGamma, dst); in SkTMaskGamma_build_correcting_lut()
|
D | SkMaskGamma.h | 28 virtual SkScalar toLuma(SkScalar gamma, SkScalar luminance) const = 0; 35 SkScalar r = luminance.toLuma(gamma, SkIntToScalar(SkColorGetR(c)) / 255); in computeLuminance() 36 SkScalar g = luminance.toLuma(gamma, SkIntToScalar(SkColorGetG(c)) / 255); in computeLuminance() 37 SkScalar b = luminance.toLuma(gamma, SkIntToScalar(SkColorGetB(c)) / 255); in computeLuminance()
|
/external/skia/src/core/ |
D | SkMaskGamma.cpp | 15 SkScalar toLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luminance) const override { in toLuma() function in SkLinearColorSpaceLuminance 26 SkScalar toLuma(SkScalar gamma, SkScalar luminance) const override { in toLuma() function in SkGammaColorSpaceLuminance 35 SkScalar toLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luminance) const override { in toLuma() function in SkSRGBColorSpaceLuminance 79 const float linSrc = srcConvert.toLuma(srcGamma, src); in SkTMaskGamma_build_correcting_lut() 85 const float linDst = dstConvert.toLuma(dstGamma, dst); in SkTMaskGamma_build_correcting_lut()
|
D | SkMaskGamma.h | 28 virtual SkScalar toLuma(SkScalar gamma, SkScalar luminance) const = 0; 35 SkScalar r = luminance.toLuma(gamma, SkIntToScalar(SkColorGetR(c)) / 255); in computeLuminance() 36 SkScalar g = luminance.toLuma(gamma, SkIntToScalar(SkColorGetG(c)) / 255); in computeLuminance() 37 SkScalar b = luminance.toLuma(gamma, SkIntToScalar(SkColorGetB(c)) / 255); in computeLuminance()
|