| Index: media/mojo/interfaces/media_types.mojom
|
| diff --git a/media/mojo/interfaces/media_types.mojom b/media/mojo/interfaces/media_types.mojom
|
| index bd9100306c8aeb7696e0a9caed5fb81aaa7b6e7c..ae20147a8916685914fde8a4c8c376756f3d1262 100644
|
| --- a/media/mojo/interfaces/media_types.mojom
|
| +++ b/media/mojo/interfaces/media_types.mojom
|
| @@ -65,6 +65,27 @@ struct EncryptionScheme {
|
| Pattern pattern;
|
| };
|
|
|
| +// This defines a mojo transport format for media::VideoColorSpace.
|
| +// See media/base/video_color_space.h for description.
|
| +struct VideoColorSpace {
|
| + [Native]
|
| + enum PrimaryID;
|
| +
|
| + [Native]
|
| + enum TransferID;
|
| +
|
| + [Native]
|
| + enum MatrixID;
|
| +
|
| + [Native]
|
| + enum RangeID;
|
| +
|
| + PrimaryID primaries;
|
| + TransferID transfer;
|
| + MatrixID matrix;
|
| + RangeID range;
|
| +};
|
| +
|
| // This defines a mojo transport format for media::AudioDecoderConfig.
|
| // See media/base/audio_decoder_config.h for descriptions.
|
| struct AudioDecoderConfig {
|
| @@ -90,6 +111,7 @@ struct VideoDecoderConfig {
|
| gfx.mojom.Size natural_size;
|
| array<uint8> extra_data;
|
| EncryptionScheme encryption_scheme;
|
| + VideoColorSpace color_space_info;
|
| };
|
|
|
| // Native struct media::SubsampleEntry;
|
|
|