Home
last modified time | relevance | path

Searched refs:fft_in (Results 1 – 25 of 50) sorted by relevance

12

/dports/audio/spectmorph/spectmorph-0.5.2/lib/
H A Dsmifftsynth.hh25 float *fft_in; member in SpectMorph::IFFTSynth
46 zero_float_block (block_size, fft_in); in clear_partials()
52 return fft_in; in fft_buffer()
75 float *sp = fft_in + 2 * (ibin - range); in render_partial()
112 fft_in[-(ibin + i) * 2] += phase_rcmag * wmag; in render_partial()
117 fft_in[0] += 2 * phase_rcmag * wmag; in render_partial()
121 fft_in[1] += 2 * phase_rcmag * wmag; in render_partial()
127 fft_in[p] += phase_rcmag * wmag; in render_partial()
128 fft_in[p + 1] -= phase_rsmag * wmag; in render_partial()
132 fft_in[(ibin + i) * 2] += phase_rcmag * wmag; in render_partial()
[all …]
H A Dsmifftsynth.cc83 fft_in = FFT::new_array_float (block_size); in decode()
91 FFT::free_array_float (fft_in);
99 FFT::fftsr_destructive_float (block_size, fft_in, fft_out);
/dports/audio/spectmorph/spectmorph-0.5.2/tools/
H A Dpolyphasefir.py63 fft_in = []
67 if len (fft_in) < len (window):
68 fft_in.append (y[i + WIDTH * OVERSAMPLE] * window[len (fft_in)])
70 fft_out = rfft (fft_in)
73 print ((i * SR * OVERSAMPLE) / len (fft_in), abs (fft_out[i]))
H A Dimiscutter.cc140 float *fft_in = FFT::new_array_float (fft_size); in compute_peaks() local
163fft_in[in_pos] = block[ipos % block.size()] * (1.0 - dpos) + block[(ipos + 1) % block.size()] * dp… in compute_peaks()
167 FFT::fftar_float (fft_size, fft_in, fft_out); in compute_peaks()
197 FFT::free_array_float (fft_in); in compute_peaks()
/dports/audio/codec2/codec2-1.0.3/src/
H A Dmodem_stats.c92 COMP fft_in[2*MODEM_STATS_NSPEC]; in modem_stats_get_rx_spectrum() local
107 fft_in[i].real = f->fft_buf[i] * (0.5 - 0.5*cosf((float)i*2.0*M_PI/(2*MODEM_STATS_NSPEC))); in modem_stats_get_rx_spectrum()
108 fft_in[i].imag = 0.0; in modem_stats_get_rx_spectrum()
111 kiss_fft((kiss_fft_cfg)f->fft_cfg, (kiss_fft_cpx *)fft_in, (kiss_fft_cpx *)fft_out); in modem_stats_get_rx_spectrum()
/dports/audio/spectmorph/spectmorph-0.5.2/tests/
H A Dtestppinter.cc99 float *fft_in = FFT::new_array_float (FFT_SIZE); in impulse_test() local
114 fft_in[k++] = x * STEP; in impulse_test()
116 FFT::fftar_float (FFT_SIZE, fft_in, fft_out, FFT::PLAN_ESTIMATE); in impulse_test()
137 float *fft_in = FFT::new_array_float (fft_size); in print_spectrum() local
140 zero_float_block (fft_size, fft_in); in print_spectrum()
146 fft_in[i] = w * signal[i]; in print_spectrum()
149 FFT::fftar_float (fft_size, fft_in, fft_out, FFT::PLAN_ESTIMATE); in print_spectrum()
H A Dtestminires.cc84 float *fft_in = FFT::new_array_float (FFT_SIZE); in error_spectrum() local
94 fft_in[i] = out[i] * w; in error_spectrum()
98 FFT::fftar_float (FFT_SIZE, fft_in, fft_out); in error_spectrum()
108 FFT::free_array_float (fft_in); in error_spectrum()
/dports/games/scorched3d/scorched/src/client/water/
H A Docean_wave_generator.h81 FFT_COMPLEX_TYPE *fft_in, *fft_in2; // can't be a vector, since the type is an array variable
219 fft_in = new FFT_COMPLEX_TYPE[N*(N/2+1)]; in ocean_wave_generator()
223 plan = FFT_CREATE_PLAN(N, N, fft_in, fft_out, 0); in ocean_wave_generator()
281 delete[] fft_in; in ~ocean_wave_generator()
303 fft_in[ptr][0] = c.real(); in compute_heights()
304 fft_in[ptr][1] = c.imag(); in compute_heights()
403 fft_in[ptr][0] = c.imag() * Kh[0]; in compute_displacements()
404 fft_in[ptr][1] = -c.real() * Kh[0]; in compute_displacements()
/dports/multimedia/mlt7-qt5/mlt-7.0.1/src/modules/plus/
H A Dfilter_fft.c36 double* fft_in; member
67 private->fft_in = fftw_alloc_real( private->window_size ); in initFft()
69 …private->fft_plan = fftw_plan_dft_r2c_1d( private->window_size, private->fft_in, private->fft_out,… in initFft()
83 …if( private->window_size < MIN_WINDOW_SIZE || !private->fft_in || !private->fft_out || !private->f… in initFft()
193 private->fft_in[s] = private->sample_buff[s] * private->hann[s]; in filter_get_audio()
237 fftw_free( private->fft_in ); in filter_close()
/dports/multimedia/mlt6/mlt-6.26.1/src/modules/plus/
H A Dfilter_fft.c36 double* fft_in; member
67 private->fft_in = fftw_alloc_real( private->window_size ); in initFft()
69 …private->fft_plan = fftw_plan_dft_r2c_1d( private->window_size, private->fft_in, private->fft_out,… in initFft()
83 …if( private->window_size < MIN_WINDOW_SIZE || !private->fft_in || !private->fft_out || !private->f… in initFft()
193 private->fft_in[s] = private->sample_buff[s] * private->hann[s]; in filter_get_audio()
237 fftw_free( private->fft_in ); in filter_close()
/dports/multimedia/mlt6-qt5/mlt-6.26.1/src/modules/plus/
H A Dfilter_fft.c36 double* fft_in; member
67 private->fft_in = fftw_alloc_real( private->window_size ); in initFft()
69 …private->fft_plan = fftw_plan_dft_r2c_1d( private->window_size, private->fft_in, private->fft_out,… in initFft()
83 …if( private->window_size < MIN_WINDOW_SIZE || !private->fft_in || !private->fft_out || !private->f… in initFft()
193 private->fft_in[s] = private->sample_buff[s] * private->hann[s]; in filter_get_audio()
237 fftw_free( private->fft_in ); in filter_close()
/dports/multimedia/mlt7/mlt-7.0.1/src/modules/plus/
H A Dfilter_fft.c36 double* fft_in; member
67 private->fft_in = fftw_alloc_real( private->window_size ); in initFft()
69 …private->fft_plan = fftw_plan_dft_r2c_1d( private->window_size, private->fft_in, private->fft_out,… in initFft()
83 …if( private->window_size < MIN_WINDOW_SIZE || !private->fft_in || !private->fft_out || !private->f… in initFft()
193 private->fft_in[s] = private->sample_buff[s] * private->hann[s]; in filter_get_audio()
237 fftw_free( private->fft_in ); in filter_close()
/dports/multimedia/py-mlt6/mlt-6.26.1/src/modules/plus/
H A Dfilter_fft.c36 double* fft_in; member
67 private->fft_in = fftw_alloc_real( private->window_size ); in initFft()
69 …private->fft_plan = fftw_plan_dft_r2c_1d( private->window_size, private->fft_in, private->fft_out,… in initFft()
83 …if( private->window_size < MIN_WINDOW_SIZE || !private->fft_in || !private->fft_out || !private->f… in initFft()
193 private->fft_in[s] = private->sample_buff[s] * private->hann[s]; in filter_get_audio()
237 fftw_free( private->fft_in ); in filter_close()
/dports/audio/x42-plugins-lv2/x42-plugins-20211016/fil4.lv2/gui/
H A Dfft.c51 float* fft_in; member
225 ft->fft_in = (float*)fftwf_malloc (sizeof (float) * window_size); in fftx_init()
234 ft->fftplan = fftwf_plan_r2r_1d (window_size, ft->fft_in, ft->fft_out, FFTW_R2HC, FFTW_MEASURE); in fftx_init()
280 fftwf_free (ft->fft_in); in fftx_free()
294 float* const f_buf = ft->fft_in; in _fftx_run()
332 ft->fft_in[i] *= window[i]; in _fftx_run()
368 float* buf = ft->fft_in; in fa_analyze_dsp()
/dports/audio/x42-plugins-lv2/x42-plugins-20211016/meters.lv2/gui/
H A Dfft.c51 float* fft_in; member
225 ft->fft_in = (float*)fftwf_malloc (sizeof (float) * window_size); in fftx_init()
234 ft->fftplan = fftwf_plan_r2r_1d (window_size, ft->fft_in, ft->fft_out, FFTW_R2HC, FFTW_MEASURE); in fftx_init()
280 fftwf_free (ft->fft_in); in fftx_free()
294 float* const f_buf = ft->fft_in; in _fftx_run()
332 ft->fft_in[i] *= window[i]; in _fftx_run()
368 float* buf = ft->fft_in; in fa_analyze_dsp()
/dports/audio/x42-plugins-lv2/x42-plugins-20211016/spectra.lv2/gui/
H A Dfft.c51 float* fft_in; member
225 ft->fft_in = (float*)fftwf_malloc (sizeof (float) * window_size); in fftx_init()
234 ft->fftplan = fftwf_plan_r2r_1d (window_size, ft->fft_in, ft->fft_out, FFTW_R2HC, FFTW_MEASURE); in fftx_init()
280 fftwf_free (ft->fft_in); in fftx_free()
294 float* const f_buf = ft->fft_in; in _fftx_run()
332 ft->fft_in[i] *= window[i]; in _fftx_run()
368 float* buf = ft->fft_in; in fa_analyze_dsp()
/dports/audio/x42-plugins-lv2/x42-plugins-20211016/tuna.lv2/src/
H A Dfft.c51 float* fft_in;
225 ft->fft_in = (float*)fftwf_malloc (sizeof (float) * window_size);
234 ft->fftplan = fftwf_plan_r2r_1d (window_size, ft->fft_in, ft->fft_out, FFTW_R2HC, FFTW_MEASURE);
280 fftwf_free (ft->fft_in);
294 float* const f_buf = ft->fft_in;
332 ft->fft_in[i] *= window[i];
368 float* buf = ft->fft_in;
/dports/audio/spectmorph/spectmorph-0.5.2/inspector/
H A Dsmfftthread.cc210 float *fft_in = FFT::new_array_float (fft_size); in ParamGenerator()
251 fft_in[i] = block[i]; in ParamGenerator()
253 fft_in[i] = 0; in ParamGenerator()
255 FFT::fftar_float (fft_size, fft_in, fft_out); in ParamGenerator()
273 FFT::free_array_float (fft_in); in ParamGenerator()
/dports/multimedia/gstreamer1-libav/gst-libav-1.16.2/gst-libs/ext/libav/libavfilter/
H A Daf_sofalizer.c424 memset(fft_in, 0, sizeof(FFTComplex) * n_fft); in sofalizer_fast_convolute()
429 fft_in[j].re = src[j * in_channels + i]; in sofalizer_fast_convolute()
433 av_fft_permute(fft, fft_in); in sofalizer_fast_convolute()
434 av_fft_calc(fft, fft_in); in sofalizer_fast_convolute()
437 const float re = fft_in[j].re; in sofalizer_fast_convolute()
438 const float im = fft_in[j].im; in sofalizer_fast_convolute()
442 fft_in[j].re = re * hcomplex->re - im * hcomplex->im; in sofalizer_fast_convolute()
444 fft_in[j].im = re * hcomplex->im + im * hcomplex->re; in sofalizer_fast_convolute()
448 av_fft_permute(ifft, fft_in); in sofalizer_fast_convolute()
449 av_fft_calc(ifft, fft_in); in sofalizer_fast_convolute()
[all …]
H A Daf_headphone.c251 FFTComplex *fft_in = s->temp_fft[jobnr]; in headphone_fast_convolute() local
285 memset(fft_in, 0, sizeof(FFTComplex) * n_fft); in headphone_fast_convolute()
288 fft_in[j].re = src[j * in_channels + i]; in headphone_fast_convolute()
291 av_fft_permute(fft, fft_in); in headphone_fast_convolute()
292 av_fft_calc(fft, fft_in); in headphone_fast_convolute()
295 const float re = fft_in[j].re; in headphone_fast_convolute()
296 const float im = fft_in[j].im; in headphone_fast_convolute()
298 fft_in[j].re = re * hcomplex->re - im * hcomplex->im; in headphone_fast_convolute()
302 av_fft_permute(ifft, fft_in); in headphone_fast_convolute()
303 av_fft_calc(ifft, fft_in); in headphone_fast_convolute()
[all …]
/dports/graphics/bonzomatic/Bonzomatic-2021-03-07/external/kiss_fft/
H A Dkissfft.hh90 …void transform(const cpx_t * fft_in, cpx_t * fft_out, const std::size_t stage = 0, const std::size… in transform() argument
99 *fft_out = *fft_in; in transform()
100 fft_in += fstride*in_stride; in transform()
108 transform(fft_in, fft_out, stage+1, fstride*p,in_stride); in transform()
109 fft_in += fstride*in_stride; in transform()
/dports/math/openturns/openturns-1.18/lib/src/Base/Algo/
H A Dkissfft.hh90 …void transform(const cpx_t * fft_in, cpx_t * fft_out, const std::size_t stage = 0, const std::size… in transform() argument
99 *fft_out = *fft_in; in transform()
100 fft_in += fstride*in_stride; in transform()
108 transform(fft_in, fft_out, stage+1, fstride*p,in_stride); in transform()
109 fft_in += fstride*in_stride; in transform()
/dports/audio/eq10q-lv2/eq10q-2.2/
H A Deq.c94 double *fft_in, *fft_out; member
119 fftw_free(plugin->fft_in); fftw_free(plugin->fft_out); in cleanupEQ()
273 plugin_data->fft_in = (double*) fftw_malloc(sizeof(double) * FFT_N); in instantiateEQ()
277 …plugin_data->fft_p = fftw_plan_r2r_1d(FFT_N, plugin_data->fft_in, plugin_data->fft_out, FFTW_R2HC,… in instantiateEQ()
283 plugin_data->fft_in[i] = 0; in instantiateEQ()
444 …plugin_data->fft_in[plugin_data->fft_ix] = fftInSample* 0.5 * (1.0-cos((2.0*PI*((double)plugin_dat… in runEQ_v2()
/dports/audio/spectmorph/spectmorph-0.5.2/src/
H A Dsmenc.cc272 float *fft_in = FFT::new_array_float (in.size()); in wintrans() local
275 std::copy (in.begin(), in.end(), fft_in); in wintrans()
276 FFT::fftar_float (in.size(), fft_in, fft_out); in wintrans()
280 FFT::free_array_float (fft_in); in wintrans()
/dports/audio/deadbeef-musical-spectrum-plugin/ddb_musical_spectrum-353870a/
H A Dspectrum.c99 w->fft_in[i] = w->samples[i] * w->window[i]; in do_fft()
142 …w->p_r2c = fftw_plan_dft_r2c_1d (CLAMP (CONFIG_FFT_SIZE, 512, MAX_FFT_SIZE), w->fft_in, w->fft_out… in on_config_changed()
165 if (s->fft_in) { in w_spectrum_destroy()
166 fftw_free (s->fft_in); in w_spectrum_destroy()
167 s->fft_in = NULL; in w_spectrum_destroy()
797 s->fft_in = fftw_malloc (sizeof (double) * MAX_FFT_SIZE); in spectrum_init()
798 memset (s->fft_in, 0, sizeof (double) * MAX_FFT_SIZE); in spectrum_init()
802 s->p_r2c = fftw_plan_dft_r2c_1d (CONFIG_FFT_SIZE, s->fft_in, s->fft_out, FFTW_ESTIMATE); in spectrum_init()

12