Mercurial > libavcodec.hg
comparison lsp.h @ 12464:2dd67ed2f947 libavcodec
Move AMRNB lsf2lsp() function to common code for using in future AMRWB decoder.
Patch by Marcelo Galvo Pvoa
author | vitor |
---|---|
date | Tue, 07 Sep 2010 20:44:41 +0000 |
parents | 0885e7a93ed4 |
children | 1921e24d5886 |
comparison
equal
deleted
inserted
replaced
12463:04e68eb1aab7 | 12464:2dd67ed2f947 |
---|---|
61 * \remark It is safe to pass the same array into the lsf and lsp parameters. | 61 * \remark It is safe to pass the same array into the lsf and lsp parameters. |
62 */ | 62 */ |
63 void ff_acelp_lsf2lsp(int16_t *lsp, const int16_t *lsf, int lp_order); | 63 void ff_acelp_lsf2lsp(int16_t *lsp, const int16_t *lsf, int lp_order); |
64 | 64 |
65 /** | 65 /** |
66 * Floating point version of ff_acelp_lsf2lsp() | |
67 */ | |
68 void ff_acelp_lsf2lspd(double *lsp, const float *lsf, int lp_order); | |
69 | |
70 /** | |
66 * \brief LSP to LP conversion (3.2.6 of G.729) | 71 * \brief LSP to LP conversion (3.2.6 of G.729) |
67 * \param[out] lp decoded LP coefficients (-0x8000 <= (3.12) < 0x8000) | 72 * \param[out] lp decoded LP coefficients (-0x8000 <= (3.12) < 0x8000) |
68 * \param lsp LSP coefficients (-0x8000 <= (0.15) < 0x8000) | 73 * \param lsp LSP coefficients (-0x8000 <= (0.15) < 0x8000) |
69 * \param lp_half_order LP filter order, divided by 2 | 74 * \param lp_half_order LP filter order, divided by 2 |
70 */ | 75 */ |