Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(263)

Side by Side Diff: components/arc/common/video.mojom

Issue 1641353003: GpuArcVideoService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@arc-4-owen-ArcGpuVideoDecodeAccelerator
Patch Set: addressed Owen's comments Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module arc; 5 module arc;
6 6
7 interface VideoHost { 7 interface VideoHost {
8 // Notifies Chrome a request for ipc channel of video acceleration. 8 // Requests an ipc channel from Chrome to be used in the video accelerator.
9 OnRequestArcVideoAcceleratorChannel() => (handle channel_handle); 9 // |pid| is the id of mojo child process.
10 // Replys |channel_handle| of mojo initial message pipe and |token| for
Luis Héctor Chávez 2016/03/16 19:07:55 nit: s/Replys/Replies with/
kcwu 2016/03/17 08:07:44 Done.
11 // creating the client end of VideoAcceleratorService message pipe.
12 // Replys invalid handle and empty token if any failure.
13 OnRequestArcVideoAcceleratorChannel(uint32 pid) => (handle channel_handle,
14 string token);
10 }; 15 };
11 16
12 interface VideoInstance { 17 interface VideoInstance {
13 // Establishes full-duplex communication with the host. 18 // Establishes full-duplex communication with the host.
14 Init(VideoHost host_ptr); 19 Init(VideoHost host_ptr);
15 }; 20 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698