OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 media.mojom; | 5 module media.mojom; |
6 | 6 |
7 import "media/mojo/interfaces/media_types.mojom"; | 7 import "media/mojo/interfaces/media_types.mojom"; |
8 import "mojo/common/time.mojom"; | 8 import "mojo/common/time.mojom"; |
9 import "ui/gfx/geometry/mojo/geometry.mojom"; | 9 import "ui/gfx/geometry/mojo/geometry.mojom"; |
10 | 10 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 // decode status. |bitstream_buffer_id| is the id of BitstreamBuffer | 50 // decode status. |bitstream_buffer_id| is the id of BitstreamBuffer |
51 // |input_buffer| and |error| is the error code. | 51 // |input_buffer| and |error| is the error code. |
52 Decode(BitstreamBuffer input_buffer, gfx.mojom.Size coded_size, | 52 Decode(BitstreamBuffer input_buffer, gfx.mojom.Size coded_size, |
53 handle<shared_buffer> output_handle, uint32 output_buffer_size) | 53 handle<shared_buffer> output_handle, uint32 output_buffer_size) |
54 => (int32 bitstream_buffer_id, Error error); | 54 => (int32 bitstream_buffer_id, Error error); |
55 | 55 |
56 // TODO(c.padhi): This method might not be required, see | 56 // TODO(c.padhi): This method might not be required, see |
57 // http://crbug.com/699255. | 57 // http://crbug.com/699255. |
58 Uninitialize(); | 58 Uninitialize(); |
59 }; | 59 }; |
OLD | NEW |