#include <math.h>#include "lsp.h"#include "stack_alloc.h"#include "math_approx.h"Include dependency graph for lsp.c:

Defines | |
| #define | M_PI 3.14159265358979323846 |
| #define | NULL 0 |
| #define | FREQ_SCALE 1. |
| #define | ANGLE2X(a) (spx_cos(a)) |
| #define | X2ANGLE(x) (acos(x)) |
| #define | SIGN_CHANGE(a, b) (((a)*(b))<0.0) |
Functions | |
| int | lpc_to_lsp (spx_coef_t *a, int lpcrdr, spx_lsp_t *freq, int nb, spx_word16_t delta, char *stack) |
| void | lsp_to_lpc (spx_lsp_t *freq, spx_coef_t *ak, int lpcrdr, char *stack) |
| void | lsp_enforce_margin (spx_lsp_t *lsp, int len, spx_word16_t margin) |
| void | lsp_interpolate (spx_lsp_t *old_lsp, spx_lsp_t *new_lsp, spx_lsp_t *interp_lsp, int len, int subframe, int nb_subframes) |
| #define ANGLE2X | ( | a | ) | (spx_cos(a)) |
| #define FREQ_SCALE 1. |
| #define M_PI 3.14159265358979323846 |
| #define NULL 0 |
| #define SIGN_CHANGE | ( | a, | |||
| b | ) | (((a)*(b))<0.0) |
| #define X2ANGLE | ( | x | ) | (acos(x)) |
| int lpc_to_lsp | ( | spx_coef_t * | a, | |
| int | lpcrdr, | |||
| spx_lsp_t * | freq, | |||
| int | nb, | |||
| spx_word16_t | delta, | |||
| char * | stack | |||
| ) |
| void lsp_enforce_margin | ( | spx_lsp_t * | lsp, | |
| int | len, | |||
| spx_word16_t | margin | |||
| ) |
| void lsp_interpolate | ( | spx_lsp_t * | old_lsp, | |
| spx_lsp_t * | new_lsp, | |||
| spx_lsp_t * | interp_lsp, | |||
| int | len, | |||
| int | subframe, | |||
| int | nb_subframes | |||
| ) |
| void lsp_to_lpc | ( | spx_lsp_t * | freq, | |
| spx_coef_t * | ak, | |||
| int | lpcrdr, | |||
| char * | stack | |||
| ) |
1.5.1