]> git.sesse.net Git - movit/blobdiff - test_util.cpp
Make combine_two_pixels() handle the fact that the GPU has limited subpixel interpola...
[movit] / test_util.cpp
index 6beaba1423bda237d06d07d1c288850dc87b4f61..afeb8486041487878ac666b6916db9efc12d30fd 100644 (file)
@@ -1,3 +1,4 @@
+#include "init.h"
 #include "test_util.h"
 #include "flat_input.h"
 #include "gtest/gtest.h"
@@ -11,6 +12,8 @@ EffectChainTester::EffectChainTester(const float *data, unsigned width, unsigned
                                      MovitPixelFormat pixel_format, Colorspace color_space, GammaCurve gamma_curve)
        : chain(width, height), width(width), height(height), finalized(false)
 {
+       init_movit();
+
        if (data != NULL) {
                add_input(data, pixel_format, color_space, gamma_curve);
        }