]> git.sesse.net Git - movit/blobdiff - ycbcr_input_test.cpp
Small refactoring in YCbCrInput.
[movit] / ycbcr_input_test.cpp
index 4beaaa33cb53d013f4319ed57698d1257be4ee6c..55bb536101b400593c698d1ec4bc9874db54094c 100644 (file)
@@ -1,7 +1,6 @@
 // Unit tests for YCbCrInput.
-// FIXME: This class really ought to support mipmaps.
 
-#include <GL/glew.h>
+#include <epoxy/gl.h>
 #include <stddef.h>
 
 #include "effect_chain.h"
@@ -10,6 +9,8 @@
 #include "util.h"
 #include "ycbcr_input.h"
 
+namespace movit {
+
 TEST(YCbCrInput, Simple444) {
        const int width = 1;
        const int height = 5;
@@ -474,3 +475,5 @@ TEST(YCbCrInput, PBO) {
 
        glDeleteBuffers(1, &pbo);
 }
+
+}  // namespace movit