Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1234)

Unified Diff: media/mojo/interfaces/media_types.mojom

Issue 2799843002: Implement Mojo IPC for media::VideoColorSpace (Closed)
Patch Set: Fixed the year in comment Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/mojo/common/media_type_converters_unittest.cc ('k') | media/mojo/interfaces/typemaps.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « media/mojo/common/media_type_converters_unittest.cc ('k') | media/mojo/interfaces/typemaps.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698