Lines Matching refs:gamma
16 SkScalar toLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luminance) const override { in toLuma() argument
17 SkASSERT(SK_Scalar1 == gamma); in toLuma()
20 SkScalar fromLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luma) const override { in fromLuma() argument
21 SkASSERT(SK_Scalar1 == gamma); in fromLuma()
27 SkScalar toLuma(SkScalar gamma, SkScalar luminance) const override { in toLuma() argument
28 return SkScalarPow(luminance, gamma); in toLuma()
30 SkScalar fromLuma(SkScalar gamma, SkScalar luma) const override { in fromLuma() argument
31 return SkScalarPow(luma, SkScalarInvert(gamma)); in fromLuma()
36 SkScalar toLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luminance) const override { in toLuma() argument
37 SkASSERT(0 == gamma); in toLuma()
46 SkScalar fromLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luma) const override { in fromLuma() argument
47 SkASSERT(0 == gamma); in fromLuma()
58 /*static*/ const SkColorSpaceLuminance& SkColorSpaceLuminance::Fetch(SkScalar gamma) { in Fetch() argument
63 if (0 == gamma) { in Fetch()
65 } else if (SK_Scalar1 == gamma) { in Fetch()