#include "libavutil/mathematics.h"
Go to the source code of this file.
Defines | |
#define | QCELP_BANDWITH_EXPANSION_COEFF 0.9883 |
initial coefficient to perform bandwidth expansion on LPC | |
Functions | |
static void | lsp2polyf (const float *lspf, double *f, int lp_half_order) |
Computes the Pa / (1 + z(-1)) or Qa / (1 - z(-1)) coefficients needed for LSP to LPC conversion. | |
void | ff_qcelp_lspf2lpc (const float *lspf, float *lpc) |
Reconstructs LPC coefficients from the line spectral pair frequencies and performs bandwidth expansion. |
Development mentored by Benjamin Larson
Definition in file qcelp_lsp.c.
#define QCELP_BANDWITH_EXPANSION_COEFF 0.9883 |
initial coefficient to perform bandwidth expansion on LPC
Definition at line 39 of file qcelp_lsp.c.
Referenced by ff_qcelp_lspf2lpc().
void ff_qcelp_lspf2lpc | ( | const float * | lspf, | |
float * | lpc | |||
) |
Reconstructs LPC coefficients from the line spectral pair frequencies and performs bandwidth expansion.
Reconstructs LPC coefficients from the line spectral pair frequencies.
lspf | line spectral pair frequencies | |
lpc | linear predictive coding coefficients |
Definition at line 80 of file qcelp_lsp.c.
Referenced by interpolate_lpc().
static void lsp2polyf | ( | const float * | lspf, | |
double * | f, | |||
int | lp_half_order | |||
) | [static] |
Computes the Pa / (1 + z(-1)) or Qa / (1 - z(-1)) coefficients needed for LSP to LPC conversion.
We only need to calculate the 6 first elements of the polynomial.
lspf | line spectral pair frequencies | |
f | [out] polynomial input/output as a vector |
Definition at line 51 of file qcelp_lsp.c.
Referenced by ff_qcelp_lspf2lpc().