use crate::filter_weights::FilterWeights;
use crate::floating_point_horizontal::{
convolve_row_handler_floating_point, convolve_row_handler_floating_point_4,
};
pub(crate) fn convolve_horizontal_native_row_f32<const CN: usize>(
src: &[f32],
dst: &mut [f32],
filter_weights: &FilterWeights<f32>,
_: u32,
) {
convolve_row_handler_floating_point::<f32, f32, f32, CN>(src, dst, filter_weights, 8)
}
pub(crate) fn convolve_horizontal_native_row_f32_f64<const CN: usize>(
src: &[f32],
dst: &mut [f32],
filter_weights: &FilterWeights<f64>,
_: u32,
) {
convolve_row_handler_floating_point::<f32, f64, f64, CN>(src, dst, filter_weights, 8)
}
pub(crate) fn convolve_horizontal_rgba_4_row_f32<const CN: usize>(
src: &[f32],
src_stride: usize,
dst: &mut [f32],
dst_stride: usize,
filter_weights: &FilterWeights<f32>,
_: u32,
) {
convolve_row_handler_floating_point_4::<f32, f32, f32, CN>(
src,
src_stride,
dst,
dst_stride,
filter_weights,
8,
)
}
pub(crate) fn convolve_horizontal_4_row_f32_f64<const CN: usize>(
src: &[f32],
src_stride: usize,
dst: &mut [f32],
dst_stride: usize,
filter_weights: &FilterWeights<f64>,
_: u32,
) {
convolve_row_handler_floating_point_4::<f32, f64, f64, CN>(
src,
src_stride,
dst,
dst_stride,
filter_weights,
8,
)
}