Index: ui/gfx/color_space.h |
diff --git a/ui/gfx/color_space.h b/ui/gfx/color_space.h |
index ce02b0aa1b6eb20285884f4040aba5d0bb3701c1..eef81bae21ec977d9f0592b459bd9b0b6d9050ff 100644 |
--- a/ui/gfx/color_space.h |
+++ b/ui/gfx/color_space.h |
@@ -116,15 +116,19 @@ class GFX_EXPORT ColorSpace { |
LAST = UNKNOWN, |
}; |
- // The h264 spec declares this as bool, so only the the first two values |
- // correspond to the h264 spec. Chrome-specific values can start at 2. |
+ // The h264 spec declares this as bool, so only the the LIMITED/FULL values |
+ // correspond to the h264 spec. Chrome-specific values can start at 3. |
danakj
2016/09/22 20:03:49
Doesn't seem to be true. 0 is chrome-specific too.
servolk
2016/09/22 20:07:56
I'd say UNSPECIFIED is a special case that is not
danakj
2016/09/22 20:30:03
Id suggest instaed to drop the first 2 sentences o
servolk
2016/09/22 20:59:47
If feel like the current comment is rightly there,
servolk
2016/09/22 21:09:56
Ok, I've tried to improve comments here in the lat
|
// 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 |
danakj
2016/09/22 20:30:03
please use punctuation for comments, they are sent
servolk
2016/09/22 20:59:47
Done.
|
+ DERIVED = 3, |
+ |
+ LAST = DERIVED |
}; |
ColorSpace(); |