Lines Matching refs:lpcrdr
55 A(z) is a polynomial of order lpcrdr with {ak} as the coefficients.
77 thru it lpcrdr times gives us the impulse response of A(z) which is
219 int lpc_to_lsp (spx_coef_t *a,int lpcrdr,spx_lsp_t *freq,int nb,spx_word16_t delta, char *stack)
221 /* int lpcrdr order of LPC coefficients (10) */
244 m = lpcrdr/2; /* order of P'(z) & Q'(z) polynomials */
262 *px++ = SUB32(ADD32(EXTEND32(a[i]),EXTEND32(a[lpcrdr-i-1])), *p++);
263 *qx++ = ADD32(SUB32(EXTEND32(a[i]),EXTEND32(a[lpcrdr-i-1])), *q++);
285 *px++ = (a[i]+a[lpcrdr-1-i]) - *p++;
286 *qx++ = (a[i]-a[lpcrdr-1-i]) + *q++;
319 for(j=0;j<lpcrdr;j++){
403 void lsp_to_lpc(spx_lsp_t *freq,spx_coef_t *ak,int lpcrdr, char *stack)
406 /* int lpcrdr order of LPC coefficients */
416 int m = lpcrdr>>1;
428 int xp[m+1][lpcrdr+1+2]; // P matrix in QIMP
429 int xq[m+1][lpcrdr+1+2]; // Q matrix in QIMP
443 ALLOC(xpmem, (m+1)*(lpcrdr+1+2), spx_word32_t);
446 ALLOC(xqmem, (m+1)*(lpcrdr+1+2), spx_word32_t);
449 xp[i] = xpmem + i*(lpcrdr+1+2);
450 xq[i] = xqmem + i*(lpcrdr+1+2);
455 ALLOC(freqn, lpcrdr, spx_word16_t);
456 for (i=0;i<lpcrdr;i++)
502 for(j=1;j<=lpcrdr;j++) {
522 void lsp_to_lpc(spx_lsp_t *freq,spx_coef_t *ak,int lpcrdr, char *stack)
525 /* int lpcrdr order of LPC coefficients */
534 int m = lpcrdr>>1;
551 ALLOC(x_freq, lpcrdr, float);
552 for (i=0;i<lpcrdr;i++)
559 for(j=0;j<=lpcrdr;j++){