X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=resample_effect.cpp;h=74b059404332cbab2da91d7e403954997df96a9d;hp=367e8b4d52604043d6529fcdb5b392ed77136ec2;hb=5ba8c08fc0ebf3afec0b2c094454dd702f1438a5;hpb=0d58598f7c593c34de04ec1a0e4849f5cfb44792 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