]> git.sesse.net Git - movit/blobdiff - unsharp_mask_effect_test.cpp
Stop using BGR, BGRA and grayscale formats.
[movit] / unsharp_mask_effect_test.cpp
index a957ef13bc8bee962ba14abd32ae85e152120aa5..e6750ce8156d6fff8856a69daaab93a69c1907f1 100644 (file)
@@ -1,11 +1,16 @@
 // Unit tests for UnsharpMaskEffect.
 
+#include <epoxy/gl.h>
 #include <math.h>
 
-#include "test_util.h"
+#include "effect_chain.h"
 #include "gtest/gtest.h"
+#include "image_format.h"
+#include "test_util.h"
 #include "unsharp_mask_effect.h"
 
+namespace movit {
+
 TEST(UnsharpMaskEffectTest, NoAmountDoesNothing) {
        const int size = 4;
 
@@ -69,3 +74,5 @@ TEST(UnsharpMaskEffectTest, UnblursGaussianBlur) {
        // Add some leeway for the rest; unsharp masking is not expected to be extremely good.
        expect_equal(expected_data, out_data, size, size, 0.1, 0.001);
 }
+
+}  // namespace movit