BEAST/BSE - Better Audio System and Sound Engine
0.8.2
|
Factor 2 upsampling of a data stream. More...
#include <bseresamplerimpl.hh>
Inherits Resampler2.
Public Member Functions | |
Upsampler2 (float *init_taps) | |
Constructs an Upsampler2 object with a given set of filter coefficients. | |
void | process_block (const float *input, guint n_input_samples, float *output) |
The function process_block() takes a block of input samples and produces a block with twice the length, containing interpolated output samples. | |
guint | order () const |
Returns the FIR filter order. | |
double | delay () const |
Protected Member Functions | |
void | process_4samples_aligned (const float *input, float *output) |
void | process_sample_unaligned (const float *input, float *output) |
void | process_block_aligned (const float *input, guint n_input_samples, float *output) |
void | process_block_unaligned (const float *input, guint n_input_samples, float *output) |
Factor 2 upsampling of a data stream.
Template arguments: ORDER number of resampling filter coefficients USE_SSE whether to use SSE (vectorized) instructions or not
Bse::Resampler::Upsampler2< ORDER, USE_SSE >::Upsampler2 | ( | float * | init_taps | ) | [inline] |
Constructs an Upsampler2 object with a given set of filter coefficients.
init_taps: coefficients for the upsampling FIR halfband filter