]> git.sesse.net Git - movit/blobdiff - resize_effect.cpp
Add proper formats for sRGB without alpha.
[movit] / resize_effect.cpp
index 70efea0d78e36b3218d8a0686fd896df9cb1d15a..5fd761a7acee1f55cfc0cd78c1a9e10352d0e576 100644 (file)
@@ -3,6 +3,8 @@
 
 using namespace std;
 
+namespace movit {
+
 ResizeEffect::ResizeEffect()
        : width(1280), height(720)
 {
@@ -20,3 +22,5 @@ void ResizeEffect::get_output_size(unsigned *width, unsigned *height, unsigned *
        *virtual_width = *width = this->width;
        *virtual_height = *height = this->height;
 }
+
+}  // namespace movit