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

Unified Diff: cc/ipc/quads.mojom

Issue 2773103002: cc: Unify all sources of color space for YUVVideoDrawQuad (Closed)
Patch Set: Created 3 years, 9 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 | « cc/ipc/cc_param_traits_unittest.cc ('k') | cc/ipc/quads_struct_traits.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/ipc/quads.mojom
diff --git a/cc/ipc/quads.mojom b/cc/ipc/quads.mojom
index 5ec7e45fca14a41a71f25810028e2002fb1dba96..3acf8339bb08a4a007937dc897b253c6d8f16d2b 100644
--- a/cc/ipc/quads.mojom
+++ b/cc/ipc/quads.mojom
@@ -83,12 +83,6 @@ struct TileQuadState {
bool nearest_neighbor;
};
-enum YUVColorSpace {
- REC_601, // SDTV standard with restricted "studio swing" color range.
- REC_709, // HDTV standard with restricted "studio swing" color range.
- JPEG, // Full color range [0, 255] JPEG color space.
-};
-
struct YUVVideoQuadState {
gfx.mojom.RectF ya_tex_coord_rect;
gfx.mojom.RectF uv_tex_coord_rect;
@@ -98,7 +92,6 @@ struct YUVVideoQuadState {
uint32 u_plane_resource_id;
uint32 v_plane_resource_id;
uint32 a_plane_resource_id;
- YUVColorSpace color_space;
float resource_offset;
float resource_multiplier;
uint32 bits_per_channel;
« no previous file with comments | « cc/ipc/cc_param_traits_unittest.cc ('k') | cc/ipc/quads_struct_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698