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

Issue 2263233003: More robust check for sRGB gamma tables (Closed)

Created:
4 years, 4 months ago by msarett
Modified:
4 years, 4 months ago
Reviewers:
Brian Osman, mtklein
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

More robust check for sRGB gamma tables This is in response to a UMA showing that 5% dst gammas are unidentified tables. We want to see if some of these tables should be marked as sRGB. https://uma.googleplex.com/p/chrome/histograms?endDate=latest&dayCount=1&histograms=Blink.ColorSpace.Destination&fixupData=true&showMax=true&filters=isofficial%2Ceq%2CTrue&implicitFilters=isofficial This check is not fast. If we find that it doesn't help us recognize sRGB curves, we should delete it. BUG=skia:5656 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2263233003 Committed: https://skia.googlesource.com/skia/+/4ff08df15a8042cdb4fc90a82e1044847d0de300

Patch Set 1 #

Total comments: 2

Patch Set 2 : Clarify logic #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -3 lines) Patch
M src/core/SkColorSpace_ICC.cpp View 1 2 chunks +37 lines, -3 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 17 (10 generated)
msarett
4 years, 4 months ago (2016-08-22 18:24:46 UTC) #5
mtklein
https://codereview.chromium.org/2263233003/diff/40001/src/core/SkColorSpace_ICC.cpp File src/core/SkColorSpace_ICC.cpp (right): https://codereview.chromium.org/2263233003/diff/40001/src/core/SkColorSpace_ICC.cpp#newcode390 src/core/SkColorSpace_ICC.cpp:390: uint16_t srgbY = sk_float_round2int(SkFloatToFixed(srgb_fn(x))); wtf
4 years, 4 months ago (2016-08-22 20:27:59 UTC) #6
msarett
https://codereview.chromium.org/2263233003/diff/40001/src/core/SkColorSpace_ICC.cpp File src/core/SkColorSpace_ICC.cpp (right): https://codereview.chromium.org/2263233003/diff/40001/src/core/SkColorSpace_ICC.cpp#newcode390 src/core/SkColorSpace_ICC.cpp:390: uint16_t srgbY = sk_float_round2int(SkFloatToFixed(srgb_fn(x))); On 2016/08/22 20:27:59, mtklein wrote: ...
4 years, 4 months ago (2016-08-22 21:15:39 UTC) #7
mtklein
oh thank you yes lgtm
4 years, 4 months ago (2016-08-22 21:36:00 UTC) #8
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/2263233003/60001
4 years, 4 months ago (2016-08-22 21:58:01 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:60001) as https://skia.googlesource.com/skia/+/4ff08df15a8042cdb4fc90a82e1044847d0de300
4 years, 4 months ago (2016-08-22 21:58:59 UTC) #16
msarett
4 years, 3 months ago (2016-09-06 20:25:19 UTC) #17
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:60001) has been created in
https://codereview.chromium.org/2315863003/ by msarett@google.com.

The reason for reverting is: From the previous commit message:
"This check is not fast.  If we find that it doesn't help
us recognize sRGB curves, we should delete it."

Turns out it doesn't help.  Looks to me like the tables are not sRGB..

Powered by Google App Engine
This is Rietveld 408576698