Skip to content

Struct stereo_matrix

struct stereo_matrix dsp

struct stereo_matrix { … }

2x2 mixing matrix functor for stereo channel transformations.

function operator()(const vec<vec<T, 2>, N> &)

template <typename T, size_t N>
KFR_MEM_INTRINSIC vec<vec<T, 2>, N> operator()(const vec<vec<T, 2>, N>& x) const

Apply the matrix to a vector of stereo samples.

Template parameters
T Sample type.
N SIMD vector width.
Parameters
x Vector of N stereo samples.
Returns
Vector of N transformed stereo samples.

Fully qualified name: kfr::stereo_matrix::operator()(const vec<vec<T, 2>, N> &)

Declared at dsp/mixdown.hpp:63

function process(const vec<vec<T, 2>, N> &, csizes_t<indices...>)

template <typename T, size_t N, size_t... indices>
KFR_MEM_INTRINSIC vec<vec<T, 2>, N> process(const vec<vec<T, 2>, N>& x, csizes_t<indices...>) const

Internal ADL-provided implementation for stereo_matrix expressions.

Fully qualified name: kfr::stereo_matrix::process(const vec<vec<T, 2>, N> &, csizes_t<indices...>)

Declared at dsp/mixdown.hpp:71

variable matrix

const f64x2x2 matrix

2x2 mixing matrix (rows are output coefficients).

Fully qualified name: kfr::stereo_matrix::matrix

Declared at dsp/mixdown.hpp:75

Fully qualified name: kfr::stereo_matrix

Declared at dsp/mixdown.hpp:53

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.