Lines Matching refs:gamma
15 SkScalar toLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luminance) const override { in toLuma() argument
16 SkASSERT(SK_Scalar1 == gamma); in toLuma()
19 SkScalar fromLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luma) const override { in fromLuma() argument
20 SkASSERT(SK_Scalar1 == gamma); in fromLuma()
26 SkScalar toLuma(SkScalar gamma, SkScalar luminance) const override { in toLuma() argument
27 return SkScalarPow(luminance, gamma); in toLuma()
29 SkScalar fromLuma(SkScalar gamma, SkScalar luma) const override { in fromLuma() argument
30 return SkScalarPow(luma, SkScalarInvert(gamma)); in fromLuma()
35 SkScalar toLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luminance) const override { in toLuma() argument
36 SkASSERT(0 == gamma); in toLuma()
45 SkScalar fromLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luma) const override { in fromLuma() argument
46 SkASSERT(0 == gamma); in fromLuma()
57 /*static*/ const SkColorSpaceLuminance& SkColorSpaceLuminance::Fetch(SkScalar gamma) { in Fetch() argument
62 if (0 == gamma) { in Fetch()
64 } else if (SK_Scalar1 == gamma) { in Fetch()