Skip to content

Commit

Permalink
crates/imageprocs: Small fixes and improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
etemesi254 committed Dec 30, 2023
1 parent 28b7f22 commit b1ff285
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions crates/zune-imageprocs/src/transpose.rs
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,6 @@ mod benchmarks {

#[bench]
fn transpose_scalar_f32(b: &mut test::Bencher) {
use crate::transpose::sse41::transpose_sse41_u8;
let width = 800;
let height = 800;
let dimensions = width * height;
Expand All @@ -256,7 +255,6 @@ mod benchmarks {

#[bench]
fn transpose_sse_f32(b: &mut test::Bencher) {
use crate::transpose::sse41::transpose_sse41_u8;
let width = 800;
let height = 800;
let dimensions = width * height;
Expand Down
1 change: 1 addition & 0 deletions crates/zune-png/src/filters/portable_simd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ pub fn defilter_avg_generic<const SIZE: usize>(prev_row: &[u8], raw: &[u8], curr

#[allow(unused_assignments)]
pub fn defilter_paeth_generic<const SIZE: usize>(prev_row: &[u8], raw: &[u8], current: &mut [u8]) {
// https://rust.godbolt.org/z/MKnPP19Mr
let (mut f, mut g) = ([0; 16], [0; 16]);
let zero = i16x8::splat(0);

Expand Down

0 comments on commit b1ff285

Please sign in to comment.