Function interleave¶
function interleave(Tout *, const Tin **, size_t, size_t) base¶
template <typename Tout, typename Tin, typename Tout_traits = audio_sample_traits<Tout>,
typename Tin_traits = audio_sample_traits<Tin>>
void interleave(Tout* out, const Tin* in[], size_t channels, size_t size) Interleaves and converts audio samples into a single buffer.
| Tout | Destination sample C++ type. |
| Tin | Source sample C++ type. |
| Tout_traits | Traits specialization for Tout. |
| Tin_traits | Traits specialization for Tin. |
| out | Pointer to the interleaved destination buffer. |
| in | Array of channels pointers to per-channel input buffers. |
| channels | Number of channels to interleave. |
| size | Number of samples per channel. |
Fully qualified name: kfr::interleave(Tout *, const Tin **, size_t, size_t)
Declared at base/conversion.hpp:328
Function interleave¶
function interleave(univector<Tout, Tag1> &, const univector2d<Tin, Tag2, Tag3> &) base¶
template <typename Tout, univector_tag Tag1, typename Tin, univector_tag Tag2, univector_tag Tag3>
void interleave(univector<Tout, Tag1>& out, const univector2d<Tin, Tag2, Tag3>& in) Interleaves and converts audio samples from a 2D univector.
| Tout | Destination sample C++ type. |
| Tag1 | Tag of out. |
| Tin | Source sample C++ type. |
| Tag2 | Outer-dimension tag of in. |
| Tag3 | Inner-dimension tag of in. |
| out | Destination interleaved buffer. |
| in | Source 2D container of per-channel buffers. |
Fully qualified name: kfr::interleave(univector<Tout, Tag1> &, const univector2d<Tin, Tag2, Tag3> &)
Declared at base/conversion.hpp:354
Function interleave¶
function interleave(const univector2d<Tin, Tag1, Tag2> &) base¶
template <typename Tin, univector_tag Tag1, univector_tag Tag2>
univector<Tin> interleave(const univector2d<Tin, Tag1, Tag2>& in) Interleaves audio samples of a 2D univector into a new buffer.
| Tin | Sample C++ type. |
| Tag1 | Outer-dimension tag of in. |
| Tag2 | Inner-dimension tag of in. |
| in | Source 2D container of per-channel buffers. |
| A new vector holding the interleaved samples. |
Fully qualified name: kfr::interleave(const univector2d<Tin, Tag1, Tag2> &)
Declared at base/conversion.hpp:380
Function interleave¶
function interleave(E1 &&, E2 &&) base¶
template <typename E1, typename E2>
requires expression_arguments<E1, E2>
KFR_INTRINSIC expression_make_function<fn::interleave, E1, E2> interleave(E1&& x, E2&& y) Creates an expression that interleaves the lanes of x and y.
Fully qualified name: kfr::interleave(E1 &&, E2 &&)
Declared at base/simd_expressions.hpp:486
This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.