Lines Matching defs:best_idx
181 best_idx = \
183 if (fabs(val - table[best_idx]) > fabs(val - table[best_idx + 1])) \
184 best_idx++;
188 int band, best_idx, power_idx = 0;
193 idx_table[0] = best_idx;
194 power_idx = ff_nelly_init_table[best_idx];
199 idx_table[band] = best_idx;
200 power_idx += ff_nelly_delta_table[best_idx];
213 int i, j, band, best_idx;
258 best_idx = -1;
263 best_idx = i;
267 idx_table[band] = path[band][best_idx];
269 best_idx -= ff_nelly_delta_table[path[band][best_idx]];
283 int i, j, band, block, best_idx, power_idx = 0;
334 best_idx =
340 if (fabs(coeff - table[best_idx]) > fabs(coeff - table[best_idx + 1]))
341 best_idx++;
343 put_bits(&pb, bits[i], best_idx);