Skip to content

Commit

Permalink
Initial release
Browse files Browse the repository at this point in the history
  • Loading branch information
awxkee committed May 15, 2024
1 parent fd8f61c commit 60cf251
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/yuv_to_rgba.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ fn yuv_to_rgbx<const DESTINATION_CHANNELS: u8, const SAMPLING: u8>(
#[allow(unused_mut)]
let mut cx = 0usize;

let mut uv_x = 0usize;

#[cfg(any(target_arch = "arm", target_arch = "aarch64"))]
#[cfg(target_feature = "neon")]
unsafe {
let mut uv_x = 0usize;

let y_ptr = y_plane.as_ptr();
let u_ptr = u_plane.as_ptr();
let v_ptr = v_plane.as_ptr();
Expand Down

0 comments on commit 60cf251

Please sign in to comment.