From fd8f61c2630cc8b027800e83d5f540900044ae28 Mon Sep 17 00:00:00 2001 From: awxkee Date: Wed, 15 May 2024 13:30:06 +0100 Subject: [PATCH] Initial release --- Cargo.toml | 2 +- src/rgba_to_yuv.rs | 1 + src/yuv_to_rgba.rs | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 7893ed0..8657e20 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/src/rgba_to_yuv.rs b/src/rgba_to_yuv.rs index 460b1d3..5178a8b 100644 --- a/src/rgba_to_yuv.rs +++ b/src/rgba_to_yuv.rs @@ -57,6 +57,7 @@ fn rgbx_to_yuv8( 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"))] diff --git a/src/yuv_to_rgba.rs b/src/yuv_to_rgba.rs index 53fd5ed..f2105fd 100644 --- a/src/yuv_to_rgba.rs +++ b/src/yuv_to_rgba.rs @@ -55,6 +55,7 @@ fn yuv_to_rgbx( for y in 0..height as usize { #[allow(unused_variables)] + #[allow(unused_mut)] let mut cx = 0usize; let mut uv_x = 0usize;