Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavfilter/
Davf_showfreqs.c64 int nb_freq; member
178 s->nb_freq = 1 << (s->fft_bits - 1); in config_output()
179 s->win_size = s->nb_freq << 1; in config_output()
208 s->avg_data[i] = av_calloc(s->nb_freq, sizeof(**s->avg_data)); in config_output()
257 return (s->w/(float)s->nb_freq)*f; in get_sx()
259 return s->w-pow(s->w, (s->nb_freq-f-1)/(s->nb_freq-1.)); in get_sx()
261 return pow(s->w, f/(s->nb_freq-1.)); in get_sx()
271 return s->w/(float)s->nb_freq; in get_bsize()
273 return pow(s->w, (s->nb_freq-f-1)/(s->nb_freq-1.))- in get_bsize()
274 pow(s->w, (s->nb_freq-f-2)/(s->nb_freq-1.)); in get_bsize()
[all …]
Dasrc_afirsrc.c47 int nb_freq; member
217 s->nb_freq = s->nb_magnitude = s->nb_phase = 0; in config_output()
219 ret = parse_string(s->freq_points_str, &s->freq, &s->nb_freq, &s->freq_size); in config_output()
231 if (s->nb_freq != s->nb_magnitude && s->nb_freq != s->nb_phase && s->nb_freq >= 2) { in config_output()
236 for (int i = 0; i < s->nb_freq; i++) { in config_output()
242 if (i == s->nb_freq - 1 && s->freq[i] != 1.f) { in config_output()
272 lininterp(s->complexf, s->freq, s->magnitude, s->phase, s->nb_freq, fft_size / 2); in config_output()
Dvaf_spectrumsynth.c61 int nb_freq; member
188 s->nb_freq = 1 << (fft_bits - 1); in config_output()
332 for (y = h; y <= s->nb_freq; y++) { in synth_window()
337 for (y = s->nb_freq + 1, f = s->nb_freq - 1; y < nb; y++, f--) { in synth_window()
/third_party/ffmpeg/fftools/
Dffplay.c1068 int rdft_bits, nb_freq; in video_audio_display() local
1072 nb_freq = 1 << (rdft_bits - 1); in video_audio_display()
1078 int data_used= s->show_mode == SHOW_MODE_WAVES ? s->width : (2*nb_freq); in video_audio_display()
1159 s->rdft_data = av_malloc_array(nb_freq, 4 *sizeof(*s->rdft_data)); in video_audio_display()
1170 data[ch] = s->rdft_data + 2 * nb_freq * ch; in video_audio_display()
1172 for (x = 0; x < 2 * nb_freq; x++) { in video_audio_display()
1173 double w = (x-nb_freq) * (1.0 / nb_freq); in video_audio_display()
1187 double w = 1 / sqrt(nb_freq); in video_audio_display()