Searched refs:toLuma (Results 1 – 2 of 2) sorted by relevance
15 SkScalar toLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luminance) const override { in toLuma() function in SkLinearColorSpaceLuminance26 SkScalar toLuma(SkScalar gamma, SkScalar luminance) const override { in toLuma() function in SkGammaColorSpaceLuminance35 SkScalar toLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luminance) const override { in toLuma() function in SkSRGBColorSpaceLuminance79 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()
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()