Lines Matching defs:cand
186 static void get_exponent_greedy(NellyMoserEncodeContext *s, float *cand, int *idx_table)
192 find_best(cand[0], ff_nelly_init_table, sf_lut, -20, 96);
197 power_candidate = cand[band] - power_idx;
211 static void get_exponent_dynamic(NellyMoserEncodeContext *s, float *cand, int *idx_table)
224 opt[0][ff_nelly_init_table[i]] = distance(cand[0], ff_nelly_init_table[i], 0);
232 power_candidate = cand[band];
234 idx_min = FFMAX(0, cand[band] - q);
235 idx_max = FFMIN(OPT_SIZE, cand[band - 1] + q);
236 for (i = FFMAX(0, cand[band - 1] - q); i < FFMIN(OPT_SIZE, cand[band - 1] + q); i++) {
287 float cand[NELLY_BANDS];
300 cand[band] =
305 get_exponent_dynamic(s, cand, idx_table);
307 get_exponent_greedy(s, cand, idx_table);