Lines Matching refs:shape_cb

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