Lines Matching defs:best_idx
196 best_idx = \
198 if (fabs(val - table[best_idx]) > fabs(val - table[best_idx + 1])) \
199 best_idx++;
203 int band, best_idx, power_idx = 0;
208 idx_table[0] = best_idx;
209 power_idx = ff_nelly_init_table[best_idx];
214 idx_table[band] = best_idx;
215 power_idx += ff_nelly_delta_table[best_idx];
228 int i, j, band, best_idx;
273 best_idx = -1;
278 best_idx = i;
282 idx_table[band] = path[band][best_idx];
284 best_idx -= ff_nelly_delta_table[path[band][best_idx]];
298 int i, j, band, block, best_idx, power_idx = 0;
349 best_idx =
355 if (fabs(coeff - table[best_idx]) > fabs(coeff - table[best_idx + 1]))
356 best_idx++;
358 put_bits(&pb, bits[i], best_idx);