naiveproxy/services/ws/public/mojom/arc.mojom

26 lines
1.0 KiB
Plaintext
Raw Normal View History

2018-12-10 05:59:24 +03:00
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
module ws.mojom;
import "components/arc/common/protected_buffer_manager.mojom";
import "components/arc/common/video_decode_accelerator.mojom";
import "components/arc/common/video_encode_accelerator.mojom";
import "components/arc/common/video_protected_buffer_allocator.mojom";
interface Arc {
// Create a new VideoDecodeAccelerator and binds it to |vda|.
CreateVideoDecodeAccelerator(arc.mojom.VideoDecodeAccelerator& vda);
// Create a new VideoEncodeAccelerator and binds it to |vea|.
CreateVideoEncodeAccelerator(arc.mojom.VideoEncodeAccelerator& vea);
// Create a new VideoProtectedBufferAllocator and binds it to |pba|.
CreateVideoProtectedBufferAllocator(
arc.mojom.VideoProtectedBufferAllocator& pba);
// Create a new ProtectedBufferManager and binds it to |pbm|.
CreateProtectedBufferManager(arc.mojom.ProtectedBufferManager& pbm);
};