Searched refs:toLuma (Results 1 – 4 of 4) sorted by relevance
/third_party/flutter/skia/src/core/ |
D | SkMaskGamma.cpp | 16 SkScalar toLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luminance) const override { in toLuma() function in SkLinearColorSpaceLuminance 27 SkScalar toLuma(SkScalar gamma, SkScalar luminance) const override { in toLuma() function in SkGammaColorSpaceLuminance 36 SkScalar toLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luminance) const override { in toLuma() function in SkSRGBColorSpaceLuminance 80 const float linSrc = srcConvert.toLuma(srcGamma, src); in SkTMaskGamma_build_correcting_lut() 86 const float linDst = dstConvert.toLuma(dstGamma, dst); in SkTMaskGamma_build_correcting_lut()
|
D | SkMaskGamma.h | 29 virtual SkScalar toLuma(SkScalar gamma, SkScalar luminance) const = 0; 36 SkScalar r = luminance.toLuma(gamma, SkIntToScalar(SkColorGetR(c)) / 255); in computeLuminance() 37 SkScalar g = luminance.toLuma(gamma, SkIntToScalar(SkColorGetG(c)) / 255); in computeLuminance() 38 SkScalar b = luminance.toLuma(gamma, SkIntToScalar(SkColorGetB(c)) / 255); in computeLuminance()
|
/third_party/skia/src/core/ |
D | SkMaskGamma.cpp | 16 SkScalar toLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luminance) const override { in toLuma() function in SkLinearColorSpaceLuminance 27 SkScalar toLuma(SkScalar gamma, SkScalar luminance) const override { in toLuma() function in SkGammaColorSpaceLuminance 36 SkScalar toLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luminance) const override { in toLuma() function in SkSRGBColorSpaceLuminance 80 const float linSrc = srcConvert.toLuma(srcGamma, src); in SkTMaskGamma_build_correcting_lut() 86 const float linDst = dstConvert.toLuma(dstGamma, dst); in SkTMaskGamma_build_correcting_lut()
|
D | SkMaskGamma.h | 29 virtual SkScalar toLuma(SkScalar gamma, SkScalar luminance) const = 0; 36 SkScalar r = luminance.toLuma(gamma, SkIntToScalar(SkColorGetR(c)) / 255); in computeLuminance() 37 SkScalar g = luminance.toLuma(gamma, SkIntToScalar(SkColorGetG(c)) / 255); in computeLuminance() 38 SkScalar b = luminance.toLuma(gamma, SkIntToScalar(SkColorGetB(c)) / 255); in computeLuminance()
|