Home
last modified time | relevance | path

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

/external/speex/libspeex/
Dquant_lsp_bfin.h54 int best_id=0; in lsp_quant() local
85 : "=&d" (best_dist), "=&d" (best_id) in lsp_quant()
91 x[j] = SUB16(x[j],SHL16((spx_word16_t)cdbk[best_id*nbDim+j],5)); in lsp_quant()
93 return best_id; in lsp_quant()
116 int best_id=0; in lsp_weight_quant() local
154 : "=&d" (best_dist), "=&d" (best_id) in lsp_weight_quant()
161 x[j] = SUB16(x[j],SHL16((spx_word16_t)cdbk[best_id*nbDim+j],5)); in lsp_weight_quant()
163 return best_id; in lsp_weight_quant()
Dquant_lsp.c104 int best_id=0; in lsp_quant() local
117 best_id=i; in lsp_quant()
122 x[j] = SUB16(x[j],SHL16((spx_word16_t)cdbk[best_id*nbDim+j],5)); in lsp_quant()
124 return best_id; in lsp_quant()
136 int best_id=0; in lsp_weight_quant() local
149 best_id=i; in lsp_weight_quant()
154 x[j] = SUB16(x[j],SHL16((spx_word16_t)cdbk[best_id*nbDim+j],5)); in lsp_weight_quant()
155 return best_id; in lsp_weight_quant()