Home
last modified time | relevance | path

Searched refs:best_id (Results 1 – 3 of 3) 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()
/external/libopus/celt/
Dvq.c262 int best_id; in alg_quant() local
271 best_id = 0; in alg_quant()
293 best_id = j; in alg_quant()
298 xy = ADD32(xy, EXTEND32(X[best_id])); in alg_quant()
300 yy = ADD16(yy, y[best_id]); in alg_quant()
304 y[best_id] += 2*s; in alg_quant()
305 iy[best_id]++; in alg_quant()