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

Unified Diff: ui/gfx/color_transform.cc

Issue 2333663003: Add color metadata info to VideoDecoderConfig. (Closed)
Patch Set: Move webm-specific structure to webm parser 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
« ui/gfx/color_space.h ('K') | « ui/gfx/color_space.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/color_transform.cc
diff --git a/ui/gfx/color_transform.cc b/ui/gfx/color_transform.cc
index aeddd4cdb7d1d08cfbfc17a8aaebdd8508844dd6..a7a2b1fab2abe75be687316a2c4f5845b7dcc349 100644
--- a/ui/gfx/color_transform.cc
+++ b/ui/gfx/color_transform.cc
@@ -492,8 +492,10 @@ Transform GetRangeAdjustMatrix(ColorSpace::RangeID range,
ColorSpace::MatrixID matrix) {
switch (range) {
case ColorSpace::RangeID::FULL:
+ case ColorSpace::RangeID::UNSPECIFIED:
return Transform();
+ case ColorSpace::RangeID::DERIVED:
hubbe 2016/09/15 17:25:52 Also update color_transform_unittests.cc
servolk 2016/09/15 20:29:04 Done.
case ColorSpace::RangeID::LIMITED:
break;
}
« ui/gfx/color_space.h ('K') | « ui/gfx/color_space.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698