Skip to content

Commit

Permalink
resize: fix SSE2 vertical resizer with >8 taps
Browse files Browse the repository at this point in the history
  • Loading branch information
sekrit-twc committed Oct 25, 2024
1 parent 801b872 commit 034b7cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zimg/resize/x86/resize_impl_sse2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ class ResizeImplV_U16_SSE2 : public ResizeImplV {
}

gather_8_lines(top + k_end);
resize_line_v_u16_sse2_jt_final[filter_width % 8](filter_data + k_end, XARGS);
resize_line_v_u16_sse2_jt_final[filter_width - k_end - 1](filter_data + k_end, XARGS);
}
#undef XARGS
}
Expand Down

0 comments on commit 034b7cf

Please sign in to comment.