Home | History | Annotate | Download | only in libspeex

Lines Matching refs:shape_cb

53 static void compute_weighted_codebook(const signed char *shape_cb, const spx_word16_t *r, spx_word16_t *resp, spx_word16_t *resp2, spx_word32_t *E, int shape_cb_size, int subvect_size, char *stack)
64 shape[k] = (spx_word16_t)shape_cb[i*subvect_size+k];
126 const signed char *shape_cb;
137 shape_cb = params->shape_cb;
153 compute_weighted_codebook(shape_cb, r, resp, resp2, E, shape_cb_size, subvect_size, stack);
188 e[subvect_size*i+j]=SHL32(EXTEND32(shape_cb[rind*subvect_size+j]),SIG_SHIFT-5);
191 e[subvect_size*i+j]=NEG32(SHL32(EXTEND32(shape_cb[rind*subvect_size+j]),SIG_SHIFT-5));
195 e[subvect_size*i+j]=sign*0.03125*shape_cb[rind*subvect_size+j];
214 g=sign*shape_cb[rind*subvect_size+m];
216 g=sign*0.03125*shape_cb[rind*subvect_size+m];
279 const signed char *shape_cb;
309 shape_cb = params->shape_cb;
351 compute_weighted_codebook(shape_cb, r, resp, resp2, E, shape_cb_size, subvect_size, stack);
437 g=sign*shape_cb[rind*subvect_size+m];
439 g=sign*0.03125*shape_cb[rind*subvect_size+m];
486 e[subvect_size*i+j]=SHL32(EXTEND32(shape_cb[rind*subvect_size+j]),SIG_SHIFT-5);
489 e[subvect_size*i+j]=NEG32(SHL32(EXTEND32(shape_cb[rind*subvect_size+j]),SIG_SHIFT-5));
493 e[subvect_size*i+j]=sign*0.03125*shape_cb[rind*subvect_size+j];
526 const signed char *shape_cb;
535 shape_cb = params->shape_cb;
560 exc[subvect_size*i+j]=SHL32(EXTEND32(shape_cb[ind[i]*subvect_size+j]),SIG_SHIFT-5);
563 exc[subvect_size*i+j]=NEG32(SHL32(EXTEND32(shape_cb[ind[i]*subvect_size+j]),SIG_SHIFT-5));
567 exc[subvect_size*i+j]+=s*0.03125*shape_cb[ind[i]*subvect_size+j];