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

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: 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 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 {
10 // TODO(sandersd): |cdm_context|.
11 // TODO(sandersd): Return values for NeedsBitstreamConversion(), et. al.
12 Initialize(VideoDecoderClient client, handle<data_pipe_consumer> decoder_buffe r_consumer);
13
14 // TODO(sandersd): Do we need to return a failure status?
xhwang 2016/04/20 21:09:27 Yes, we should at least have the equivalent of the
sandersd (OOO until July 31) 2016/04/20 21:16:07 We do with this setup, there is a callback with no
15 Configure(VideoDecoderConfig config, bool low_delay) => ();
xhwang 2016/04/20 21:09:27 I am a bit confused here. The parameters in Initia
sandersd (OOO until July 31) 2016/04/20 21:16:07 Working on that right now, they will be passed to
16 Decode(DecoderBuffer buffer) => (DecodeStatus status);
17 Reset() => ();
18 };
19
20 interface VideoDecoderClient {
21 OnOutput(VideoFrame frame);
22 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698