CubicInterpolator Class Reference

Collaboration diagram for CubicInterpolator:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CubicInterpolator (int a0, int a1, int a2, int a3)
 CubicInterpolator (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 121 of file Audio.cc.


Constructor & Destructor Documentation

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

Definition at line 127 of file Audio.cc.

References updateCoefficients().

Here is the call graph for this function:

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

Definition at line 132 of file Audio.cc.

References updateCoefficients().

Here is the call graph for this function:


Member Function Documentation

void CubicInterpolator::feedData (  )  [inline]

Definition at line 138 of file Audio.cc.

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

Referenced by resample_new(), and resample_new_mono().

Here is the call graph for this function:

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

Definition at line 147 of file Audio.cc.

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

Here is the call graph for this function:

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

Definition at line 157 of file Audio.cc.

References a, b, c, and d.

Referenced by resample_new(), and resample_new_mono().

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

Definition at line 170 of file Audio.cc.

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

Referenced by CubicInterpolator(), and feedData().


Member Data Documentation

int CubicInterpolator::x0 [protected]

Definition at line 123 of file Audio.cc.

Referenced by feedData(), and updateCoefficients().

int CubicInterpolator::x1 [protected]

Definition at line 123 of file Audio.cc.

Referenced by feedData(), and updateCoefficients().

int CubicInterpolator::x2 [protected]

Definition at line 123 of file Audio.cc.

Referenced by feedData(), and updateCoefficients().

int CubicInterpolator::x3 [protected]

Definition at line 123 of file Audio.cc.

Referenced by feedData(), and updateCoefficients().

int CubicInterpolator::a [protected]

Definition at line 124 of file Audio.cc.

Referenced by interpolate(), and updateCoefficients().

int CubicInterpolator::b [protected]

Definition at line 124 of file Audio.cc.

Referenced by interpolate(), and updateCoefficients().

int CubicInterpolator::c [protected]

Definition at line 124 of file Audio.cc.

Referenced by interpolate(), and updateCoefficients().

int CubicInterpolator::d [protected]

Definition at line 124 of file Audio.cc.

Referenced by interpolate(), and updateCoefficients().


The documentation for this class was generated from the following file:
Generated on Mon Jul 9 14:49:32 2007 for ExultEngine by  doxygen 1.5.1