Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavfilter/
Davf_showfreqs.c69 int nb_freq; member
158 s->nb_freq = s->fft_size / 2; in config_output()
197 s->avg_data[i] = av_calloc(s->nb_freq, sizeof(**s->avg_data)); in config_output()
268 return (s->w/(float)s->nb_freq)*f; in get_sx()
270 return s->w-pow(s->w, (s->nb_freq-f-1)/(s->nb_freq-1.)); in get_sx()
272 return pow(s->w, f/(s->nb_freq-1.)); in get_sx()
282 return s->w/(float)s->nb_freq; in get_bsize()
284 return pow(s->w, (s->nb_freq-f-1)/(s->nb_freq-1.))- in get_bsize()
285 pow(s->w, (s->nb_freq-f-2)/(s->nb_freq-1.)); in get_bsize()
287 return pow(s->w, (f+1)/(s->nb_freq-1.))- in get_bsize()
[all …]
Dasrc_afirsrc.c49 int nb_freq; member
185 s->nb_freq = s->nb_magnitude = s->nb_phase = 0; in config_output()
187 ret = parse_string(s->freq_points_str, &s->freq, &s->nb_freq, &s->freq_size); in config_output()
199 if (s->nb_freq != s->nb_magnitude && s->nb_freq != s->nb_phase && s->nb_freq >= 2) { in config_output()
204 for (int i = 0; i < s->nb_freq; i++) { in config_output()
210 if (i == s->nb_freq - 1 && s->freq[i] != 1.f) { in config_output()
240 lininterp(s->complexf, s->freq, s->magnitude, s->phase, s->nb_freq, fft_size / 2); in config_output()
Dvaf_spectrumsynth.c63 int nb_freq; member
182 s->nb_freq = s->size; in config_output()
335 for (y = h; y <= s->nb_freq; y++) { in synth_window()
340 for (y = s->nb_freq + 1, f = s->nb_freq - 1; y < nb; y++, f--) { in synth_window()
/third_party/ffmpeg/fftools/
Dffplay.c1056 int rdft_bits, nb_freq; in video_audio_display() local
1060 nb_freq = 1 << (rdft_bits - 1); in video_audio_display()
1066 int data_used= s->show_mode == SHOW_MODE_WAVES ? s->width : (2*nb_freq); in video_audio_display()
1147 s->rdft_data = av_malloc_array(nb_freq, 4 *sizeof(*s->rdft_data)); in video_audio_display()
1158 data[ch] = s->rdft_data + 2 * nb_freq * ch; in video_audio_display()
1160 for (x = 0; x < 2 * nb_freq; x++) { in video_audio_display()
1161 double w = (x-nb_freq) * (1.0 / nb_freq); in video_audio_display()
1175 double w = 1 / sqrt(nb_freq); in video_audio_display()