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 "gpu/ipc/common/mailbox_holder.mojom"; | 7 import "gpu/ipc/common/mailbox_holder.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 |
| 11 // See media/base/audio_codecs.h for descriptions. |
| 12 [Native] |
| 13 enum AudioCodec; |
| 14 |
11 // See media/base/buffering_state.h for descriptions. | 15 // See media/base/buffering_state.h for descriptions. |
12 [Native] | 16 [Native] |
13 enum BufferingState; | 17 enum BufferingState; |
14 | 18 |
| 19 // See media/base/channel_layout.h for descriptions. |
| 20 [Native] |
| 21 enum ChannelLayout; |
| 22 |
| 23 // See media/base/video_types.h for descriptions. |
| 24 [Native] |
| 25 enum ColorSpace; |
| 26 |
15 // See media/base/decode_status.h for descriptions. | 27 // See media/base/decode_status.h for descriptions. |
16 [Native] | 28 [Native] |
17 enum DecodeStatus; | 29 enum DecodeStatus; |
18 | 30 |
19 // See media/base/audio_codecs.h for descriptions. | 31 // See media/base/media_log_event.h for description. |
20 [Native] | 32 [Native] |
21 enum AudioCodec; | 33 struct MediaLogEvent; |
22 | |
23 // See media/base/channel_layout.h for descriptions. | |
24 [Native] | |
25 enum ChannelLayout; | |
26 | 34 |
27 // See media/base/output_device_info.h for descriptions. | 35 // See media/base/output_device_info.h for descriptions. |
28 [Native] | 36 [Native] |
29 enum OutputDeviceStatus; | 37 enum OutputDeviceStatus; |
30 | 38 |
31 // See media/base/sample_format.h for descriptions. | 39 // See media/base/sample_format.h for descriptions. |
32 [Native] | 40 [Native] |
33 enum SampleFormat; | 41 enum SampleFormat; |
34 | 42 |
35 // See media/base/video_types.h for descriptions. | |
36 [Native] | |
37 enum VideoPixelFormat; | |
38 | |
39 // See media/base/video_types.h for descriptions. | |
40 [Native] | |
41 enum ColorSpace; | |
42 | |
43 // See media/base/video_codecs.h for descriptions. | 43 // See media/base/video_codecs.h for descriptions. |
44 [Native] | 44 [Native] |
45 enum VideoCodec; | 45 enum VideoCodec; |
46 | 46 |
47 // See media/base/video_codecs.h for descriptions. | 47 // See media/base/video_codecs.h for descriptions. |
48 [Native] | 48 [Native] |
49 enum VideoCodecProfile; | 49 enum VideoCodecProfile; |
50 | 50 |
| 51 // See media/base/video_types.h for descriptions. |
| 52 [Native] |
| 53 enum VideoPixelFormat; |
| 54 |
51 // This defines a mojo transport format for media::EncryptionScheme::Pattern | 55 // This defines a mojo transport format for media::EncryptionScheme::Pattern |
52 // See media/base/encryption_scheme.h for description. | 56 // See media/base/encryption_scheme.h for description. |
53 struct Pattern { | 57 struct Pattern { |
54 uint32 encrypt_blocks; | 58 uint32 encrypt_blocks; |
55 uint32 skip_blocks; | 59 uint32 skip_blocks; |
56 }; | 60 }; |
57 | 61 |
58 // This defines a mojo transport format for media::EncryptionScheme. | 62 // This defines a mojo transport format for media::EncryptionScheme. |
59 // See media/base/encryption_scheme.h for description. | 63 // See media/base/encryption_scheme.h for description. |
60 struct EncryptionScheme { | 64 struct EncryptionScheme { |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 }; | 258 }; |
255 | 259 |
256 struct PipelineStatistics { | 260 struct PipelineStatistics { |
257 uint64 audio_bytes_decoded; | 261 uint64 audio_bytes_decoded; |
258 uint64 video_bytes_decoded; | 262 uint64 video_bytes_decoded; |
259 uint32 video_frames_decoded; | 263 uint32 video_frames_decoded; |
260 uint32 video_frames_dropped; | 264 uint32 video_frames_dropped; |
261 int64 audio_memory_usage; | 265 int64 audio_memory_usage; |
262 int64 video_memory_usage; | 266 int64 video_memory_usage; |
263 }; | 267 }; |
OLD | NEW |