Home
last modified time | relevance | path

Searched refs:fromLuma (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/core/
DSkMaskGamma.cpp19 SkScalar fromLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luma) const override { in fromLuma() function in SkLinearColorSpaceLuminance
29 SkScalar fromLuma(SkScalar gamma, SkScalar luma) const override { in fromLuma() function in SkGammaColorSpaceLuminance
45 SkScalar fromLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luma) const override { in fromLuma() function in SkSRGBColorSpaceLuminance
115 float out = dstConvert.fromLuma(dstGamma, linOut); in SkTMaskGamma_build_correcting_lut()
DSkMaskGamma.h30 virtual SkScalar fromLuma(SkScalar gamma, SkScalar luma) const = 0;
42 return SkScalarRoundToInt(luminance.fromLuma(gamma, luma) * 255); in computeLuminance()