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::media::MediaCodecsSupported from "MediaCodecsSupport.h";
11 using mozilla::RemoteDecodeIn from "mozilla/RemoteDecoderManagerChild.h";
17 // This protocol allows to run media audio decoding infrastructure on top
18 // of the Utility process
19 protocol PUtilityAudioDecoder
22 async NewContentRemoteDecoderManager(
23 Endpoint<PRemoteDecoderManagerParent> endpoint);
25 #ifdef MOZ_WMF_MEDIA_ENGINE
26 async InitVideoBridge(Endpoint<PVideoBridgeChild> endpoint,
27 GfxVarUpdate[] updates,
28 ContentDeviceData contentDeviceData);
30 async UpdateVar(GfxVarUpdate var);
34 async UpdateMediaCodecsSupported(RemoteDecodeIn aLocation,
35 MediaCodecsSupported aSupported);
37 #ifdef MOZ_WMF_MEDIA_ENGINE
38 async CompleteCreatedVideoBridge();
45 } // namespace mozilla