comparison data/fft/FFTDataServer.cpp @ 289:3020904de772

* Layer tree view updating when visibility / audibility changed (and layers updating when they are changed in view) -- still some problems when a model is loaded while the tree is visible * FFTW_MEASURE throughout -- it does turn out to make an appreciable difference sometimes
author Chris Cannam
date Thu, 16 Aug 2007 16:47:07 +0000
parents daf89d31f45c
children a2dc34ce146a
comparison
equal deleted inserted replaced
288:7b96b3bd4bae 289:3020904de772
616 fftf_malloc((fftSize+2) * sizeof(float)); 616 fftf_malloc((fftSize+2) * sizeof(float));
617 617
618 m_fftPlan = fftf_plan_dft_r2c_1d(m_fftSize, 618 m_fftPlan = fftf_plan_dft_r2c_1d(m_fftSize,
619 m_fftInput, 619 m_fftInput,
620 m_fftOutput, 620 m_fftOutput,
621 FFTW_ESTIMATE); 621 FFTW_MEASURE);
622 622
623 if (!m_fftPlan) { 623 if (!m_fftPlan) {
624 std::cerr << "ERROR: fftf_plan_dft_r2c_1d(" << m_windowSize << ") failed!" << std::endl; 624 std::cerr << "ERROR: fftf_plan_dft_r2c_1d(" << m_windowSize << ") failed!" << std::endl;
625 throw(0); 625 throw(0);
626 } 626 }