libblur/filter1d/
mod.rs

1/*
2 * // Copyright (c) Radzivon Bartoshyk. All rights reserved.
3 * //
4 * // Redistribution and use in source and binary forms, with or without modification,
5 * // are permitted provided that the following conditions are met:
6 * //
7 * // 1.  Redistributions of source code must retain the above copyright notice, this
8 * // list of conditions and the following disclaimer.
9 * //
10 * // 2.  Redistributions in binary form must reproduce the above copyright notice,
11 * // this list of conditions and the following disclaimer in the documentation
12 * // and/or other materials provided with the distribution.
13 * //
14 * // 3.  Neither the name of the copyright holder nor the names of its
15 * // contributors may be used to endorse or promote products derived from
16 * // this software without specific prior written permission.
17 * //
18 * // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19 * // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20 * // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21 * // DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
22 * // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23 * // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
24 * // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
25 * // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
26 * // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27 * // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 */
29#![allow(clippy::type_complexity)]
30mod arena;
31mod arena_roi;
32#[cfg(all(target_arch = "x86_64", feature = "avx"))]
33mod avx;
34#[cfg(all(target_arch = "x86_64", feature = "nightly_avx512"))]
35mod avx512;
36mod filter;
37mod filter_1d_approx;
38mod filter_1d_column_handler;
39mod filter_1d_column_handler_approx;
40mod filter_1d_row_handler;
41mod filter_1d_row_handler_approx;
42mod filter_column;
43mod filter_column_approx;
44mod filter_column_approx_symmetric;
45mod filter_column_complex;
46mod filter_column_complex_q;
47mod filter_column_symmetric;
48mod filter_complex;
49mod filter_complex_dispatch;
50mod filter_complex_dispatch_q;
51mod filter_complex_q;
52mod filter_element;
53mod filter_row;
54mod filter_row_approx;
55mod filter_row_complex;
56mod filter_row_complex_q;
57mod filter_row_symmetric;
58mod filter_row_symmetric_approx;
59mod filter_scan;
60#[cfg(all(target_arch = "aarch64", feature = "neon"))]
61pub(crate) mod neon;
62mod region;
63mod row_handler_small_approx;
64mod row_symm_approx_binter;
65#[cfg(all(any(target_arch = "x86_64", target_arch = "x86"), feature = "sse"))]
66pub(crate) mod sse;
67mod to_approx_storage;
68mod to_approx_storage_complex;
69
70pub(crate) use arena::{make_arena, Arena, ArenaPads};
71pub use filter::filter_1d_exact;
72pub use filter_1d_approx::filter_1d_approx;
73pub use filter_complex::filter_1d_complex;
74pub use filter_complex_q::filter_1d_complex_fixed_point;
75pub use filter_element::KernelShape;
76pub use to_approx_storage::ToApproxStorage;