| Index: media/mojo/interfaces/media_types.mojom
|
| diff --git a/media/mojo/interfaces/media_types.mojom b/media/mojo/interfaces/media_types.mojom
|
| index 13f1ce23be81e97474ee64804608832faf392be6..b4f41f1b3e07eaa46c2e1b1f9a8ce1eea0c7ad57 100644
|
| --- a/media/mojo/interfaces/media_types.mojom
|
| +++ b/media/mojo/interfaces/media_types.mojom
|
| @@ -90,7 +90,7 @@ enum SampleFormat {
|
| };
|
|
|
| // See media/base/video_types.h for descriptions.
|
| -// Kept in sync with media::VideoFrame::Format via static_asserts.
|
| +// Kept in sync with media::VideoPixelFormat via static_asserts.
|
| enum VideoFormat {
|
| UNKNOWN = 0,
|
| YV12,
|
| @@ -104,6 +104,15 @@ enum VideoFormat {
|
| FORMAT_MAX = XRGB,
|
| };
|
|
|
| +// Kept in sync with media::ColorSpace via static_asserts.
|
| +enum ColorSpace {
|
| + UNSPECIFIED = 0,
|
| + JPEG = 1,
|
| + HD_REC709 = 2,
|
| + SD_REC601 = 3,
|
| + MAX = SD_REC601,
|
| +};
|
| +
|
| // See media/base/video_decoder_config.h for descriptions.
|
| // Kept in sync with media::VideoCodec via static_asserts.
|
| enum VideoCodec {
|
| @@ -164,6 +173,7 @@ struct VideoDecoderConfig {
|
| VideoCodec codec;
|
| VideoCodecProfile profile;
|
| VideoFormat format;
|
| + ColorSpace color_space;
|
| Size coded_size;
|
| Rect visible_rect;
|
| Size natural_size;
|
|
|