Searched refs:skcms_to_steps (Results 1 – 2 of 2) sorted by relevance
/external/skia/tests/ |
D | NonlinearBlendingTest.cpp | 60 float skcms_to_steps[4] = { via_skcms[0], via_skcms[1], via_skcms[2], via_skcms[3] }; in DEF_TEST() local 63 inv_steps.apply(skcms_to_steps); in DEF_TEST() 65 REPORTER_ASSERT(r, fabsf(skcms_to_steps[0] - steps_to_skcms[0]) <= 0.005f); in DEF_TEST() 66 REPORTER_ASSERT(r, fabsf(skcms_to_steps[1] - steps_to_skcms[1]) <= 0.005f); in DEF_TEST() 67 REPORTER_ASSERT(r, fabsf(skcms_to_steps[2] - steps_to_skcms[2]) <= 0.005f); in DEF_TEST() 68 REPORTER_ASSERT(r, fabsf(skcms_to_steps[3] - steps_to_skcms[3]) <= 0.0f); in DEF_TEST()
|
/external/skqp/tests/ |
D | NonlinearBlendingTest.cpp | 60 float skcms_to_steps[4] = { via_skcms[0], via_skcms[1], via_skcms[2], via_skcms[3] }; in DEF_TEST() local 63 inv_steps.apply(skcms_to_steps); in DEF_TEST() 65 REPORTER_ASSERT(r, fabsf(skcms_to_steps[0] - steps_to_skcms[0]) <= 0.005f); in DEF_TEST() 66 REPORTER_ASSERT(r, fabsf(skcms_to_steps[1] - steps_to_skcms[1]) <= 0.005f); in DEF_TEST() 67 REPORTER_ASSERT(r, fabsf(skcms_to_steps[2] - steps_to_skcms[2]) <= 0.005f); in DEF_TEST() 68 REPORTER_ASSERT(r, fabsf(skcms_to_steps[3] - steps_to_skcms[3]) <= 0.0f); in DEF_TEST()
|