]> git.sesse.net Git - movit/blobdiff - mix_effect.cpp
In ResampleEffect, precompute the Lanczos function into a table.
[movit] / mix_effect.cpp
index 0f80a8f784ee1f2ed1575e9b784594dd728c4647..9e27b1243dfd8dc61caf9cb575ce459aa495a392 100644 (file)
@@ -1,6 +1,10 @@
 #include "mix_effect.h"
 #include "util.h"
 
+using namespace std;
+
+namespace movit {
+
 MixEffect::MixEffect()
        : strength_first(0.5f), strength_second(0.5f)
 {
@@ -8,7 +12,9 @@ MixEffect::MixEffect()
        register_float("strength_second", &strength_second);
 }
 
-std::string MixEffect::output_fragment_shader()
+string MixEffect::output_fragment_shader()
 {
        return read_file("mix_effect.frag");
 }
+
+}  // namespace movit