| Index: mojo/services/public/interfaces/surfaces/quads.mojom
|
| diff --git a/mojo/services/public/interfaces/surfaces/quads.mojom b/mojo/services/public/interfaces/surfaces/quads.mojom
|
| index 5b83d6a4042f50f8efc1d1663f520ee7b9ec56cc..6fa279059c47a5835b1326defd6308a55e85d4bb 100644
|
| --- a/mojo/services/public/interfaces/surfaces/quads.mojom
|
| +++ b/mojo/services/public/interfaces/surfaces/quads.mojom
|
| @@ -74,7 +74,19 @@ struct TileQuadState {
|
|
|
| struct StreamVideoQuadState {};
|
|
|
| -struct YUVVideoQuadState {};
|
| +enum YUVColorSpace {
|
| + REC_601, // SDTV standard with restricted "studio swing" color range.
|
| + REC_601_JPEG, // Full color range [0, 255] variant of the above.
|
| +};
|
| +
|
| +struct YUVVideoQuadState {
|
| + RectF tex_coord_rect;
|
| + uint32 y_plane_resource_id;
|
| + uint32 u_plane_resource_id;
|
| + uint32 v_plane_resource_id;
|
| + uint32 a_plane_resource_id;
|
| + YUVColorSpace color_space;
|
| +};
|
|
|
| enum Material {
|
| CHECKERBOARD = 1,
|
|
|