X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=ycbcr_input_test.cpp;h=ee77e4c35e07314aee7fc21153efc4635613e78f;hp=352fe290dffc4143c27a44e62bf27bef842f2980;hb=58baca01a920dd4aab103c5797019d95a20f4baa;hpb=cfc161e0289c2169d4835c48751ff56b97355eb2 diff --git a/ycbcr_input_test.cpp b/ycbcr_input_test.cpp index 352fe29..ee77e4c 100644 --- a/ycbcr_input_test.cpp +++ b/ycbcr_input_test.cpp @@ -1,7 +1,6 @@ // Unit tests for YCbCrInput. -// FIXME: This class really ought to support mipmaps. -#include +#include #include #include "effect_chain.h" @@ -12,7 +11,7 @@ namespace movit { -TEST(YCbCrInput, Simple444) { +TEST(YCbCrInputTest, Simple444) { const int width = 1; const int height = 5; @@ -65,7 +64,7 @@ TEST(YCbCrInput, Simple444) { expect_equal(expected_data, out_data, 4 * width, height, 0.025, 0.002); } -TEST(YCbCrInput, FullRangeRec601) { +TEST(YCbCrInputTest, FullRangeRec601) { const int width = 1; const int height = 5; @@ -119,7 +118,7 @@ TEST(YCbCrInput, FullRangeRec601) { expect_equal(expected_data, out_data, 4 * width, height, 0.025, 0.002); } -TEST(YCbCrInput, Rec709) { +TEST(YCbCrInputTest, Rec709) { const int width = 1; const int height = 5; @@ -172,7 +171,7 @@ TEST(YCbCrInput, Rec709) { expect_equal(expected_data, out_data, 4 * width, height, 0.025, 0.002); } -TEST(YCbCrInput, Rec2020) { +TEST(YCbCrInputTest, Rec2020) { const int width = 1; const int height = 5; @@ -227,7 +226,7 @@ TEST(YCbCrInput, Rec2020) { expect_equal(expected_data, out_data, 4 * width, height, 0.025, 0.002); } -TEST(YCbCrInput, Subsampling420) { +TEST(YCbCrInputTest, Subsampling420) { const int width = 4; const int height = 4; @@ -288,7 +287,7 @@ TEST(YCbCrInput, Subsampling420) { expect_equal(expected_data, out_data, width, height, 0.01, 0.001); } -TEST(YCbCrInput, Subsampling420WithNonCenteredSamples) { +TEST(YCbCrInputTest, Subsampling420WithNonCenteredSamples) { const int width = 4; const int height = 4; @@ -350,7 +349,7 @@ TEST(YCbCrInput, Subsampling420WithNonCenteredSamples) { } // Yes, some 4:2:2 formats actually have this craziness. -TEST(YCbCrInput, DifferentCbAndCrPositioning) { +TEST(YCbCrInputTest, DifferentCbAndCrPositioning) { const int width = 4; const int height = 4; @@ -420,7 +419,7 @@ TEST(YCbCrInput, DifferentCbAndCrPositioning) { expect_equal(expected_data_blue, out_data, width, height, 0.01, 0.001); } -TEST(YCbCrInput, PBO) { +TEST(YCbCrInputTest, PBO) { const int width = 1; const int height = 5;