7#include "audio_sample_format.hpp"
10#include "../rapid/numeric_array.hpp"
11#include "../random/dither.hpp"
15namespace hi::inline v1 {
35 void operator()(
float const *hi_restrict src, std::byte *hi_restrict dst,
std::size_t num_samples)
const noexcept;
38 i8x16 _store_shuffle_indices;
39 i8x16 _concat_shuffle_indices;
This file includes required definitions.
Functions and macros for handling architectural difference between compilers, CPUs and operating syst...
Audio sample format.
Definition audio_sample_format.hpp:29
Definition audio_sample_packer.hpp:17
void operator()(float const *hi_restrict src, std::byte *hi_restrict dst, std::size_t num_samples) const noexcept
Unpack samples.
audio_sample_packer(audio_sample_format format, std::size_t stride) noexcept
Audio sample packer One instance of this class can be used to pack multiple buffers either from one a...
An object that create dither values to add to samples before rounding.
Definition dither.hpp:23