Home
last modified time | relevance | path

Searched refs:nbDim (Results 1 – 2 of 2) sorted by relevance

/external/speex/libspeex/
Dquant_lsp_bfin.h49 int nbDim in lsp_quant() argument
86 : "a" (x), "b" (cdbk), "a" (nbVec), "a" (nbDim) in lsp_quant()
90 for (j=0;j<nbDim;j++) { in lsp_quant()
91 x[j] = SUB16(x[j],SHL16((spx_word16_t)cdbk[best_id*nbDim+j],5)); in lsp_quant()
111 int nbDim in lsp_weight_quant() argument
155 : "a" (x), "a" (weight), "b" (cdbk), "a" (nbVec), "a" (nbDim) in lsp_weight_quant()
160 for (j=0;j<nbDim;j++) { in lsp_weight_quant()
161 x[j] = SUB16(x[j],SHL16((spx_word16_t)cdbk[best_id*nbDim+j],5)); in lsp_weight_quant()
Dquant_lsp.c98 static int lsp_quant(spx_word16_t *x, const signed char *cdbk, int nbVec, int nbDim) in lsp_quant() argument
109 for (j=0;j<nbDim;j++) in lsp_quant()
121 for (j=0;j<nbDim;j++) in lsp_quant()
122 x[j] = SUB16(x[j],SHL16((spx_word16_t)cdbk[best_id*nbDim+j],5)); in lsp_quant()
130 …_weight_quant(spx_word16_t *x, spx_word16_t *weight, const signed char *cdbk, int nbVec, int nbDim) in lsp_weight_quant() argument
141 for (j=0;j<nbDim;j++) in lsp_weight_quant()
153 for (j=0;j<nbDim;j++) in lsp_weight_quant()
154 x[j] = SUB16(x[j],SHL16((spx_word16_t)cdbk[best_id*nbDim+j],5)); in lsp_weight_quant()