Closed Bug 1879873 Opened 9 months ago Closed 9 months ago

Always use ffmpeg's FFT code for the Web Audio API FFT needs

Categories

(Core :: Web Audio, defect)

defect

Tracking

()

RESOLVED FIXED
125 Branch
Tracking Status
firefox125 --- fixed

People

(Reporter: padenot, Assigned: padenot)

References

Details

Attachments

(5 files)

It has fast code for everything we intend to support and more ISA if need be, and we vendor it.

We have some time to use av_fft.h, after which we'll have to use tx.h directly.
It's not hard to update.

Blocks: 1879676
Pushed by padenot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0aad3393b572 Remove kiss fft and openmax dl. r=karlt,sylvestre https://hg.mozilla.org/integration/autoland/rev/5147903580b8 Remove MOZ_LIBAV_FFT. r=karlt https://hg.mozilla.org/integration/autoland/rev/71824d88e1cd Fix misc warning in FFT code. r=media-playback-reviewers,alwu https://hg.mozilla.org/integration/autoland/rev/13edc1b203a7 Directly use tx instead of the older avfft interface. r=karlt,media-playback-reviewers https://hg.mozilla.org/integration/autoland/rev/1d36088485a4 Scale the inverse FFT result using tx instead of pre- or post-processing the data. r=karlt

Backed out for causing bustages in FFmpegLibWrapper.h.

  • Backout link
  • Push with failures
  • Failure Log
  • Failure line: /builds/worker/checkouts/gecko/dom/media/platforms/ffmpeg/FFmpegLibWrapper.h:215:25: error: declaration of 'int (* mozilla::FFmpegLibWrapper::av_tx_init)(AVTXContext**, void (**)(AVTXContext*, void*, void*, ptrdiff_t), AVTXType, int, int, const void*, uint64_t)' [-fpermissive]
Flags: needinfo?(padenot)

There's another failure caused by this bug. Log here

Pushed by padenot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7c947114da80 Remove kiss fft and openmax dl. r=karlt,sylvestre https://hg.mozilla.org/integration/autoland/rev/9973c75413d6 Remove MOZ_LIBAV_FFT. r=karlt https://hg.mozilla.org/integration/autoland/rev/2e5121a988a8 Fix misc warning in FFT code. r=media-playback-reviewers,alwu https://hg.mozilla.org/integration/autoland/rev/9b17ac4800c6 Directly use tx instead of the older avfft interface. r=karlt,media-playback-reviewers https://hg.mozilla.org/integration/autoland/rev/e519654e5d8b Scale the inverse FFT result using tx instead of pre- or post-processing the data. r=karlt
Flags: needinfo?(padenot)

Backed out for causing reftest failures

Flags: needinfo?(padenot)
Pushed by padenot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cff6a02ad4ee Remove kiss fft and openmax dl. r=karlt,sylvestre https://hg.mozilla.org/integration/autoland/rev/74fa25299c53 Remove MOZ_LIBAV_FFT. r=karlt https://hg.mozilla.org/integration/autoland/rev/7c71c3d1a738 Fix misc warning in FFT code. r=media-playback-reviewers,alwu https://hg.mozilla.org/integration/autoland/rev/9b4ea6ecadd1 Directly use tx instead of the older avfft interface. r=karlt,media-playback-reviewers https://hg.mozilla.org/integration/autoland/rev/2356949f5c6d Scale the inverse FFT result using tx instead of pre- or post-processing the data. r=karlt
Duplicate of this bug: 1820455
Regressions: 1882711
Regressions: 1882980
Flags: needinfo?(padenot)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: