Lines Matching refs:best_idx
205 best_idx = \
207 if (fabs(val - table[best_idx]) > fabs(val - table[best_idx + 1])) \
208 best_idx++;
212 int band, best_idx, power_idx = 0;
217 idx_table[0] = best_idx;
218 power_idx = ff_nelly_init_table[best_idx];
223 idx_table[band] = best_idx;
224 power_idx += ff_nelly_delta_table[best_idx];
237 int i, j, band, best_idx;
282 best_idx = -1;
287 best_idx = i;
291 idx_table[band] = path[band][best_idx];
293 best_idx -= ff_nelly_delta_table[path[band][best_idx]];
307 int i, j, band, block, best_idx, power_idx = 0;
358 best_idx =
364 if (fabs(coeff - table[best_idx]) > fabs(coeff - table[best_idx + 1]))
365 best_idx++;
367 put_bits(&pb, bits[i], best_idx);