]> git.sesse.net Git - movit/blobdiff - ycbcr_input.h
Bring the variable names in optimize_sum_sq_error() closer to the comments.
[movit] / ycbcr_input.h
index 997eb481bc57d5ed3fbf491f7b9c2dc7fd44dafc..bf6d800eeb0c918c1b535bd2f6bf2c65c0bfa354 100644 (file)
@@ -5,7 +5,7 @@
 // imprecisely, called “YUV”), which is typically what you get from a video decoder.
 // It upsamples planes as needed, using the default linear upsampling OpenGL gives you.
 
-#include <GL/glew.h>
+#include <epoxy/gl.h>
 #include <assert.h>
 #include <string>
 
@@ -14,6 +14,8 @@
 #include "image_format.h"
 #include "input.h"
 
+namespace movit {
+
 class ResourcePool;
 
 struct YCbCrFormat {
@@ -101,4 +103,6 @@ private:
        ResourcePool *resource_pool;
 };
 
+}  // namespace movit
+
 #endif // !defined(_MOVIT_YCBCR_INPUT_H)