• kbr@google.com's avatar
    2011-01-24 Kenneth Russell <kbr@google.com> · 3b66f107
    kbr@google.com authored
            Reviewed by James Robinson.
    
            Web Audio API: port FFTFrame to FFTW
            https://bugs.webkit.org/show_bug.cgi?id=52989
    
            Ported FFTFrame class to the open-source FFTW library. Tested with
            unit tests from Chris Rogers. Made preliminary changes to GYP
            files for conditional compilation of these files; will need to be
            adjusted once FFTW is integrated as third-party source.
    
            * WebCore.gyp/WebCore.gyp:
            * WebCore.gypi:
            * platform/audio/FFTFrame.h:
            * platform/audio/fftw: Added.
            * platform/audio/fftw/FFTFrameFFTW.cpp: Added.
            (WebCore::FFTFrame::FFTFrame):
            (WebCore::FFTFrame::~FFTFrame):
            (WebCore::FFTFrame::multiply):
            (WebCore::FFTFrame::doFFT):
            (WebCore::FFTFrame::doInverseFFT):
            (WebCore::FFTFrame::cleanup):
            (WebCore::FFTFrame::realData):
            (WebCore::FFTFrame::imagData):
            (WebCore::FFTFrame::fftwPlanForSize):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76562 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    3b66f107