/* Convert an lsf vector into an lsp vector. */
static void lsf2lsp(const float *lsf, double *lsp)
/* Convert an lsf vector into an lsp vector. */
static void lsf2lsp(const float *lsf, double *lsp)
{
    int i;
    for (i = 0; i < LP_FILTER_ORDER; i++)
        lsp[i] = cos(2.0 * M_PI * lsf[i]);
}