1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 include GraphicsMessages;
7 include protocol PRemoteDecoderManager;
8 include protocol PVideoBridge;
10 using mozilla::dom::ContentParentId from "mozilla/dom/ipc/IdType.h";
11 using mozilla::media::MediaCodecsSupported from "MediaCodecsSupport.h";
12 using mozilla::RemoteDecodeIn from "mozilla/RemoteDecoderManagerChild.h";
15 using mozilla::MFCDMCapabilitiesIPDL from "mozilla/PMFCDM.h";
22 // This protocol allows to run media audio decoding infrastructure on top
23 // of the Utility process
24 [ParentProc=Utility, ChildProc=Parent]
25 protocol PUtilityAudioDecoder
28 async NewContentRemoteDecoderManager(
29 Endpoint<PRemoteDecoderManagerParent> endpoint, ContentParentId parentId);
31 #ifdef MOZ_WMF_MEDIA_ENGINE
32 async InitVideoBridge(Endpoint<PVideoBridgeChild> endpoint,
33 ContentDeviceData contentDeviceData);
35 async UpdateVar(GfxVarUpdate var);
39 async GetKeySystemCapabilities() returns (MFCDMCapabilitiesIPDL[] result);
41 async UpdateWidevineL1Path(nsString path);
45 async UpdateMediaCodecsSupported(RemoteDecodeIn aLocation,
46 MediaCodecsSupported aSupported);
48 #ifdef MOZ_WMF_MEDIA_ENGINE
49 async CompleteCreatedVideoBridge();
56 } // namespace mozilla