naiveproxy/components/arc/common/video.mojom

39 lines
1.1 KiB
Plaintext
Raw Normal View History

2018-02-02 13:49:39 +03:00
// Copyright 2016 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.
// Next MinVersion: 6
module arc.mojom;
import "video_decode_accelerator.mojom";
import "video_encode_accelerator.mojom";
// Deprecated method IDs: 0
// Next method ID: 2
interface VideoHost {
// Requests an IPC channel from Chrome's browser process to bootstrap a new
// mojo child process and a token which can be used to create a message pipe
// connected to a new VideoAcceleratorFactory.
[MinVersion=4]
OnBootstrapVideoAcceleratorFactory@1() => (handle channel_handle,
string token);
};
// Next method ID: 2
interface VideoInstance {
// DEPRECATED: Please use Init@1 instead.
InitDeprecated@0(VideoHost host_ptr);
// Establishes full-duplex communication with the host.
[MinVersion=5] Init@1(VideoHost host_ptr) => ();
};
// Next method ID: 2
interface VideoAcceleratorFactory {
CreateDecodeAccelerator@0(VideoDecodeAccelerator& decoder);
[MinVersion=1]
CreateEncodeAccelerator@1(VideoEncodeAccelerator& encoder);
};