Searched refs:linearFn (Results 1 – 2 of 2) sorted by relevance
161 SkColorSpaceTransferFn linearFn; in DEF_TEST() local162 linearFn.fA = 0.0f; in DEF_TEST()163 linearFn.fB = 0.0f; in DEF_TEST()164 linearFn.fC = 1.0f; in DEF_TEST()165 linearFn.fD = 1.0f; in DEF_TEST()166 linearFn.fE = 0.0f; in DEF_TEST()167 linearFn.fF = 0.0f; in DEF_TEST()168 linearFn.fG = 0.0f; in DEF_TEST()169 sk_sp<SkColorSpace> rgbColorSpace3 = SkColorSpace::MakeRGB(linearFn, srgbToxyzD50); in DEF_TEST()
165 const bool linearFn = in is_almost_linear() local170 return linearExp || linearFn; in is_almost_linear()