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

Unified Diff: ui/gfx/color_space.h

Issue 2333663003: Add color metadata info to VideoDecoderConfig. (Closed)
Patch Set: Remove resolution-based init for color_space_info_ Created 4 years, 3 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
Index: ui/gfx/color_space.h
diff --git a/ui/gfx/color_space.h b/ui/gfx/color_space.h
index 9c4a7f57002f9064e66874f50c96a6b3ee5bd663..556df025b9cbcc5524b6c25ac08602cc8f8ec741 100644
--- a/ui/gfx/color_space.h
+++ b/ui/gfx/color_space.h
@@ -109,10 +109,14 @@ class GFX_EXPORT ColorSpace {
// We use an enum instead of a bool becuase different bit depths may have
// different definitions of what "limited" means.
enum class RangeID : int8_t {
- FULL = 0,
+ UNSPECIFIED = 0,
LIMITED = 1,
+ FULL = 2,
- LAST = LIMITED
+ // Defined by TransferID/MatrixID
+ DERIVED = 3,
+
+ LAST = DERIVED
};
ColorSpace();

Powered by Google App Engine
This is Rietveld 408576698