Home
last modified time | relevance | path

Searched refs:nb_gain_entry (Results 1 – 1 of 1) sorted by relevance

/third_party/ffmpeg/libavfilter/
Daf_firequalizer.c108 int nb_gain_entry; member
418 if (s->nb_gain_entry >= NB_GAIN_ENTRY_MAX) { in entry_func()
430 if (s->nb_gain_entry > 0 && freq <= s->gain_entry_tbl[s->nb_gain_entry - 1].freq) { in entry_func()
436 s->gain_entry_tbl[s->nb_gain_entry].freq = freq; in entry_func()
437 s->gain_entry_tbl[s->nb_gain_entry].gain = gain; in entry_func()
438 s->nb_gain_entry++; in entry_func()
464 if (!s->nb_gain_entry) in gain_interpolate_func()
470 if (freq >= s->gain_entry_tbl[s->nb_gain_entry-1].freq) in gain_interpolate_func()
471 return s->gain_entry_tbl[s->nb_gain_entry-1].gain; in gain_interpolate_func()
473 … res = bsearch(&freq, &s->gain_entry_tbl, s->nb_gain_entry - 1, sizeof(*res), gain_entry_compare); in gain_interpolate_func()
[all …]