Searched refs:fft_data (Results 1 – 9 of 9) sorted by relevance
/third_party/ffmpeg/libavfilter/ |
D | af_afftfilt.c | 40 FFTComplex **fft_data; member 103 return s->fft_data[ich][ix].re; in getreal() 114 return s->fft_data[ich][ix].im; in getimag() 143 s->fft_data = av_calloc(inlink->channels, sizeof(*s->fft_data)); in config_input() 144 if (!s->fft_data) in config_input() 152 s->fft_data[ch] = av_calloc(s->window_size, sizeof(**s->fft_data)); in config_input() 153 if (!s->fft_data[ch]) in config_input() 257 FFTComplex *fft_data = s->fft_data[ch]; in filter_frame() local 260 fft_data[n].re = src[n] * s->window_func_lut[n]; in filter_frame() 261 fft_data[n].im = 0; in filter_frame() [all …]
|
D | vaf_spectrumsynth.c | 58 FFTComplex **fft_data; ///< bins holder for each (displayed) channels member 196 s->fft_data = av_calloc(s->channels, sizeof(*s->fft_data)); in config_output() 197 if (!s->fft_data) in config_output() 200 s->fft_data[ch] = av_calloc(s->win_size, sizeof(**s->fft_data)); in config_output() 201 if (!s->fft_data[ch]) in config_output() 247 s->fft_data[ch][f].re = magnitude * cos(phase); in read16_fft_bin() 248 s->fft_data[ch][f].im = magnitude * sin(phase); in read16_fft_bin() 272 s->fft_data[ch][f].re = magnitude * cos(phase); in read8_fft_bin() 273 s->fft_data[ch][f].im = magnitude * sin(phase); in read8_fft_bin() 333 s->fft_data[ch][y].re = 0; in synth_window() [all …]
|
D | af_afftdn.c | 69 FFTComplex *fft_data; member 293 FFTComplex *fft_data, in process_frame() argument 299 d1 = fft_data[0].re * fft_data[0].re; in process_frame() 311 d1 = fft_data[i].re * fft_data[i].re + fft_data[i].im * fft_data[i].im; in process_frame() 325 d1 = fft_data[0].im * fft_data[0].im; in process_frame() 473 fft_data[0].re *= gain; in process_frame() 476 fft_data[0].im *= gain; in process_frame() 480 fft_data[i].re *= gain; in process_frame() 481 fft_data[i].im *= gain; in process_frame() 730 dnch->fft_data = av_calloc(s->fft_length2 + 1, sizeof(*dnch->fft_data)); in config_input() [all …]
|
D | avf_showfreqs.c | 57 FFTComplex **fft_data; member 193 av_freep(&s->fft_data[i]); in config_output() 196 av_freep(&s->fft_data); in config_output() 200 s->fft_data = av_calloc(s->nb_channels, sizeof(*s->fft_data)); in config_output() 201 if (!s->fft_data) in config_output() 207 s->fft_data[i] = av_calloc(s->win_size, sizeof(**s->fft_data)); in config_output() 209 if (!s->fft_data[i] || !s->avg_data[i]) in config_output() 388 s->fft_data[ch][n].re = p[n] * s->window_func_lut[n]; in plot_freqs() 389 s->fft_data[ch][n].im = 0; in plot_freqs() 392 s->fft_data[ch][n].re = 0; in plot_freqs() [all …]
|
D | avf_showspatial.c | 44 FFTComplex *fft_data[2]; ///< bins holder for each (displayed) channels member 101 av_freep(&s->fft_data[i]); in uninit() 142 s->fft_data[ch][n].re = p[n] * window_func_lut[n]; in run_channel_fft() 143 s->fft_data[ch][n].im = 0; in run_channel_fft() 146 av_fft_permute(s->fft[ch], s->fft_data[ch]); in run_channel_fft() 147 av_fft_calc(s->fft[ch], s->fft_data[ch]); in run_channel_fft() 177 av_freep(&s->fft_data[i]); in config_output() 189 s->fft_data[i] = av_calloc(s->buf_size, sizeof(**s->fft_data)); in config_output() 190 if (!s->fft_data[i]) in config_output() 220 #define RE(y, ch) s->fft_data[ch][y].re [all …]
|
D | avf_showspectrum.c | 78 FFTComplex **fft_data; ///< bins holder for each (displayed) channels member 316 if (s->fft_data) { in uninit() 318 av_freep(&s->fft_data[i]); in uninit() 320 av_freep(&s->fft_data); in uninit() 390 s->fft_data[ch][n].re = p[n] * window_func_lut[n]; in run_channel_fft() 391 s->fft_data[ch][n].im = 0; in run_channel_fft() 396 FFTComplex *g = s->fft_data[ch]; in run_channel_fft() 421 g[n].re = s->fft_data[ch][n].re; in run_channel_fft() 422 g[n].im = s->fft_data[ch][n].im; in run_channel_fft() 465 s->fft_data[ch][k].re = a; in run_channel_fft() [all …]
|
D | avf_showcqt.c | 153 av_freep(&s->fft_data); in common_uninit() 1142 memcpy(s->fft_result, s->fft_data, s->fft_len * sizeof(*s->fft_data)); in plot_cqt() 1384 s->fft_data = av_calloc(s->fft_len, sizeof(*s->fft_data)); in config_output() 1387 if (!s->fft_ctx || !s->fft_data || !s->fft_result || !s->cqt_result) in config_output() 1492 …memset(&s->fft_data[s->fft_len/2 + s->remaining_fill_max - s->remaining_fill], 0, sizeof(*s->fft_d… in filter_frame() 1500 s->fft_data[x] = s->fft_data[x+step]; in filter_frame() 1517 s->fft_data[j+m].re = audio_data[2*(i+m)]; in filter_frame() 1518 s->fft_data[j+m].im = audio_data[2*(i+m)+1]; in filter_frame() 1547 s->fft_data[m] = s->fft_data[m+step]; in filter_frame() 1551 s->fft_data[j+m].re = audio_data[2*(i+m)]; in filter_frame() [all …]
|
D | avf_showcqt.h | 63 FFTComplex *fft_data; member
|
/third_party/ffmpeg/libavcodec/ppc/ |
D | fft_altivec.S | 320 fft_data: label 371 movrel r6, fft_data, r11
|