Skip to content

Commit

Permalink
Dropped rdp
Browse files Browse the repository at this point in the history
  • Loading branch information
awxkee committed Nov 8, 2024
1 parent ba261c9 commit eb03a75
Show file tree
Hide file tree
Showing 12 changed files with 3 additions and 1,182 deletions.
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ rayon = { version = "1.10.0", optional = true }
default = []
nightly_avx512 = []
rayon = ["dep:rayon"]
rdp = []

[profile.dev.package]
miniz_oxide.opt-level = 3
Expand Down
2 changes: 1 addition & 1 deletion app/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"

[dependencies]
yuvutils-rs = { path = "..", features = ["rdp"] }
yuvutils-rs = { path = "..", features = [] }
image = "0.25.5"

[dev-dependencies]
Expand Down
12 changes: 2 additions & 10 deletions app/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,10 @@
use image::{ColorType, EncodableLayout, GenericImageView, ImageReader};
use std::fs::File;
use std::io::Read;
use std::ops::Sub;
use std::time::Instant;
use yuvutils_rs::{
rdp_rgb_to_yuv444, rdp_rgba_to_yuv444, rdp_yuv444_to_rgb, rgb_to_sharp_yuv422,
rgb_to_yuv420_p16, rgb_to_yuv444, rgb_to_yuv444_p16, rgba_to_yuv444, rgba_to_yuv444_p16,
yuv420_p16_to_rgba, yuv420_p16_to_rgba16, yuv420_p16_with_alpha_to_rgba,
yuv420_p16_with_alpha_to_rgba16, yuv422_to_rgb, yuv444_p16_to_rgba,
yuv444_p16_with_alpha_to_rgba, yuv444_p16_with_alpha_to_rgba16, yuv444_to_rgb,
yuv444_to_yuyv422, yuv444_with_alpha_to_rgba, yuyv422_to_rgb, yuyv422_to_yuv444,
BufferStoreMut, SharpYuvGammaTransfer, YuvBiPlanarImageMut, YuvBytesPacking,
YuvChromaSubsample, YuvEndianness, YuvPackedImage, YuvPackedImageMut, YuvPlanarImageMut,
YuvPlanarImageWithAlpha, YuvRange, YuvStandardMatrix,
rgb_to_sharp_yuv422, yuv422_to_rgb, SharpYuvGammaTransfer, YuvBiPlanarImageMut,
YuvChromaSubsample, YuvPlanarImageMut, YuvRange, YuvStandardMatrix,
};

fn read_file_bytes(file_path: &str) -> Result<Vec<u8>, String> {
Expand Down
4 changes: 0 additions & 4 deletions src/avx2/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@

mod avx2_utils;
mod avx2_ycgco;
#[cfg(feature = "rdp")]
mod rdp_rgba_to_yuv;
mod rgb_to_nv;
mod rgb_to_y;
mod rgb_to_ycgco;
Expand All @@ -44,8 +42,6 @@ mod yuv_to_yuv2;
mod yuy2_to_rgb;
mod yuy2_to_yuv;

#[cfg(feature = "rdp")]
pub use rdp_rgba_to_yuv::rdp_avx2_rgba_to_yuv;
pub use rgb_to_nv::avx2_rgba_to_nv;
pub use rgb_to_y::avx2_rgb_to_y_row;
pub use rgb_to_ycgco::avx2_rgb_to_ycgco_row;
Expand Down
4 changes: 0 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ mod internals;
#[cfg(all(target_arch = "aarch64", target_feature = "neon"))]
mod neon;
mod numerics;
#[cfg(feature = "rdp")]
mod rdp;
mod rgb_to_nv_p16;
mod rgb_to_y;
mod rgb_to_ycgco;
Expand Down Expand Up @@ -430,8 +428,6 @@ pub use images::{
YuvGrayImageMut, YuvPackedImage, YuvPackedImageMut, YuvPlanarImage, YuvPlanarImageMut,
YuvPlanarImageWithAlpha,
};
#[cfg(feature = "rdp")]
pub use rdp::*;
pub use y_p16_to_rgb16::*;
pub use y_p16_with_alpha_to_rgb16::*;
pub use y_with_alpha_to_rgb::*;
Expand Down
8 changes: 0 additions & 8 deletions src/neon/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@
mod neon_simd_support;
mod neon_ycgco;
mod neon_ycgco_r;
#[cfg(feature = "rdp")]
mod rdp_rgb_to_yuv;
#[cfg(feature = "rdp")]
mod rdp_yuv_to_rgba;
mod rgb_to_y;
mod rgb_to_ycgco;
mod rgb_to_ycgco_r;
Expand All @@ -58,10 +54,6 @@ mod yuv_to_yuy2;
mod yuy2_to_rgb;
mod yuy2_to_yuv;

#[cfg(feature = "rdp")]
pub use rdp_rgb_to_yuv::rdp_neon_rgba_to_yuv;
#[cfg(feature = "rdp")]
pub use rdp_yuv_to_rgba::rdp_neon_yuv_to_rgba_row;
pub use rgb_to_y::neon_rgb_to_y_row;
pub use rgb_to_ycgco::neon_rgb_to_ycgco_row;
pub use rgb_to_ycgco_r::neon_rgb_to_ycgcor_row;
Expand Down
158 changes: 0 additions & 158 deletions src/neon/rdp_rgb_to_yuv.rs

This file was deleted.

Loading

0 comments on commit eb03a75

Please sign in to comment.