Home
last modified time | relevance | path

Searched refs:transfer_fn_almost_equal (Results 1 – 2 of 2) sorted by relevance

/external/skqp/src/core/
DSkColorSpacePriv.h30 static inline bool transfer_fn_almost_equal(float a, float b) { in transfer_fn_almost_equal() function
85 return transfer_fn_almost_equal(SkNamedTransferFn::kSRGB.a, coeffs.a) && in is_almost_srgb()
86 transfer_fn_almost_equal(SkNamedTransferFn::kSRGB.b, coeffs.b) && in is_almost_srgb()
87 transfer_fn_almost_equal(SkNamedTransferFn::kSRGB.c, coeffs.c) && in is_almost_srgb()
88 transfer_fn_almost_equal(SkNamedTransferFn::kSRGB.d, coeffs.d) && in is_almost_srgb()
89 transfer_fn_almost_equal(SkNamedTransferFn::kSRGB.e, coeffs.e) && in is_almost_srgb()
90 transfer_fn_almost_equal(SkNamedTransferFn::kSRGB.f, coeffs.f) && in is_almost_srgb()
91 transfer_fn_almost_equal(SkNamedTransferFn::kSRGB.g, coeffs.g); in is_almost_srgb()
95 return transfer_fn_almost_equal(1.0f, coeffs.a) && in is_almost_2dot2()
96 transfer_fn_almost_equal(0.0f, coeffs.b) && in is_almost_2dot2()
[all …]
/external/skia/src/core/
DSkColorSpacePriv.h31 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 …]