#![deny(deprecated)]
#![allow(clippy::too_many_arguments)]
#![cfg_attr(
all(
feature = "nightly_avx512",
any(target_arch = "x86", target_arch = "x86_64")
),
feature(cfg_version)
)]
#![cfg_attr(
all(
feature = "nightly_avx512",
any(target_arch = "x86", target_arch = "x86_64")
),
feature(avx512_target_feature)
)]
#![cfg_attr(
all(
feature = "nightly_avx512",
any(target_arch = "x86", target_arch = "x86_64")
),
feature(stdarch_x86_avx512)
)]
#![cfg_attr(
all(
feature = "nightly_avx512fp16",
any(target_arch = "x86", target_arch = "x86_64")
),
feature(stdarch_x86_avx512_f16)
)]
#![cfg_attr(feature = "nightly_f16", feature(f16))]
#![cfg_attr(docsrs, feature(doc_cfg))]
mod alpha_check;
#[cfg(feature = "nightly_f16")]
mod alpha_handle_f16;
mod alpha_handle_f32;
mod alpha_handle_u16;
mod alpha_handle_u8;
mod ar30;
#[cfg(any(target_arch = "x86_64", target_arch = "x86"))]
mod avx2;
#[cfg(all(
any(target_arch = "x86_64", target_arch = "x86"),
feature = "nightly_avx512"
))]
mod avx512;
mod cbcr16;
mod cbcr8;
mod cbcr_f32;
mod color_group;
#[cfg(feature = "colorspaces")]
mod colors;
mod convolution;
mod convolve_naive_f32;
mod cpu_features;
mod dispatch_group_ar30;
#[cfg(feature = "nightly_f16")]
mod dispatch_group_f16;
mod dispatch_group_f32;
mod dispatch_group_u16;
mod dispatch_group_u8;
#[cfg(feature = "nightly_f16")]
mod f16;
mod filter_weights;
mod fixed_point_horizontal;
mod fixed_point_horizontal_ar30;
mod fixed_point_vertical;
mod fixed_point_vertical_ar30;
mod floating_point_horizontal;
mod floating_point_vertical;
mod handler_provider;
mod image_size;
mod image_store;
mod math;
mod mixed_storage;
mod mlaf;
mod nearest_sampler;
#[cfg(all(target_arch = "aarch64", target_feature = "neon"))]
mod neon;
mod pic_scale_error;
mod plane_f32;
mod plane_u16;
mod plane_u8;
mod resize_ar30;
mod rgb_f32;
mod rgb_u16;
mod rgb_u8;
mod rgba_f32;
mod rgba_u16;
mod rgba_u8;
mod sampler;
mod saturate_narrow;
mod scaler;
#[cfg(feature = "nightly_f16")]
#[cfg_attr(docsrs, doc(cfg(feature = "nightly_f16")))]
mod scaler_f16;
#[cfg(any(target_arch = "x86_64", target_arch = "x86"))]
mod sse;
mod support;
mod threading_policy;
#[cfg(all(target_arch = "wasm32", target_feature = "simd128",))]
mod wasm32;
pub use ar30::Ar30ByteOrder;
#[cfg(feature = "colorspaces")]
pub use colors::*;
#[cfg(feature = "colorspaces")]
pub use colorutils_rs::TransferFunction;
pub use image_size::ImageSize;
pub use image_store::{
BufferStore, CbCr16ImageStore, CbCr16ImageStoreMut, CbCr8ImageStore, CbCr8ImageStoreMut,
CbCrF32ImageStore, CbCrF32ImageStoreMut, ImageStore, ImageStoreMut, Planar16ImageStore,
Planar16ImageStoreMut, Planar8ImageStore, Planar8ImageStoreMut, PlanarF32ImageStore,
PlanarF32ImageStoreMut, Rgb16ImageStore, Rgb16ImageStoreMut, Rgb8ImageStore, Rgb8ImageStoreMut,
RgbF32ImageStore, RgbF32ImageStoreMut, Rgba16ImageStore, Rgba16ImageStoreMut, Rgba8ImageStore,
Rgba8ImageStoreMut, RgbaF32ImageStore, RgbaF32ImageStoreMut,
};
#[cfg(feature = "nightly_f16")]
#[cfg_attr(docsrs, doc(cfg(feature = "nightly_f16")))]
pub use image_store::{
CbCrF16ImageStore, CbCrF16ImageStoreMut, PlanarF16ImageStore, PlanarF16ImageStoreMut,
RgbF16ImageStore, RgbF16ImageStoreMut, RgbaF16ImageStore, RgbaF16ImageStoreMut,
};
pub use math::*;
pub use pic_scale_error::{PicScaleBufferMismatch, PicScaleError};
pub use sampler::*;
pub use scaler::{ImageStoreScaling, Scaler, ScalingOptions, WorkloadStrategy};
pub use scaler::{Scaling, ScalingF32, ScalingU16};
pub use threading_policy::*;