Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavfilter/
Daf_afftfilt.c41 AVComplexFloat **fft_out; member
81 return s->fft_out[ich][ix].re; in getreal()
92 return s->fft_out[ich][ix].im; in getimag()
137 s->fft_out = av_calloc(inlink->ch_layout.nb_channels, sizeof(*s->fft_out)); in config_input()
138 if (!s->fft_out) in config_input()
150 s->fft_out[ch] = av_calloc(buf_size, sizeof(**s->fft_out)); in config_input()
151 if (!s->fft_out[ch]) in config_input()
241 AVComplexFloat *fft_out = s->fft_out[ch]; in tx_channel() local
243 s->tx_fn(s->fft[ch], fft_out, fft_in, sizeof(float)); in tx_channel()
263 AVComplexFloat *fft_out = s->fft_out[ch]; in filter_channel() local
[all …]
Daf_aspectralstats.c60 AVComplexFloat **fft_out; member
117 s->fft_out = av_calloc(s->nb_channels, sizeof(*s->fft_out)); in config_output()
118 if (!s->fft_out) in config_output()
130 s->fft_out[ch] = av_calloc(s->win_size, sizeof(**s->fft_out)); in config_output()
131 if (!s->fft_out[ch]) in config_output()
402 AVComplexFloat *fft_out = s->fft_out[ch]; in filter_channel() local
417 s->tx_fn(s->fft[ch], fft_out, fft_in, sizeof(float)); in filter_channel()
420 fft_out[n].re *= scale; in filter_channel()
421 fft_out[n].im *= scale; in filter_channel()
425 magnitude[n] = hypotf(fft_out[n].re, fft_out[n].im); in filter_channel()
[all …]
Dvaf_spectrumsynth.c60 AVComplexFloat **fft_out; ///< bins holder for each (displayed) channels member
194 s->fft_out = av_calloc(s->channels, sizeof(*s->fft_out)); in config_output()
195 if (!s->fft_out) in config_output()
203 s->fft_out[ch] = av_calloc(FFALIGN(s->win_size, av_cpu_max_align()), sizeof(**s->fft_out)); in config_output()
204 if (!s->fft_out[ch]) in config_output()
345 s->tx_fn(s->fft, s->fft_out[ch], s->fft_in[ch], sizeof(float)); in synth_window()
368 buf[j] += s->fft_out[ch][i].re; in try_push_frame()
372 buf[j] = s->fft_out[ch][i].re; in try_push_frame()
511 if (s->fft_out) { in uninit()
513 av_freep(&s->fft_out[i]); in uninit()
[all …]
Daf_afftdn.c85 AVComplexFloat *fft_out; member
712 dnch->fft_out = av_calloc(s->fft_length2 + 1, sizeof(*dnch->fft_out)); in config_input()
733 !dnch->fft_out || in config_input()
874 dnch->tx_fn(dnch->fft, dnch->fft_out, dnch->fft_in, sizeof(float)); in sample_noise_block()
899 avr += dnch->fft_out[n].re; in sample_noise_block()
900 avi += dnch->fft_out[n].im; in sample_noise_block()
901 mag2 = dnch->fft_out[n].re * dnch->fft_out[n].re + in sample_noise_block()
902 dnch->fft_out[n].im * dnch->fft_out[n].im; in sample_noise_block()
993 dnch->tx_fn(dnch->fft, dnch->fft_out, fft_in, sizeof(float)); in filter_channel()
995 process_frame(ctx, s, dnch, dnch->fft_out, in filter_channel()
[all …]
Daf_headphone.c230 AVComplexFloat *fft_out = s->out_fft[jobnr]; in headphone_fast_convolute() local
276 tx_fn(fft, fft_out, fft_in, sizeof(float)); in headphone_fast_convolute()
280 const float re = fft_out[j].re; in headphone_fast_convolute()
281 const float im = fft_out[j].im; in headphone_fast_convolute()
288 itx_fn(ifft, fft_out, fft_acc, sizeof(float)); in headphone_fast_convolute()
291 dst[2 * j] += fft_out[j].re * fft_scale; in headphone_fast_convolute()
299 *(ringbuffer + write_pos) += fft_out[in->nb_samples + j].re * fft_scale; in headphone_fast_convolute()
Daf_sofalizer.c452 AVComplexFloat *fft_out = s->out_fft[jobnr]; /* temporary array for FFT output data */ in sofalizer_fast_convolute() local
528 tx_fn(fft, fft_out, fft_in, sizeof(float)); in sofalizer_fast_convolute()
532 const float re = fft_out[j].re; in sofalizer_fast_convolute()
533 const float im = fft_out[j].im; in sofalizer_fast_convolute()
544 itx_fn(ifft, fft_out, fft_acc, sizeof(float)); in sofalizer_fast_convolute()
548 dst[mult * j] += fft_out[j].re * fft_scale; in sofalizer_fast_convolute()
555 *(ringbuffer + write_pos) += fft_out[in->nb_samples + j].re * fft_scale; in sofalizer_fast_convolute()