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 |
Definition at line 85 of file AudioChannel.h.
Pentagram::AudioChannel::CubicInterpolator::CubicInterpolator | ( | ) | [inline] |
Pentagram::AudioChannel::CubicInterpolator::CubicInterpolator | ( | int | a0, | |
int | a1, | |||
int | a2, | |||
int | a3 | |||
) | [inline] |
Pentagram::AudioChannel::CubicInterpolator::CubicInterpolator | ( | int | a1, | |
int | a2, | |||
int | a3 | |||
) | [inline] |
void Pentagram::AudioChannel::CubicInterpolator::feedData | ( | int | xNew | ) | [inline] |
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] |
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.
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().
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().