X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=resample_effect.cpp;h=74b059404332cbab2da91d7e403954997df96a9d;hb=8ea03db1932e4a76f457e0ecdfe31a4c8be0e0eb;hp=367e8b4d52604043d6529fcdb5b392ed77136ec2;hpb=0d58598f7c593c34de04ec1a0e4849f5cfb44792;p=movit diff --git a/resample_effect.cpp b/resample_effect.cpp index 367e8b4..74b0594 100644 --- a/resample_effect.cpp +++ b/resample_effect.cpp @@ -1,7 +1,7 @@ // Three-lobed Lanczos, the most common choice. #define LANCZOS_RADIUS 3.0 -#include +#include #include #include #include @@ -15,6 +15,8 @@ using namespace std; +namespace movit { + namespace { float sinc(float x) @@ -404,3 +406,5 @@ void SingleResamplePassEffect::set_gl_state(GLuint glsl_program_num, const strin glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); check_error(); } + +} // namespace movit