| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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.interfaces; | 5 module media.mojom; |
| 6 | 6 |
| 7 import "ui/mojo/geometry/geometry.mojom"; | 7 import "ui/mojo/geometry/geometry.mojom"; |
| 8 | 8 |
| 9 // See media/base/buffering_state.h for descriptions. | 9 // See media/base/buffering_state.h for descriptions. |
| 10 // Kept in sync with media::BufferingState via static_asserts. | 10 // Kept in sync with media::BufferingState via static_asserts. |
| 11 enum BufferingState { | 11 enum BufferingState { |
| 12 HAVE_NOTHING, | 12 HAVE_NOTHING, |
| 13 HAVE_ENOUGH, | 13 HAVE_ENOUGH, |
| 14 }; | 14 }; |
| 15 | 15 |
| (...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 322 | 322 |
| 323 // Stride and offsets for each plane. Offsets are relative to the start | 323 // Stride and offsets for each plane. Offsets are relative to the start |
| 324 // of |frame_data|. | 324 // of |frame_data|. |
| 325 int32 y_stride; | 325 int32 y_stride; |
| 326 int32 u_stride; | 326 int32 u_stride; |
| 327 int32 v_stride; | 327 int32 v_stride; |
| 328 uint64 y_offset; | 328 uint64 y_offset; |
| 329 uint64 u_offset; | 329 uint64 u_offset; |
| 330 uint64 v_offset; | 330 uint64 v_offset; |
| 331 }; | 331 }; |
| OLD | NEW |