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

Issue 2784673006: color: Do not enforce T(0)=0 and T(1)=1 constraints in approxmation (Closed)

Created:
3 years, 8 months ago by ccameron
Modified:
3 years, 8 months ago
Reviewers:
msarett1
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

color: Do not enforce T(0)=0 and T(1)=1 constraints in approxmation Enforcing these constraints can end up giving us an inaccurate approximation, as some transfer functions overshoot T(1). BUG=703966 Review-Url: https://codereview.chromium.org/2784673006 Cr-Commit-Position: refs/heads/master@{#461203} Committed: https://chromium.googlesource.com/chromium/src/+/95f83c51ade772da4b9d9aa8b1a6c40ad696a897

Patch Set 1 #

Patch Set 2 : Leave error bound unchanged #

Patch Set 3 : Fix the right error bound #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1030 lines, -93 lines) Patch
M ui/gfx/color_space_unittest.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M ui/gfx/icc_profile.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/gfx/icc_profile.cc View 2 2 chunks +2 lines, -1 line 0 comments Download
M ui/gfx/icc_profile_unittest.cc View 1 chunk +24 lines, -10 lines 0 comments Download
M ui/gfx/skia_color_space_util.cc View 9 chunks +143 lines, -80 lines 0 comments Download
M ui/gfx/test/icc_profiles.h View 1 chunk +3 lines, -0 lines 0 comments Download
M ui/gfx/test/icc_profiles.cc View 2 chunks +854 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (16 generated)
ccameron
This returns us to the old behavior. I like the idea of enforcing continuity ...
3 years, 8 months ago (2017-03-29 22:34:42 UTC) #3
msarett1
I don't really like this. Though I guess it's "safe" as long as we clamp. ...
3 years, 8 months ago (2017-03-30 22:55:52 UTC) #4
ccameron
Thanks. Yeah, I'm not 100% certain on how to handle this. I think that the ...
3 years, 8 months ago (2017-03-30 23:48:53 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2784673006/1
3 years, 8 months ago (2017-03-30 23:49:41 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/352146)
3 years, 8 months ago (2017-03-31 00:26:51 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2784673006/40001
3 years, 8 months ago (2017-03-31 20:04:39 UTC) #20
commit-bot: I haz the power
3 years, 8 months ago (2017-03-31 20:17:04 UTC) #23
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/95f83c51ade772da4b9d9aa8b1a6...

Powered by Google App Engine
This is Rietveld 408576698