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

Unified 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, 8 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 side-by-side diff with in-line comments
Download patch
Index: media/mojo/interfaces/video_decoder.mojom
diff --git a/media/mojo/interfaces/video_decoder.mojom b/media/mojo/interfaces/video_decoder.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..57afd6228f3f63e0db5c12e6167f18c04e2c8d12
--- /dev/null
+++ b/media/mojo/interfaces/video_decoder.mojom
@@ -0,0 +1,19 @@
+// 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.
+
+module media.interfaces;
+
+import "media/mojo/interfaces/media_types.mojom";
+
+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.
+ Initialize(VideoDecoderClient client,
+ handle<data_pipe_consumer> decoder_buffer_pipe);
+ 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
+ Decode(DecoderBuffer buffer) => (DecodeStatus status);
+ Reset() => ();
+};
+
+interface VideoDecoderClient {
+ OnVideoFrameDecoded(VideoFrame frame);
+};

Powered by Google App Engine
This is Rietveld 408576698