#include <VrInterpolatingSigProc.h>
Inheritance diagram for VrInterpolatingSigProc< iType, oType >:
Public Member Functions | |
virtual int | forecast (VrSampleRange output, VrSampleRange inputs[]) |
map output range to required input ranges | |
virtual void | pre_initialize () |
Set sampling frequency based on upstream sampling freq. | |
VrInterpolatingSigProc () | |
VrInterpolatingSigProc (int outputs) | |
VrInterpolatingSigProc (int outputs, int i) | |
virtual | ~VrInterpolatingSigProc () |
virtual int | work (VrSampleRange output, void *ao[], VrSampleRange inputs[], void *ai[]) |
Generate up to output.size output points at o[output#][sample#] using data at the inputptrs[input#][sample#]. | |
Protected Attributes | |
int | interp |
|
|
|
|
|
|
|
|
|
map output range to required input ranges
Reimplemented from VrHistoryProc< iType, oType >.
|
|
Set sampling frequency based on upstream sampling freq. This method handles automatically setting the sampling frequency for this module based on the sampling frequency of the upstream modules. For most modules, our sampling frequency is the same as our upstream neighbor. VrInterpolatingSigProc and VrDecimatingSigProc override this. This method is called immediately prior to initialize. Reimplemented from VrSigProc.
|
|
Generate up to output.size output points at o[output#][sample#] using data at the inputptrs[input#][sample#]. Pointers start at corresponding VrSampleIndex in the range params. output.size is a multiple of outputSize. Returns the number of outputs (<= output.size) that it was able to compute with the given input ranges. If this value is < output.size, forecast() will need to be called again. Implements VrSigProc.
Reimplemented in VrDigMod< iType, oType >, GrWeaverModHead< iType, oType >, and GrZOH< iType, oType >.
|
|
|