Bug 1550359 [wpt PR 16664] - Use PFFFT for WebAudio FFT on Android, a=testonly

Automatic update from web-platform-tests
Use PFFFT for WebAudio FFT on Android

Replace the OpenMAX DL FFT with PFFFT for WebAudio on Android.

Roughly, the library is as fast or faster than OpenMAX DL FFT and is not
a giant blob of handwritten assembly code.  See the bug for a link for
additional information.

The changes in the tests are due to minor changes in accuracy. Apparently,
PFFFT is very slightly less accurate than OpenMAX DL.  We deem these small changes
to be acceptable for the performance gain and readability.

Bug: 917355
Change-Id: Ia3efdab06364e312608e2aa7e060c46a8c8d0885
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1590257
Reviewed-by: Hongchan Choi <hongchan@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Commit-Queue: Raymond Toy <rtoy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#656537}

--

wpt-commits: de1466c482c99f6549317e3d202aad03cfd234a4
wpt-pr: 16664
This commit is contained in:
Raymond Toy 2019-05-20 15:00:33 +00:00 коммит произвёл James Graham
Родитель ccc2352584
Коммит 14e213d9a8
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -155,7 +155,7 @@
let match =
should(actual, 'Output from ' + f.type + ' filter')
.beCloseToArray(
expected, {absoluteThreshold: 4.7684e-7});
expected, {absoluteThreshold: 5.9607e-7});
should(match, 'Output matches JS filter results').beTrue();
})
.then(() => task.done());