Pentagram::AudioChannel::CubicInterpolator Class Reference

List of all members.

Public Member Functions

 CubicInterpolator ()
 CubicInterpolator (int a0, int a1, int a2, int a3)
 CubicInterpolator (int a1, int a2, int a3)
void init (int a0, int a1, int a2, int a3)
void init (int a1, int a2, int a3)
void feedData ()
void feedData (int xNew)
int interpolate (uint32 fp_pos)

Protected Member Functions

void updateCoefficients ()

Protected Attributes

int x0
int x1
int x2
int x3
int a
int b
int c
int d

Detailed Description

Definition at line 85 of file AudioChannel.h.


Constructor & Destructor Documentation

Pentagram::AudioChannel::CubicInterpolator::CubicInterpolator (  )  [inline]

Definition at line 91 of file AudioChannel.h.

References updateCoefficients().

Pentagram::AudioChannel::CubicInterpolator::CubicInterpolator ( int  a0,
int  a1,
int  a2,
int  a3 
) [inline]

Definition at line 96 of file AudioChannel.h.

References updateCoefficients().

Pentagram::AudioChannel::CubicInterpolator::CubicInterpolator ( int  a1,
int  a2,
int  a3 
) [inline]

Definition at line 101 of file AudioChannel.h.

References updateCoefficients().


Member Function Documentation

void Pentagram::AudioChannel::CubicInterpolator::feedData ( int  xNew  )  [inline]

Definition at line 135 of file AudioChannel.h.

References updateCoefficients(), x0, x1, x2, and x3.

void Pentagram::AudioChannel::CubicInterpolator::feedData (  )  [inline]

Definition at line 126 of file AudioChannel.h.

References updateCoefficients(), x0, x1, x2, and x3.

Referenced by Pentagram::AudioChannel::resampleFrameM8toM(), and Pentagram::AudioChannel::resampleFrameM8toS().

void Pentagram::AudioChannel::CubicInterpolator::init ( int  a1,
int  a2,
int  a3 
) [inline]

Definition at line 116 of file AudioChannel.h.

References updateCoefficients(), x0, x1, x2, and x3.

void Pentagram::AudioChannel::CubicInterpolator::init ( int  a0,
int  a1,
int  a2,
int  a3 
) [inline]

Definition at line 107 of file AudioChannel.h.

References updateCoefficients(), x0, x1, x2, and x3.

Referenced by Pentagram::AudioChannel::playSample().

int Pentagram::AudioChannel::CubicInterpolator::interpolate ( uint32  fp_pos  )  [inline]

Definition at line 145 of file AudioChannel.h.

References a, b, c, and d.

Referenced by Pentagram::AudioChannel::resampleFrameM8toM(), and Pentagram::AudioChannel::resampleFrameM8toS().

void Pentagram::AudioChannel::CubicInterpolator::updateCoefficients (  )  [inline, protected]

Definition at line 158 of file AudioChannel.h.

References a, b, c, d, x0, x1, x2, and x3.

Referenced by CubicInterpolator(), feedData(), and init().


Member Data Documentation

int Pentagram::AudioChannel::CubicInterpolator::a [protected]

Definition at line 88 of file AudioChannel.h.

Referenced by interpolate(), and updateCoefficients().

int Pentagram::AudioChannel::CubicInterpolator::b [protected]

Definition at line 88 of file AudioChannel.h.

Referenced by interpolate(), and updateCoefficients().

int Pentagram::AudioChannel::CubicInterpolator::c [protected]

Definition at line 88 of file AudioChannel.h.

Referenced by interpolate(), and updateCoefficients().

int Pentagram::AudioChannel::CubicInterpolator::d [protected]

Definition at line 88 of file AudioChannel.h.

Referenced by interpolate(), and updateCoefficients().

int Pentagram::AudioChannel::CubicInterpolator::x0 [protected]

Definition at line 87 of file AudioChannel.h.

Referenced by feedData(), init(), and updateCoefficients().

int Pentagram::AudioChannel::CubicInterpolator::x1 [protected]

Definition at line 87 of file AudioChannel.h.

Referenced by feedData(), init(), and updateCoefficients().

int Pentagram::AudioChannel::CubicInterpolator::x2 [protected]

Definition at line 87 of file AudioChannel.h.

Referenced by feedData(), init(), and updateCoefficients().

int Pentagram::AudioChannel::CubicInterpolator::x3 [protected]

Definition at line 87 of file AudioChannel.h.

Referenced by feedData(), init(), and updateCoefficients().


The documentation for this class was generated from the following file:
Generated on Fri Jul 27 22:30:28 2007 for pentagram by  doxygen 1.4.7