Skip to content

Commit

Permalink
Use SSE2 blur routine in SSE2 planar code path
Browse files Browse the repository at this point in the history
  • Loading branch information
tp7 committed Nov 28, 2013
1 parent 374b3c5 commit cad81b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion msharpen/msharpen.cpp
Expand Up @@ -592,7 +592,7 @@ PVideoFrame __stdcall MSharpen::GetFrame(int n, IScriptEnvironment *env)
int height = src->GetHeight(plane);

if (env->GetCPUFlags() & CPUF_SSE2) {
planar_blur_c(blur_buffer, srcp, blur_pitch, src_pitch, height, width);
planar_blur_sse2(blur_buffer, srcp, blur_pitch, src_pitch, height, width);

if (is_ptr_aligned(srcp, 16)) {
planar_detect_edges_sse2(dstp, blur_buffer, dst_pitch, blur_pitch, height, width, threshold_, show_mask_);
Expand Down

0 comments on commit cad81b1

Please sign in to comment.