Documentation
/*
 * Copyright (c) Radzivon Bartoshyk 6/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 ccso;
mod ccso_hd;
mod cdef;
mod cdef_hd;
mod cfl;
mod cfl_hd;
mod deblocking;
mod filter;
mod filter_hd;
mod inter_hd;
mod ipred;
mod itx;
mod looprestoration;
mod looprestoration_hd;
mod mc_hd;
#[cfg(target_arch = "x86_64")]
mod msac;

pub(crate) use itx::*;

pub(crate) use ccso::{ccso_add_8bpc_sse41, ccso_prep_lut_8bpc_sse41};
pub(crate) use ccso_hd::{ccso_add_hbd_sse41, ccso_prep_lut_hbd_sse41};
pub(crate) use cdef::{
    cdef_filter_block_4x4_8bpc_sse41, cdef_filter_block_4x8_8bpc_sse41,
    cdef_filter_block_8bpc_sse41, cdef_filter_block_8x8_8bpc_sse41, cdef_find_dir_8bpc_sse41,
};
pub(crate) use cdef_hd::{
    cdef_filter_block_4x4_hbd_sse41, cdef_filter_block_4x8_hbd_sse41,
    cdef_filter_block_8x8_hbd_sse41, cdef_filter_block_hbd_sse41, cdef_find_dir_hbd_sse41,
};
pub(crate) use cfl::{
    cfl_apply_420_8bpc_sse41, cfl_apply_422_8bpc_sse41, cfl_apply_444_8bpc_sse41,
};
pub(crate) use cfl_hd::{
    cfl_apply_420_hbd_sse41, cfl_apply_422_hbd_sse41, cfl_apply_444_hbd_sse41,
};
pub(crate) use deblocking::{deblock_apply_8bpc_sse41, deblock_apply_hbd_sse41};
pub(crate) use filter::{
    avg_row_8bpc_sse41, blend_row_8bpc_sse41, cctx_row_i16_sse41, cctx_row_sse41,
    dc_add_row_8bpc_sse41, gdf_add_run_8bpc_sse41, gdf_gradient_group_sse41, mask_row_8bpc_sse41,
    morph_row_8bpc_sse41, residual_add_row_8bpc_sse41, row_clip_sse41, w_avg_row_8bpc_sse41,
};
pub(crate) use filter_hd::{
    avg_row_hbd_sse41, blend_row_hbd_sse41, dc_add_row_hbd_sse41, mask_row_hbd_sse41,
    morph_row_hbd_sse41, residual_add_row_hbd_sse41, w_avg_row_hbd_sse41,
};
pub(crate) use inter_hd::*;
pub(crate) use ipred::*;
pub(crate) use looprestoration::{
    ns_wiener_fir_run_sse41, ns_wiener_uv_fir_run_sse41, pc_wiener_fir_run_sse41,
};
pub(crate) use looprestoration_hd::{
    ns_wiener_fir_run_hbd_sse41, ns_wiener_uv_fir_run_hbd_sse41, pc_wiener_fir_run_hbd_sse41,
};
pub(crate) use mc_hd::*;
#[cfg(target_arch = "x86_64")]
pub(crate) use msac::MsacContextSse;