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

Side by Side Diff: media/mojo/interfaces/video_decoder.mojom

Issue 1899363002: Finish plumbing MojoVideoDecoder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and strip down. Created 4 years, 7 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
(Empty)
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
3 // found in the LICENSE file.
4
5 module media.interfaces;
6
7 import "media/mojo/interfaces/media_types.mojom";
8
9 interface VideoDecoder {
xhwang 2016/05/05 17:26:37 Please add comments for these new interfaces.
sandersd (OOO until July 31) 2016/05/06 01:23:55 Done.
10 Initialize(VideoDecoderClient client,
11 handle<data_pipe_consumer> decoder_buffer_pipe);
12 Configure(VideoDecoderConfig config, bool low_delay) => (bool success);
xhwang 2016/05/05 17:26:37 What's the plan around this? For now (to commit it
sandersd (OOO until July 31) 2016/05/06 01:23:55 I don't think it makes sense to merge them, and I
xhwang 2016/05/06 17:44:44 I don't remember why we had them separate (there w
sandersd (OOO until July 31) 2016/05/06 18:01:54 I would rather start a discussion about renaming m
13 Decode(DecoderBuffer buffer) => (DecodeStatus status);
14 Reset() => ();
15 };
16
17 interface VideoDecoderClient {
18 OnVideoFrameDecoded(VideoFrame frame);
19 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698