gecko-dev/media
Jean-Yves Avenard 5be22726b0 Bug 1650696 - P4. Remove the expectation for a MediaDataDecoder to work on a specified TaskQueue. r=jolin
It will now be up to the caller to determine where the decoder is going to run. This allows to simplify the audio decoders so that they can run synchronously and be wrapped in a Wasm sandbox (which doesn't support multi-threading)

The structure guarantees that all MediaDataDecoder methods are called on the same thread it's been initialised.

To achieve this, wherever a MediaDataDecoder was created, we wrap it in a MediaDataDecoderProxy that ensures that all methods are running on the given thread.

We keep the behaviour of all methods in all MediaDataDecoder to assert that they are running on the expected thread for diagnostic purposes. It could go in the future.

Video decoders that could block excessingly the thread on which they are called are made to run on their own task queue.
The Apple decoder is mostly entirely asynchronous, with the exception of the drain method which could block.
We exclude the android and omx decoders are the framework they use is 100% asynchronous and already operate on another thread.

Differential Revision: https://phabricator.services.mozilla.com/D86929
2020-08-17 23:52:21 +00:00
..
audioipc Bug 1561207 - Update audio_thread_priority to 0.23.4 and use MOZ_ENABLE_DBUS to enable dbus usage. r=kinetik 2020-07-17 09:53:10 +00:00
ffvpx
gmp-clearkey/0.1 Bug 1653335 - Replace MakeSpan uses by constructor calls. r=froydnj 2020-08-07 07:49:47 +00:00
kiss_fft
libaom Bug 1585470 - Remove duplicate cpu-features.c definition when building GV without webrtc r=glandium 2020-07-09 19:10:34 +00:00
libcubeb Bug 1598148 - P2: Update cubeb to a971bf1. r=kinetik 2020-07-09 09:10:46 +00:00
libdav1d Bug 1656141 - Remove dav1d.rc. r=achronop 2020-08-06 22:52:04 +00:00
libjpeg
libmkv
libnestegg
libogg
libopus Bug 1652675 - Define OPUS_ARM_MAY_HAVE_NEON{,_INTR} on non-android non-windows aarch64. r=kinetik 2020-07-15 22:07:50 +00:00
libpng
libsoundtouch
libspeex_resampler
libtheora
libtremor
libvorbis Bug 1463915 - Update libvorbis to 1.3.7. r=jya 2020-07-24 00:25:08 +00:00
libvpx
libwebp
libyuv
mp4parse-rust Bug 1646936 - Generate a single metadata file in the objdir, and feed it to cbindgen. r=glandium 2020-06-26 10:41:26 +00:00
mtransport Bug 1657582 - Add nsIDNSAddrRecord interface r=necko-reviewers,geckoview-reviewers,snorp,mixedpuppy,dragana 2020-08-12 10:49:39 +00:00
openmax_dl
openmax_il/il112
psshparser
webrtc Bug 1650696 - P4. Remove the expectation for a MediaDataDecoder to work on a specified TaskQueue. r=jolin 2020-08-17 23:52:21 +00:00
moz.build
update-libjpeg.sh