Mercurial > libavcodec.hg
comparison lsp.h @ 10011:c1cfa4679371 libavcodec
Expose QCELP's floating-point LSP-to-LPC function
qcelp_lsp exported a single function, ff_acelp_lspd2lpc, which was not
specific to qcelp. It can be kept with its fixed-point version
ff_acelp_lsp2lpc in lpc.c.
Patch by Colin McQuillan ( m.niloc googlemail com )
author | superdump |
---|---|
date | Mon, 03 Aug 2009 08:37:02 +0000 |
parents | c4a4495715dd |
children | 9f35b262d3f0 |
comparison
equal
deleted
inserted
replaced
10010:18dab2b47db7 | 10011:c1cfa4679371 |
---|---|
65 * \param lsp_prev LSP coefficients from the second subframe of the previous frame (-0x8000 <= (0.15) < 0x8000) | 65 * \param lsp_prev LSP coefficients from the second subframe of the previous frame (-0x8000 <= (0.15) < 0x8000) |
66 * \param lp_order LP filter order | 66 * \param lp_order LP filter order |
67 */ | 67 */ |
68 void ff_acelp_lp_decode(int16_t* lp_1st, int16_t* lp_2nd, const int16_t* lsp_2nd, const int16_t* lsp_prev, int lp_order); | 68 void ff_acelp_lp_decode(int16_t* lp_1st, int16_t* lp_2nd, const int16_t* lsp_2nd, const int16_t* lsp_prev, int lp_order); |
69 | 69 |
70 /** | |
71 * Reconstructs LPC coefficients from the line spectral pair frequencies. | |
72 * | |
73 * @param lsp line spectral pairs in cosine domain | |
74 * @param lpc linear predictive coding coefficients | |
75 * | |
76 * TIA/EIA/IS-733 2.4.3.3.5 | |
77 */ | |
78 void ff_acelp_lspd2lpc(const double *lsp, float *lpc); | |
79 | |
70 #endif /* AVCODEC_LSP_H */ | 80 #endif /* AVCODEC_LSP_H */ |