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

Unified Diff: ui/gfx/color_space.h

Issue 2300813002: First cut at making HDR content viewable on SDR display with color management. (Closed)
Patch Set: comment update Created 4 years, 4 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 | « no previous file | ui/gfx/color_transform.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 247e641d7825d6fce38cddee4ad5e5baf91c4e4d..b7b93786a55309b9e54596ab68498093c01a4d19 100644
--- a/ui/gfx/color_space.h
+++ b/ui/gfx/color_space.h
@@ -74,8 +74,13 @@ class GFX_EXPORT ColorSpace {
// Chrome-specific values start at 1000.
GAMMA24 = 1000,
+ // This is an ad-hoc transfer function that decodes SMPTE 2084 content
+ // into a 0-1 range more or less suitable for viewing on a non-hdr
+ // display.
+ SMPTEST2084_NON_HDR,
+
// TODO(hubbe): Need to store an approximation of the gamma function(s).
- CUSTOM = 1001,
+ CUSTOM,
LAST = CUSTOM,
};
« no previous file with comments | « no previous file | ui/gfx/color_transform.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698