Searched refs:transfer_fn_almost_equal (Results 1 – 2 of 2) sorted by relevance
/external/skia/src/core/ |
D | SkColorSpacePriv.h | 77 static inline bool transfer_fn_almost_equal(float a, float b) { in transfer_fn_almost_equal() function 138 return transfer_fn_almost_equal(gSRGB_TransferFn.fA, coeffs.fA) && in is_almost_srgb() 139 transfer_fn_almost_equal(gSRGB_TransferFn.fB, coeffs.fB) && in is_almost_srgb() 140 transfer_fn_almost_equal(gSRGB_TransferFn.fC, coeffs.fC) && in is_almost_srgb() 141 transfer_fn_almost_equal(gSRGB_TransferFn.fD, coeffs.fD) && in is_almost_srgb() 142 transfer_fn_almost_equal(gSRGB_TransferFn.fE, coeffs.fE) && in is_almost_srgb() 143 transfer_fn_almost_equal(gSRGB_TransferFn.fF, coeffs.fF) && in is_almost_srgb() 144 transfer_fn_almost_equal(gSRGB_TransferFn.fG, coeffs.fG); in is_almost_srgb() 148 return transfer_fn_almost_equal(1.0f, coeffs.fA) && in is_almost_2dot2() 149 transfer_fn_almost_equal(0.0f, coeffs.fB) && in is_almost_2dot2() [all …]
|
D | SkColorSpace.cpp | 579 if (!transfer_fn_almost_equal(0.f, fC)) { in invert() 588 if (transfer_fn_almost_equal(0.f, fA) || transfer_fn_almost_equal(0.f, fG)) { in invert()
|