Searched refs:transfer_fn_almost_equal (Results 1 – 1 of 1) sorted by relevance
/third_party/skia/src/core/ |
D | SkColorSpacePriv.h | 31 static inline bool transfer_fn_almost_equal(float a, float b) { in transfer_fn_almost_equal() function 69 return transfer_fn_almost_equal(SkNamedTransferFn::kSRGB.a, coeffs.a) && in is_almost_srgb() 70 transfer_fn_almost_equal(SkNamedTransferFn::kSRGB.b, coeffs.b) && in is_almost_srgb() 71 transfer_fn_almost_equal(SkNamedTransferFn::kSRGB.c, coeffs.c) && in is_almost_srgb() 72 transfer_fn_almost_equal(SkNamedTransferFn::kSRGB.d, coeffs.d) && in is_almost_srgb() 73 transfer_fn_almost_equal(SkNamedTransferFn::kSRGB.e, coeffs.e) && in is_almost_srgb() 74 transfer_fn_almost_equal(SkNamedTransferFn::kSRGB.f, coeffs.f) && in is_almost_srgb() 75 transfer_fn_almost_equal(SkNamedTransferFn::kSRGB.g, coeffs.g); in is_almost_srgb() 79 return transfer_fn_almost_equal(1.0f, coeffs.a) && in is_almost_2dot2() 80 transfer_fn_almost_equal(0.0f, coeffs.b) && in is_almost_2dot2() [all …]
|