]> git.sesse.net Git - movit/blobdiff - gamma_compression_effect_test.cpp
Reduce the amount of arithmetic in the BlurEffect shader a bit.
[movit] / gamma_compression_effect_test.cpp
index 41a700ca0b0c188f5997c8364110c74c38f929ba..41fe776c28079e1783d05065fcd6bc0d80796db2 100644 (file)
@@ -13,6 +13,8 @@
 #include "image_format.h"
 #include "test_util.h"
 
+namespace movit {
+
 TEST(GammaCompressionEffectTest, sRGB_KeyValues) {
        float data[] = {
                0.0f, 1.0f,
@@ -212,3 +214,5 @@ TEST(GammaCompressionEffectTest, Rec2020_12Bit_Inaccuracy) {
        // precision and inaccuracies in the polynomial approximation.
        expect_equal(expected_data, out_data, 4096, 1, 1.2 / 4095.0, 1e-5);
 }
+
+}  // namespace movit