gecko-dev/dom/media/ipc
Jean-Yves Avenard c938c7416c Bug 1674043 - P6. Remove sync PDecoderMananger::Supports API. r=mattwoodrow,bryce,mjf,ipc-reviewers,nika
In bug 1595994 we attempted to streamline the ability to determine which decoder was available regardless of the process they would be running in. This was subsequently done via the PDMFactory.

As there are several JS API that can query which codec are supported, it requires a synchronous mechanism.
This allowed to make a determination during the PlatformDecoderModule::Supports call, depending on which process it was going to be called frome.

Having a synchronous IPC call to the RemoteDecoderManagerParent has too many caveats to be workable.
So what we do instead is first determine at launch if the required external framework are available and pass this information to each content process.

When checking if a decoder is available, we make a best guess at determining if the PDM would support such codec, without actually loading such framework when running in the content process.

Supports can no longer make a decision based on the process currently running and as such PDM::CreateAudio/VideoDecoder using an optional system framework now need to further check the validity of the CreateDecoderParam argument.

Differential Revision: https://phabricator.services.mozilla.com/D95245
2020-11-04 02:22:33 +00:00
..
IRemoteDecoderChild.h
MediaIPCUtils.h Bug 1595994 - P7: Add Supports messages to PRemoteDecoderManager. r=kamidphish,nika,ipc-reviewers 2020-10-20 23:26:27 +00:00
PMediaDecoderParams.ipdlh Bug 1648309 - P3. Use ArrayOfRemoteMediaRawData inplace of an actual array. r=padenot,mjf 2020-09-29 04:39:21 +00:00
PRDD.ipdl Bug 1595994 - PD: Allow WMF decoding inside RDD process. r=mattwoodrow 2020-10-20 23:26:52 +00:00
PRemoteDecoder.ipdl Bug 1648309 - P4. Add ArrayOfRemoteAudioData and use it. r=mjf,padenot 2020-09-29 05:02:40 +00:00
PRemoteDecoderManager.ipdl Bug 1674043 - P6. Remove sync PDecoderMananger::Supports API. r=mattwoodrow,bryce,mjf,ipc-reviewers,nika 2020-11-04 02:22:33 +00:00
RDDChild.cpp Bug 1595994 - P13. Enable ffvpx in RDD on linux. r=mattwoodrow,gcp 2020-10-20 23:28:00 +00:00
RDDChild.h Bug 1655536, part 2 - Don't wait for memory reports from child processes that no longer exist. r=froydnj 2020-08-03 18:29:45 +00:00
RDDParent.cpp Bug 1595994 - PD: Allow WMF decoding inside RDD process. r=mattwoodrow 2020-10-20 23:26:52 +00:00
RDDParent.h Bug 1595994 - PD: Allow WMF decoding inside RDD process. r=mattwoodrow 2020-10-20 23:26:52 +00:00
RDDProcessHost.cpp Bug 1595994 - P12. Allow ffvpx and the AppleDecoderModule in the RDD. r=haik,jolin 2020-10-20 23:27:52 +00:00
RDDProcessHost.h Bug 1602635 - [macOS] Remove security.sandbox.content.mac.earlyinit and the old sandbox startup code paths r=spohl 2020-03-17 18:29:03 +00:00
RDDProcessImpl.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/media. r=padenot 2020-03-04 15:39:20 +00:00
RDDProcessImpl.h
RDDProcessManager.cpp Bug 1595994 - P26. Simplify and rename RecvLaunchRDDProcess. r=mattwoodrow,nika,ipc-reviewers 2020-10-20 23:32:57 +00:00
RDDProcessManager.h Bug 1595994 - P26. Simplify and rename RecvLaunchRDDProcess. r=mattwoodrow,nika,ipc-reviewers 2020-10-20 23:32:57 +00:00
RemoteAudioDecoder.cpp Bug 1595994 - P4: Use PDMFactory to create decoders in RDD & GPU process. r=kamidphish 2020-10-20 23:24:40 +00:00
RemoteAudioDecoder.h Bug 1648309 - P4. Add ArrayOfRemoteAudioData and use it. r=mjf,padenot 2020-09-29 05:02:40 +00:00
RemoteDecoderChild.cpp Bug 1595994 - P24. Always initialize Remote Decoder Manager thread early. r=mattwoodrow 2020-10-20 23:31:11 +00:00
RemoteDecoderChild.h Bug 1648309 - P1. Add ShmemRecycleAllocator class. r=mattwoodrow 2020-09-29 04:39:06 +00:00
RemoteDecoderManagerChild.cpp Bug 1674043 - P6. Remove sync PDecoderMananger::Supports API. r=mattwoodrow,bryce,mjf,ipc-reviewers,nika 2020-11-04 02:22:33 +00:00
RemoteDecoderManagerChild.h Bug 1595994 - P25. Have launch rdd be signalled over the PBackground channel. r=mattwoodrow,nika,ipc-reviewers 2020-10-20 23:32:54 +00:00
RemoteDecoderManagerParent.cpp Bug 1674043 - P6. Remove sync PDecoderMananger::Supports API. r=mattwoodrow,bryce,mjf,ipc-reviewers,nika 2020-11-04 02:22:33 +00:00
RemoteDecoderManagerParent.h Bug 1595994 - P7: Add Supports messages to PRemoteDecoderManager. r=kamidphish,nika,ipc-reviewers 2020-10-20 23:26:27 +00:00
RemoteDecoderModule.cpp Bug 1674043 - P6. Remove sync PDecoderMananger::Supports API. r=mattwoodrow,bryce,mjf,ipc-reviewers,nika 2020-11-04 02:22:33 +00:00
RemoteDecoderModule.h Bug 1595994 - P11. Don't unnecessarily create the RemoteDecoderManagerChild thread. r=mattwoodrow 2020-10-20 23:27:36 +00:00
RemoteDecoderParent.cpp Bug 1648309 - P4. Add ArrayOfRemoteAudioData and use it. r=mjf,padenot 2020-09-29 05:02:40 +00:00
RemoteDecoderParent.h Bug 1648309 - P4. Add ArrayOfRemoteAudioData and use it. r=mjf,padenot 2020-09-29 05:02:40 +00:00
RemoteImageHolder.cpp Bug 1595994 - P1D. Properly serialize display size when sending image over IPC. r=mattwoodrow 2020-10-20 23:30:04 +00:00
RemoteImageHolder.h Bug 1595994 - P16. Handle NullData object potentially returned by the video decoders. r=mattwoodrow 2020-10-20 23:28:32 +00:00
RemoteMediaData.cpp Bug 1595994 - P1F. Additional checks to ensure we always abort decode if shutdown. r=mattwoodrow 2020-10-20 23:30:26 +00:00
RemoteMediaData.h Bug 1648309 - P4. Add ArrayOfRemoteAudioData and use it. r=mjf,padenot 2020-09-29 05:02:40 +00:00
RemoteMediaDataDecoder.cpp Bug 1595994 - P22. Show in which process decoding occurs in media devtools. r=mattwoodrow 2020-10-20 23:30:50 +00:00
RemoteMediaDataDecoder.h Bug 1595994 - P2: Make RemoteDecoderManagerChild responsible for creation of remote decoders. r=kamidphish,mattwoodrow 2020-10-20 23:23:58 +00:00
RemoteVideoDecoder.cpp Bug 1595994 - P1B. Make WMF DXVA decoding work in the RDD process. r=mattwoodrow 2020-10-20 23:29:23 +00:00
RemoteVideoDecoder.h Bug 1595994 - P7: Add Supports messages to PRemoteDecoderManager. r=kamidphish,nika,ipc-reviewers 2020-10-20 23:26:27 +00:00
ShmemRecycleAllocator.h Bug 1648309 - P1. Add ShmemRecycleAllocator class. r=mattwoodrow 2020-09-29 04:39:06 +00:00
moz.build Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00