Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 }; | |
| OLD | NEW |