Home
last modified time | relevance | path

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

/third_party/boost/libs/gil/test/extension/toolbox/
Dxyz_test.cpp27 gil::xyz32f_pixel_t xyz32f; in BOOST_AUTO_TEST_CASE() local
29 gil::color_convert(p32f, xyz32f); in BOOST_AUTO_TEST_CASE()
30 gil::color_convert(xyz32f, p32f_b); in BOOST_AUTO_TEST_CASE()
35 << xyz32f[0] << " " in BOOST_AUTO_TEST_CASE()
36 << xyz32f[1] << " " in BOOST_AUTO_TEST_CASE()
37 << xyz32f[2] << " -> " in BOOST_AUTO_TEST_CASE()
45 BOOST_CHECK( abs( xyz32f[0] - 0.562669) < SKEW ); in BOOST_AUTO_TEST_CASE()
46 BOOST_CHECK( abs( xyz32f[1] - 0.597462) < SKEW ); in BOOST_AUTO_TEST_CASE()
47 BOOST_CHECK( abs( xyz32f[2] - 0.096050) < SKEW ); in BOOST_AUTO_TEST_CASE()
52 gil::xyz32f_pixel_t xyz32f; in BOOST_AUTO_TEST_CASE() local
[all …]
Dcolor_convert_xyz.cpp30 gil::xyz32f_pixel_t xyz32f; in test_rgb32f_xyz32f_1() local
32 gil::color_convert(p32f, xyz32f); in test_rgb32f_xyz32f_1()
33 gil::color_convert(xyz32f, p32f_b); in test_rgb32f_xyz32f_1()
39 << xyz32f[0] << " " in test_rgb32f_xyz32f_1()
40 << xyz32f[1] << " " in test_rgb32f_xyz32f_1()
41 << xyz32f[2] << " -> " in test_rgb32f_xyz32f_1()
50 BOOST_TEST_LT(std::fabs(xyz32f[0] - 0.562669), SKEW); in test_rgb32f_xyz32f_1()
51 BOOST_TEST_LT(std::fabs(xyz32f[1] - 0.597462), SKEW); in test_rgb32f_xyz32f_1()
52 BOOST_TEST_LT(std::fabs(xyz32f[2] - 0.096050), SKEW); in test_rgb32f_xyz32f_1()
57 gil::xyz32f_pixel_t xyz32f; in test_rgb32f_xyz32f_2() local
[all …]