| 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.mojom; | 5 module media.mojom; |
| 6 | 6 |
| 7 import "ui/gfx/geometry/mojo/geometry.mojom"; | 7 import "ui/gfx/geometry/mojo/geometry.mojom"; |
| 8 import "mojo/common/time.mojom"; | 8 import "mojo/common/time.mojom"; |
| 9 | 9 |
| 10 // See media/base/buffering_state.h for descriptions. | 10 // See media/base/buffering_state.h for descriptions. |
| 11 [Native] | 11 [Native] |
| 12 enum BufferingState; | 12 enum BufferingState; |
| 13 | 13 |
| 14 // See media/base/decode_status.h for descriptions. | 14 // See media/base/decode_status.h for descriptions. |
| 15 [Native] | 15 [Native] |
| 16 enum DecodeStatus; | 16 enum DecodeStatus; |
| 17 | 17 |
| 18 // See media/base/audio_codecs.h for descriptions. | 18 // See media/base/audio_codecs.h for descriptions. |
| 19 [Native] | 19 [Native] |
| 20 enum AudioCodec; | 20 enum AudioCodec; |
| 21 | 21 |
| 22 // See media/base/channel_layout.h for descriptions. | 22 // See media/base/channel_layout.h for descriptions. |
| 23 [Native] | 23 [Native] |
| 24 enum ChannelLayout; | 24 enum ChannelLayout; |
| 25 | 25 |
| 26 // See media/base/output_device_info.h for descriptions. |
| 27 [Native] |
| 28 enum OutputDeviceStatus; |
| 29 |
| 26 // See media/base/sample_format.h for descriptions. | 30 // See media/base/sample_format.h for descriptions. |
| 27 [Native] | 31 [Native] |
| 28 enum SampleFormat; | 32 enum SampleFormat; |
| 29 | 33 |
| 30 // See media/base/video_types.h for descriptions. | 34 // See media/base/video_types.h for descriptions. |
| 31 [Native] | 35 [Native] |
| 32 enum VideoPixelFormat; | 36 enum VideoPixelFormat; |
| 33 | 37 |
| 34 // See media/base/video_types.h for descriptions. | 38 // See media/base/video_types.h for descriptions. |
| 35 [Native] | 39 [Native] |
| 36 enum ColorSpace; | 40 enum ColorSpace; |
| 37 | 41 |
| 38 // See media/base/video_codecs.h for descriptions. | 42 // See media/base/video_codecs.h for descriptions. |
| 39 [Native] | 43 [Native] |
| 40 enum VideoCodec; | 44 enum VideoCodec; |
| 41 | 45 |
| 42 // See media/base/video_codecs.h for descriptions. | 46 // See media/base/video_codecs.h for descriptions. |
| 43 [Native] | 47 [Native] |
| 44 enum VideoCodecProfile; | 48 enum VideoCodecProfile; |
| 45 | 49 |
| 50 |
| 46 // This defines a mojo transport format for media::EncryptionScheme::Pattern | 51 // This defines a mojo transport format for media::EncryptionScheme::Pattern |
| 47 // See media/base/encryption_scheme.h for description. | 52 // See media/base/encryption_scheme.h for description. |
| 48 struct Pattern { | 53 struct Pattern { |
| 49 uint32 encrypt_blocks; | 54 uint32 encrypt_blocks; |
| 50 uint32 skip_blocks; | 55 uint32 skip_blocks; |
| 51 }; | 56 }; |
| 52 | 57 |
| 53 // This defines a mojo transport format for media::EncryptionScheme. | 58 // This defines a mojo transport format for media::EncryptionScheme. |
| 54 // See media/base/encryption_scheme.h for description. | 59 // See media/base/encryption_scheme.h for description. |
| 55 struct EncryptionScheme { | 60 struct EncryptionScheme { |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 }; | 197 }; |
| 193 | 198 |
| 194 struct PipelineStatistics { | 199 struct PipelineStatistics { |
| 195 uint64 audio_bytes_decoded; | 200 uint64 audio_bytes_decoded; |
| 196 uint64 video_bytes_decoded; | 201 uint64 video_bytes_decoded; |
| 197 uint32 video_frames_decoded; | 202 uint32 video_frames_decoded; |
| 198 uint32 video_frames_dropped; | 203 uint32 video_frames_dropped; |
| 199 int64 audio_memory_usage; | 204 int64 audio_memory_usage; |
| 200 int64 video_memory_usage; | 205 int64 video_memory_usage; |
| 201 }; | 206 }; |
| OLD | NEW |