diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-05-02 13:46:14 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-05-02 13:46:14 +0300 |
commit | d09920687c4474f5f6ccf0f089d359f69932afac (patch) | |
tree | 3fa95c573d162f2b228d1165b66f9bb6d41cf538 /tests/gtests | |
parent | adc17317c5af23c0986a449da6d0aef130d1f503 (diff) | |
parent | 128506eeb1a2d87393061b4c9783289a5e4b3275 (diff) |
Merge branch 'master' into blender2.8
Diffstat (limited to 'tests/gtests')
-rw-r--r-- | tests/gtests/blenlib/BLI_math_color_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gtests/blenlib/BLI_math_color_test.cc b/tests/gtests/blenlib/BLI_math_color_test.cc index 2118822a9d8..8989e6740a5 100644 --- a/tests/gtests/blenlib/BLI_math_color_test.cc +++ b/tests/gtests/blenlib/BLI_math_color_test.cc @@ -27,9 +27,9 @@ TEST(math_color, RGBToYUVRoundtrip) float orig_rgb[3] = {0.1f, 0.2f, 0.3f}; float yuv[3], rgb[3]; rgb_to_yuv(orig_rgb[0], orig_rgb[1], orig_rgb[2], - &yuv[0], &yuv[1], &yuv[2]); + &yuv[0], &yuv[1], &yuv[2], BLI_YUV_ITU_BT709); yuv_to_rgb(yuv[0], yuv[1], yuv[2], - &rgb[0], &rgb[1], &rgb[2]); + &rgb[0], &rgb[1], &rgb[2], BLI_YUV_ITU_BT709); EXPECT_V3_NEAR(orig_rgb, rgb, 1e-4); } |