Ignore:
Timestamp:
Dec 15, 2010, 3:12:06 PM (14 years ago)
Author:
[email protected]
Message:

2010-12-15 Kenneth Russell <[email protected]>

Reviewed by James Robinson.

Web Audio API: port FFTFrame to MKL
https://bugs.webkit.org/show_bug.cgi?id=50986

Fixed bug in log2 emulation function provided for Windows port of
Web Audio API.

  • wtf/MathExtras.h: (log2):

2010-12-15 Kenneth Russell <[email protected]>

Reviewed by James Robinson.

Web Audio API: port FFTFrame to MKL
https://bugs.webkit.org/show_bug.cgi?id=50986

Ported FFTFrame to Intel's MKL. This patch contains the port and
initial, though not complete, build system changes. Tested so far
with a unit test by Chris Rogers (which requires code changes to
AudioContext.cpp and is not being checked in). Further testing to
follow once layout tests are available for the Web Audio API.

  • WebCore.gyp/WebCore.gyp:
  • WebCore.gypi:
  • platform/audio/FFTFrame.h:
  • platform/audio/mkl: Added.
  • platform/audio/mkl/FFTFrameMKL.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::getUpToDateComplexData): (WebCore::FFTFrame::descriptorHandleForSize):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/wtf/MathExtras.h

    r73458 r74147  
    147147
    148148// MSVC's math.h does not currently supply log2.
    149 inline bool log2(double num)
     149inline double log2(double num)
    150150{
    151151    // This constant is roughly M_LN2, which is not provided by default on Windows.
Note: See TracChangeset for help on using the changeset viewer.