Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
fintelia committed Dec 5, 2024
1 parent b60fa09 commit 892b8c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/filter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ mod simd {
{
let mut out = [0; N];
for i in 0..N {
out[i] = super::filter_paeth_i16(a[i].into(), b[i].into(), c[i].into());
out[i] = super::filter_paeth_stbi_i16(a[i].into(), b[i].into(), c[i].into());
}
out.into()
}
Expand All @@ -55,7 +55,7 @@ mod simd {
{
let mut out = [0; N];
for i in 0..N {
out[i] = super::filter_paeth(a[i].into(), b[i].into(), c[i].into());
out[i] = super::filter_paeth_stbi(a[i].into(), b[i].into(), c[i].into());
}
out.into()
}
Expand Down Expand Up @@ -704,7 +704,7 @@ pub(crate) fn unfilter(
}
}
},
#[allow(dead_code)]
#[allow(unreachable_code)]
Paeth => {
// Select the fastest Paeth filter implementation based on the target architecture.
let filter_paeth_decode = if cfg!(target_arch = "x86_64") {
Expand Down

0 comments on commit 892b8c4

Please sign in to comment.