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

Issue 1214343002: [qcms] Keep the output of the TRC between 0 and 1 (Closed)

Created:
5 years, 5 months ago by Noel Gordon
Modified:
5 years, 5 months ago
Reviewers:
robert.bradford
CC:
chromium-reviews, Ken Russell (switch to Gerrit)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[qcms] Keep the output of the TRC between 0 and 1 Section 10.16: The domain and range of each function shall be [0,0 1,0]. Any function value outside the range shall be clipped to the range of the function. https://bugzilla.mozilla.org/show_bug.cgi?id=764181 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel,mac_blink_rel,win_blink_rel BUG=498321 Committed: https://crrev.com/9491f8683c4f4f3e2211e77fba08d6ec524218fc Cr-Commit-Position: refs/heads/master@{#337189}

Patch Set 1 : #

Total comments: 17

Patch Set 2 : Rebase to HEAD. #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -21 lines) Patch
M third_party/qcms/README.chromium View 1 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/qcms/src/transform_util.h View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/qcms/src/transform_util.c View 5 chunks +34 lines, -19 lines 3 comments Download

Messages

Total messages: 53 (10 generated)
Noel Gordon
5 years, 5 months ago (2015-06-30 15:08:26 UTC) #2
Noel Gordon
Another one I noticed we don't have when I was reviewing your other qcms changed.
5 years, 5 months ago (2015-06-30 15:10:54 UTC) #3
Noel Gordon
.. or change even.
5 years, 5 months ago (2015-06-30 15:12:46 UTC) #4
Noel Gordon
5 years, 5 months ago (2015-06-30 17:28:25 UTC) #6
Matt Giuca
Hi Noel, It looks like there are some minor discrepancies between the upstream patch (https://hg.mozilla.org/mozilla-central/rev/a41fd66f1245) ...
5 years, 5 months ago (2015-07-01 01:47:00 UTC) #7
Noel Gordon
On 2015/07/01 01:47:00, Matt Giuca wrote: > Hi Noel, > > It looks like there ...
5 years, 5 months ago (2015-07-01 03:47:44 UTC) #8
Noel Gordon
https://codereview.chromium.org/1214343002/diff/20001/third_party/qcms/src/transform_util.h File third_party/qcms/src/transform_util.h (right): https://codereview.chromium.org/1214343002/diff/20001/third_party/qcms/src/transform_util.h#newcode34 third_party/qcms/src/transform_util.h:34: float lut_interp_linear(double input_value, uint16_t *table, size_t length); On 2015/07/01 ...
5 years, 5 months ago (2015-07-01 03:48:54 UTC) #9
Noel Gordon
https://codereview.chromium.org/1214343002/diff/20001/third_party/qcms/src/transform_util.c File third_party/qcms/src/transform_util.c (right): https://codereview.chromium.org/1214343002/diff/20001/third_party/qcms/src/transform_util.c#newcode39 third_party/qcms/src/transform_util.c:39: // the output range of this function is 0..1 ...
5 years, 5 months ago (2015-07-01 04:12:23 UTC) #10
Matt Giuca
> What is the canonical upstream? Answ: a pita as you noted when you changed ...
5 years, 5 months ago (2015-07-01 04:14:48 UTC) #11
Matt Giuca
https://codereview.chromium.org/1214343002/diff/20001/third_party/qcms/README.chromium File third_party/qcms/README.chromium (right): https://codereview.chromium.org/1214343002/diff/20001/third_party/qcms/README.chromium#newcode84 third_party/qcms/README.chromium:84: - Apply Keep the output of the TRC between ...
5 years, 5 months ago (2015-07-01 04:30:18 UTC) #12
Noel Gordon
On 2015/07/01 04:14:48, Matt Giuca wrote: > > What is the canonical upstream? Answ: a ...
5 years, 5 months ago (2015-07-01 04:35:51 UTC) #13
Noel Gordon
https://codereview.chromium.org/1214343002/diff/20001/third_party/qcms/README.chromium File third_party/qcms/README.chromium (right): https://codereview.chromium.org/1214343002/diff/20001/third_party/qcms/README.chromium#newcode84 third_party/qcms/README.chromium:84: - Apply Keep the output of the TRC between ...
5 years, 5 months ago (2015-07-01 04:44:27 UTC) #14
Noel Gordon
Rebased, running dry run trys again to verify there is no changes in behavior in ...
5 years, 5 months ago (2015-07-01 05:09:17 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1214343002/40001
5 years, 5 months ago (2015-07-01 05:09:30 UTC) #17
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/61335)
5 years, 5 months ago (2015-07-01 06:29:50 UTC) #19
Noel Gordon
Four mac reflection tests change, the changes look fine to me https://storage.googleapis.com/chromium-layout-test-archives/mac_blink_rel/61337/layout-test-results/results.html
5 years, 5 months ago (2015-07-01 06:41:05 UTC) #20
Matt Giuca
On 2015/07/01 04:35:51, noel gordon wrote: > > At this point, I'm considering moz hg ...
5 years, 5 months ago (2015-07-01 07:10:50 UTC) #21
Noel Gordon
On 2015/07/01 06:41:05, noel gordon wrote: > Four mac reflection tests change, the changes look ...
5 years, 5 months ago (2015-07-01 09:10:45 UTC) #22
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1214343002/40001
5 years, 5 months ago (2015-07-01 09:11:14 UTC) #24
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 5 months ago (2015-07-01 09:38:25 UTC) #26
Noel Gordon
> On 2015/07/01 04:35:51, noel gordon wrote: > > > At this point, I'm considering ...
5 years, 5 months ago (2015-07-01 11:10:47 UTC) #27
Noel Gordon
On 2015/07/01 09:38:25, commit-bot: I haz the power wrote: > Dry run: This issue passed ...
5 years, 5 months ago (2015-07-01 11:27:54 UTC) #28
Noel Gordon
5 years, 5 months ago (2015-07-01 11:28:16 UTC) #30
robert.bradford
https://codereview.chromium.org/1214343002/diff/40001/third_party/qcms/src/transform_util.c File third_party/qcms/src/transform_util.c (right): https://codereview.chromium.org/1214343002/diff/40001/third_party/qcms/src/transform_util.c#newcode131 third_party/qcms/src/transform_util.c:131: gamma_table[i] = pow(i/255., gamma_float); I don't think we need ...
5 years, 5 months ago (2015-07-01 12:10:50 UTC) #31
robert.bradford
On 2015/07/01 12:10:50, robert.bradford wrote: > https://codereview.chromium.org/1214343002/diff/40001/third_party/qcms/src/transform_util.c > File third_party/qcms/src/transform_util.c (right): > > https://codereview.chromium.org/1214343002/diff/40001/third_party/qcms/src/transform_util.c#newcode131 > ...
5 years, 5 months ago (2015-07-01 14:59:41 UTC) #32
Noel Gordon
Was a good question though and thanks for the data, Robert. Perf is currently good ...
5 years, 5 months ago (2015-07-01 16:20:53 UTC) #33
Noel Gordon
On 2015/07/01 14:59:41, robert.bradford wrote: > Scratch that. I just did some runs of this ...
5 years, 5 months ago (2015-07-01 16:36:44 UTC) #34
robert.bradford
On 2015/07/01 16:36:44, noel gordon wrote: > On 2015/07/01 14:59:41, robert.bradford wrote: > > Scratch ...
5 years, 5 months ago (2015-07-01 17:26:59 UTC) #35
Matt Giuca
OK it sounds like your position on this is that third_party/qcms is no longer synced ...
5 years, 5 months ago (2015-07-02 00:52:10 UTC) #36
Noel Gordon
On 2015/07/01 17:26:59, robert.bradford wrote: > On 2015/07/01 16:36:44, noel gordon wrote: > > On ...
5 years, 5 months ago (2015-07-02 04:45:04 UTC) #37
Noel Gordon
On 2015/07/02 00:52:10, Matt Giuca wrote: > OK it sounds like your position on this ...
5 years, 5 months ago (2015-07-02 05:26:07 UTC) #38
Noel Gordon
On 2015/07/02 00:52:10, Matt Giuca wrote: > On 2015/07/01 11:10:47, noel gordon wrote: > > ...
5 years, 5 months ago (2015-07-02 05:28:01 UTC) #39
Noel Gordon
On 2015/07/02 00:52:10, Matt Giuca wrote: > OK it sounds like your position on this ...
5 years, 5 months ago (2015-07-02 05:33:06 UTC) #40
Noel Gordon
On 2015/07/02 00:52:10, Matt Giuca wrote: No questions in the remainder.
5 years, 5 months ago (2015-07-02 05:43:39 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1214343002/40001
5 years, 5 months ago (2015-07-02 05:44:08 UTC) #43
Noel Gordon
On 2015/07/01 14:59:41, robert.bradford wrote: > so lgtm. Thanks.
5 years, 5 months ago (2015-07-02 05:44:16 UTC) #44
Noel Gordon
https://codereview.chromium.org/1214343002/diff/40001/third_party/qcms/src/transform_util.c File third_party/qcms/src/transform_util.c (right): https://codereview.chromium.org/1214343002/diff/40001/third_party/qcms/src/transform_util.c#newcode131 third_party/qcms/src/transform_util.c:131: gamma_table[i] = pow(i/255., gamma_float); On 2015/07/01 12:10:50, robert.bradford wrote: ...
5 years, 5 months ago (2015-07-02 05:51:49 UTC) #45
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/26569)
5 years, 5 months ago (2015-07-02 06:08:42 UTC) #47
Noel Gordon
On 2015/07/02 06:08:42, commit-bot: I haz the power wrote: > Try jobs failed on following ...
5 years, 5 months ago (2015-07-02 07:02:22 UTC) #48
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1214343002/40001
5 years, 5 months ago (2015-07-02 07:29:10 UTC) #50
commit-bot: I haz the power
Committed patchset #2 (id:40001)
5 years, 5 months ago (2015-07-02 08:09:34 UTC) #51
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/9491f8683c4f4f3e2211e77fba08d6ec524218fc Cr-Commit-Position: refs/heads/master@{#337189}
5 years, 5 months ago (2015-07-02 08:10:24 UTC) #52
Noel Gordon
5 years, 5 months ago (2015-07-07 08:00:55 UTC) #53
Message was sent while issue was closed.
Sad fact of life: we should focus on the code ...

https://codereview.chromium.org/1214343002/diff/40001/third_party/qcms/src/tr...
File third_party/qcms/src/transform_util.c (right):

https://codereview.chromium.org/1214343002/diff/40001/third_party/qcms/src/tr...
third_party/qcms/src/transform_util.c:194: if (X >= interval) {
Oh and spot the bug: interval is a float on 0.0 .. 1.0 and X is a size_t on
[0..255].  I mean, what could possibly go wrong?

Powered by Google App Engine
This is Rietveld 408576698