Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
awxkee committed Jan 8, 2025
1 parent 7db394b commit 9f477d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2021"
[dependencies]
image = { version = "0.25.5", features = ["default"] }
#image = { path= "../../../RustroverProjects/image", features = ["default", "avif", "avif-native"] }
pic-scale = { path = "..", features = ["half", "nightly_avx512"], default-features = true }
pic-scale = { path = "..", features = ["half", "nightly_i8mm"], default-features = true }
fast_image_resize = { version = "5.0.0", features = [] }
half = { version = "2.4.1", default-features = true }

Expand Down
2 changes: 1 addition & 1 deletion src/neon/rgb_u8.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ unsafe fn conv_horiz_rgba_2_u8(
) -> int32x4_t {
const COMPONENTS: usize = 3;
let src_ptr = src.get_unchecked((start_x * COMPONENTS)..);
let mut rgb_pixel = vld1_lane_u32(src_ptr.as_ptr() as *const u32, vdup_n_u32(0));
let mut rgb_pixel = vld1_lane_u32::<0>(src_ptr.as_ptr() as *const u32, vdup_n_u32(0));
rgb_pixel = vreinterpret_u32_u16(vset_lane_u16::<2>(
(src_ptr.get_unchecked(4..).as_ptr() as *const u16).read_unaligned(),
vreinterpret_u16_u32(rgb_pixel),
Expand Down

0 comments on commit 9f477d9

Please sign in to comment.