Enable IPP for Biquad filter
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 1 Mar 2012 23:59:02 +0000 (23:59 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 1 Mar 2012 23:59:02 +0000 (23:59 +0000)
commitdfe2b251be154ef31dc405c4e877cb2dceb944a5
tree91661b809d0ad0f723f71184eb087889bad32f80
parent380f4538ab2feff7bf5fc1ce60572b2f6b03dae7
Enable IPP for Biquad filter
https://bugs.webkit.org/show_bug.cgi?id=77509

Patch by Xingnan Wang <xingnan.wang@intel.com> on 2012-03-01
Reviewed by Chris Rogers.

Source/WebCore:

Use IIR filter in IPP and improve ~27% performance in linux.
Changes are covered by current tests.

* platform/audio/Biquad.cpp:
(WebCore::Biquad::Biquad):
(WebCore::Biquad::~Biquad):
(WebCore):
(WebCore::Biquad::process):
(WebCore::Biquad::reset):
(WebCore::Biquad::setLowpassParams):
(WebCore::Biquad::setHighpassParams):
(WebCore::Biquad::setNormalizedCoefficients):
(WebCore::Biquad::setZeroPolePairs):
* platform/audio/Biquad.h:
(Biquad):

LayoutTests:

Adjust a code format issue.

* webaudio/resources/biquad-testing.js:
(filterData):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@109458 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/webaudio/resources/biquad-testing.js
Source/WebCore/ChangeLog
Source/WebCore/platform/audio/Biquad.cpp
Source/WebCore/platform/audio/Biquad.h