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

Unified Diff: ui/gfx/color_space.h

Issue 2747083006: Fix HDR LUTs (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/output/color_lut_cache.cc ('k') | ui/gfx/color_space.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/color_space.h
diff --git a/ui/gfx/color_space.h b/ui/gfx/color_space.h
index 8a05ba0e2bb77df195a89fa22f549b3d29d1dd33..0331be7ad31ae16ddb8b7adfd49e31ae30db566f 100644
--- a/ui/gfx/color_space.h
+++ b/ui/gfx/color_space.h
@@ -155,7 +155,10 @@ class GFX_EXPORT ColorSpace {
bool operator<(const ColorSpace& other) const;
std::string ToString() const;
+ // Returns true if the decoded values can be outside of the 0.0-1.0 range.
bool IsHDR() const;
+ // Returns true if the encoded values can be outside of the 0.0-1.0 range.
+ bool FullRangeEncodedValues() const;
// Return this color space with any range adjust or YUV to RGB conversion
// stripped off.
« no previous file with comments | « cc/output/color_lut_cache.cc ('k') | ui/gfx/color_space.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698