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 5d1a829 commit fd8f61c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "yuvutils-rs"
version = "0.1.1"
version = "0.1.2"
edition = "2021"
description = "Rust utilities for YUV format handling and conversion."
readme = "README.md"
Expand Down
1 change: 1 addition & 0 deletions src/rgba_to_yuv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ fn rgbx_to_yuv8<const ORIGIN_CHANNELS: u8, const SAMPLING: u8>(

for y in 0..height as usize {
#[allow(unused_variables)]
#[allow(unused_mut)]
let mut cx = 0usize;

#[cfg(any(target_arch = "arm", target_arch = "aarch64"))]
Expand Down
1 change: 1 addition & 0 deletions src/yuv_to_rgba.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ fn yuv_to_rgbx<const DESTINATION_CHANNELS: u8, const SAMPLING: u8>(

for y in 0..height as usize {
#[allow(unused_variables)]
#[allow(unused_mut)]
let mut cx = 0usize;

let mut uv_x = 0usize;

Check failure on line 61 in src/yuv_to_rgba.rs

View workflow job for this annotation

GitHub Actions / Build

variable `uv_x` is assigned to, but never used
Expand Down

0 comments on commit fd8f61c

Please sign in to comment.