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 Bug 1616736 - P2. Update ffmpeg copy to 4.2. r=jolin 2020-03-04 22:18:34 +00:00
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 Bug 1607379 - Update libjpeg-turbo to 2.0.4. r=aosmond 2020-01-07 12:12:52 +00:00
libmkv
libnestegg
libogg Bug 1625876 - Port libOgg usage code in the OGGDemuxer to use the RLBox API r=padenot 2020-04-22 11:41:42 +00:00
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 Bug 1588233 - Follow-up: Update moz.yaml for the 2.1.2 update. r=chunmin 2020-01-09 23:19:35 +00:00
libspeex_resampler
libtheora
libtremor
libvorbis Bug 1463915 - Update libvorbis to 1.3.7. r=jya 2020-07-24 00:25:08 +00:00
libvpx Bug 1622013 - Build *_mmx.c files with -mmmx in bundled libvpx; r=bryce 2020-04-13 15:34:42 +00:00
libwebp Bug 1618288 - Remove header that should not have been added. 2020-02-26 18:55:20 +00:00
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 Bug 1609996 - Reorder some includes affected by the previous patches. r=froydnj 2020-01-20 16:19:48 +00:00
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