Home | History | Annotate | Download | only in src

Lines Matching refs:lsp

91  This file contains functions that convert line spectral pairs (LSP) to
94 F1(z) and F2(z), and Lsp_Az, which converts LSP to LPC by multiplying
135 lsp = pointer to the buffer containing the line spectral pairs (LSP)
160 This function finds the polynomial F1(z) or F2(z) from the LSPs. If the LSP
166 F1(z) = product ( 1 - 2 lsp[i] z^-1 + z^-2 )
168 F2(z) = product ( 1 - 2 lsp[i] z^-1 + z^-2 )
171 where lsp[] is the LSP vector in the cosine domain.
176 b = -2.0 * lsp[0]
179 b = -2.0 * lsp[2*i-2];
197 static void Get_lsp_pol (Word16 *lsp, Word32 *f)
205 *f = L_msu ((Word32) 0, *lsp, 512); // f[1] = -2.0 * lsp[0];
207 lsp += 2; // Advance lsp pointer
216 t0 = Mpy_32_16 (hi, lo, *lsp); // t0 = f[-1] * lsp
221 *f = L_msu (*f, *lsp, 512); // *f -= lsp<<9
223 lsp += 2; // Advance lsp pointer
253 Word16 *lsp,
267 *f++ = (Word32) - *(lsp++) << 10; /* f[1] = -2.0 * lsp[0]; */
268 lsp++; /* Advance lsp pointer */
280 t0 = ((Word32)hi * *lsp);
281 t0 += ((Word32)lo * *lsp) >> 15;
288 *f -= (Word32)(*lsp++) << 10;
291 lsp++;
307 lsp = pointer to the buffer containing the line spectral pairs (LSP)
347 CALL Get_lsp_pol(lsp = lsp_ptr
376 Word16 *lsp,
381 CALL Get_lsp_pol(lsp = lsp_ptr
384 Get_lsp_pol(lsp, f, pOverflow);
403 lsp = pointer to the buffer containing the line spectral pairs (LSP)
434 This function converts from the line spectral pairs (LSP) to LP coefficients
456 Word16 lsp[], // (i) : line spectral frequencies
464 Get_lsp_pol (&lsp[0], f1);
465 Get_lsp_pol (&lsp[1], f2);
509 Word16 lsp[], /* (i) : line spectral frequencies */
525 Get_lsp_pol(&lsp[0], f1, pOverflow);
527 Get_lsp_pol(&lsp[1], f2, pOverflow);