ScummVM API documentation
SRCTools::IIR2xInterpolator Class Reference
Inheritance diagram for SRCTools::IIR2xInterpolator:
SRCTools::IIRResampler SRCTools::ResamplerStage

Public Member Functions

 IIR2xInterpolator (const Quality quality)
 
 IIR2xInterpolator (const unsigned int useSectionsCount, const IIRCoefficient useFIR, const IIRSection useSections[])
 
void process (const FloatSample *&inSamples, unsigned int &inLength, FloatSample *&outSamples, unsigned int &outLength)
 
unsigned int estimateInLength (const unsigned int outLength) const
 

Additional Inherited Members

- Public Types inherited from SRCTools::IIRResampler
enum  Quality { CUSTOM, FAST, GOOD, BEST }
 
- Static Public Member Functions inherited from SRCTools::IIRResampler
static double getPassbandFractionForQuality (Quality quality)
 
- Protected Member Functions inherited from SRCTools::IIRResampler
 IIRResampler (const Quality quality)
 
 IIRResampler (const unsigned int useSectionsCount, const IIRCoefficient useFIR, const IIRSection useSections[])
 
- Protected Attributes inherited from SRCTools::IIRResampler
const struct SRCTools::IIRResampler::Constants constants
 

Member Function Documentation

◆ process()

void SRCTools::IIR2xInterpolator::process ( const FloatSample *&  inSamples,
unsigned int &  inLength,
FloatSample *&  outSamples,
unsigned int &  outLength 
)
virtual

Generates output samples. The arguments are adjusted in accordance with the number of samples processed.

Implements SRCTools::ResamplerStage.

◆ estimateInLength()

unsigned int SRCTools::IIR2xInterpolator::estimateInLength ( const unsigned int  outLength) const
virtual

Returns a lower estimation of required number of input samples to produce the specified number of output samples.

Implements SRCTools::ResamplerStage.


The documentation for this class was generated from the following file: