pxdct 0.3.5

Discrete cosine transform
Documentation
/*
 * // Copyright (c) Radzivon Bartoshyk 1/2026. All rights reserved.
 * //
 * // Redistribution and use in source and binary forms, with or without modification,
 * // are permitted provided that the following conditions are met:
 * //
 * // 1.  Redistributions of source code must retain the above copyright notice, this
 * // list of conditions and the following disclaimer.
 * //
 * // 2.  Redistributions in binary form must reproduce the above copyright notice,
 * // this list of conditions and the following disclaimer in the documentation
 * // and/or other materials provided with the distribution.
 * //
 * // 3.  Neither the name of the copyright holder nor the names of its
 * // contributors may be used to endorse or promote products derived from
 * // this software without specific prior written permission.
 * //
 * // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
 * // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 * // DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
 * // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 * // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
 * // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
 * // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
 * // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 * // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
mod bf25d;
mod bf25f;
mod bf49d;
mod bf49f;
mod bf_radix6d;
mod bf_radix6f;
mod bf_radix9d;
mod bf_split_radix2d;
mod bf_split_radix2f;
mod mixed_radix11d;
mod mixed_radix11f;
mod mixed_radix13d;
mod mixed_radix13f;
mod mixed_radix2;
mod mixed_radix3d;
mod mixed_radix3f;
mod mixed_radix5d;
mod mixed_radix5f;
mod mixed_radix6d;
pub mod mixed_radix6f;
mod mixed_radix7d;
mod mixed_radix7f;
mod mixed_radix9d;
mod mixed_radix9f;
mod prime_butterflies;
mod split_radixd;
mod split_radixf;

pub(crate) use bf_radix6d::{AvxDct2Butterfly36d, AvxDct2Butterfly216d};
pub(crate) use bf_radix6f::{AvxDct2Butterfly6, AvxDct2Butterfly36f, AvxDct2Butterfly216f};
pub(crate) use bf_radix9d::{AvxDct2Butterfly27d, AvxDct2Butterfly81d, AvxDct2Butterfly243d};
pub(crate) use bf_split_radix2d::{
    AvxDct2Butterfly32d, AvxDct2Butterfly64d, AvxDct2Butterfly128d, AvxDct2Butterfly256d,
    AvxDct2Butterfly512d, dct2_split_radix_rotation_twiddles_avx,
};
pub(crate) use bf_split_radix2f::{
    AvxDct2Butterfly32f, AvxDct2Butterfly64f, AvxDct2Butterfly128f, AvxDct2Butterfly256f,
    AvxDct2Butterfly512f, dct2_split_radix_rotation_twiddles_avxf,
};
pub(crate) use bf25d::AvxDct2Butterfly25d;
pub(crate) use bf25f::AvxDct2Butterfly25f;
pub(crate) use bf49d::AvxDct2Butterfly49d;
pub(crate) use bf49f::AvxDct2Butterfly49f;
pub(crate) use mixed_radix2::AvxDct2MixedRadix2;
pub(crate) use mixed_radix3d::AvxDct2MixedRadix3d;
pub(crate) use mixed_radix3f::{
    AvxDct2MixedRadix3f, dct2_radix_n_cos_twiddles_avx_f, dct2_radix_n_rotation_twiddles_avx_f,
};
pub(crate) use mixed_radix5d::AvxDct2MixedRadix5d;
pub(crate) use mixed_radix5f::AvxDct2MixedRadix5f;
pub(crate) use mixed_radix6d::AvxDct2MixedRadix6d;
pub(crate) use mixed_radix6f::AvxDct2MixedRadix6f;
pub(crate) use mixed_radix7d::AvxDct2MixedRadix7d;
pub(crate) use mixed_radix7f::AvxDct2MixedRadix7f;
pub(crate) use mixed_radix9d::AvxDct2MixedRadix9d;
pub(crate) use mixed_radix9f::AvxDct2MixedRadix9f;
pub(crate) use mixed_radix11d::AvxDct2MixedRadix11d;
pub(crate) use mixed_radix11f::AvxDct2MixedRadix11f;
pub(crate) use mixed_radix13d::AvxDct2MixedRadix13d;
pub(crate) use mixed_radix13f::AvxDct2MixedRadix13f;
pub(crate) use prime_butterflies::{
    AvxDct2Butterfly3, AvxDct2Butterfly5, AvxDct2Butterfly7, AvxDct2Butterfly11,
    AvxDct2Butterfly13, AvxDct2Butterfly17, AvxDct2Butterfly19, AvxDct2Butterfly23,
    AvxDct2Butterfly29, AvxDct2Butterfly31, AvxDct2Butterfly37,
};
pub(crate) use split_radixd::{AvxSplitRadixDct2d, AvxSplitRadixDst2d};
pub(crate) use split_radixf::{AvxSplitRadixDct2f, AvxSplitRadixDst2f};