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

Issue 1779163002: [qcms] Update primaries used to build internal sRGB profile (Closed)

Created:
4 years, 9 months ago by radu.velea
Modified:
4 years, 8 months ago
Reviewers:
Noel Gordon
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[qcms] Update primaries used to build internal sRGB profile Before this change: Test qcms internal sRGB primaries against official sRGB IEC61966-2.1 profile (D50) primaries -14 11 -4 -8 10 -2 0 3 -17 Total error = 0x45 [0.001053], and an RMS white point error of 0.000031 compared to the ICC spec PCS D50 white point. Update the XYZ primaries used to construct the internal sRGB profile, found after iterating through many different sources of the sRGB XYZ primaries (refer to spreadsheet added to the bug for details). Update qcms_test_internal_srgb to check if the internal sRGB profile is bogus. Also display it's media white point and the difference (error) from the expected D65 XYZ: Test media white point against expected D65 XYZ values: Internal values = [0xF351, 0x10000, 0x116CC] White point error = [0, 0, 0] Also test the internal sRGB profile PCS white point: compute the profile white point in xyY, then compare to the ICC spec PCS D50 in xyY: Test PCS white point error Profile White point test: xyY [ 0.345703 0.358538 1.000 ] White point error: 0.000001 BUG=580917 Committed: https://crrev.com/4371edbc78a477a0c13947adea0137b7aed86b29 Cr-Commit-Position: refs/heads/master@{#383696}

Patch Set 1 #

Total comments: 12

Patch Set 2 : Added internal profile bogus test. Fix D50 -> D65 #

Total comments: 20

Patch Set 3 : Changed print messages and comments #

Total comments: 8

Patch Set 4 : Changed Tabs to Spaces #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : Updated TestExpectations #

Patch Set 9 : Rebase #

Patch Set 10 : Rebase 2 #

Total comments: 3

Patch Set 11 : Update with values from http://brucelindbloom.com/ #

Patch Set 12 : Replaced primaries with values from ninedegreesbelow.com; Updated internal test #

Patch Set 13 : Adjust indentation #

Patch Set 14 : Update TestExpectations after testing with ninedegreesbelow primaries #

Total comments: 8

Patch Set 15 : Fix comment #

Total comments: 3

Patch Set 16 : Created auxliary test function. NeedsManualRebaseline -> NeedsRebaseline #

Total comments: 7

Patch Set 17 : Update Readme #

Total comments: 2

Patch Set 18 : Add helper functions #

Total comments: 10

Patch Set 19 : Moved printfs, added comments, removed newlines #

Unified diffs Side-by-side diffs Delta from patch set Stats (+258 lines, -55 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +78 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/whitespace.txt View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/qcms/README.chromium View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/qcms/src/iccread.c View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +63 lines, -10 lines 0 comments Download
M third_party/qcms/src/tests/qcms_test_internal_srgb.c View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +113 lines, -43 lines 0 comments Download

Messages

Total messages: 65 (28 generated)
radu.velea
https://codereview.chromium.org/1779163002/diff/1/third_party/qcms/src/iccread.c File third_party/qcms/src/iccread.c (right): https://codereview.chromium.org/1779163002/diff/1/third_party/qcms/src/iccread.c#newcode1206 third_party/qcms/src/iccread.c:1206: /*unused*/ qcms_profile* qcms_profile_create_rgb_with_table( I think there are a lot ...
4 years, 9 months ago (2016-03-10 15:08:32 UTC) #5
Noel Gordon
https://codereview.chromium.org/1779163002/diff/1/third_party/qcms/src/iccread.c File third_party/qcms/src/iccread.c (right): https://codereview.chromium.org/1779163002/diff/1/third_party/qcms/src/iccread.c#newcode1206 third_party/qcms/src/iccread.c:1206: /*unused*/ qcms_profile* qcms_profile_create_rgb_with_table( On 2016/03/10 15:08:32, radu.velea wrote: > ...
4 years, 9 months ago (2016-03-11 13:53:48 UTC) #6
Noel Gordon
Re the ChangeLog: does the test harness report the media white points?
4 years, 9 months ago (2016-03-11 13:55:12 UTC) #7
radu.velea
https://codereview.chromium.org/1779163002/diff/1/third_party/qcms/src/iccread.c File third_party/qcms/src/iccread.c (right): https://codereview.chromium.org/1779163002/diff/1/third_party/qcms/src/iccread.c#newcode1206 third_party/qcms/src/iccread.c:1206: /*unused*/ qcms_profile* qcms_profile_create_rgb_with_table( On 2016/03/11 13:53:48, noel gordon wrote: ...
4 years, 9 months ago (2016-03-11 14:59:58 UTC) #9
Noel Gordon
https://codereview.chromium.org/1779163002/diff/20001/third_party/qcms/src/iccread.c File third_party/qcms/src/iccread.c (right): https://codereview.chromium.org/1779163002/diff/20001/third_party/qcms/src/iccread.c#newcode1294 third_party/qcms/src/iccread.c:1294: // Standard Illuminant D65 in XYZ coordinates, which is ...
4 years, 9 months ago (2016-03-11 15:19:21 UTC) #11
Noel Gordon
https://codereview.chromium.org/1779163002/diff/20001/third_party/qcms/src/iccread.c File third_party/qcms/src/iccread.c (right): https://codereview.chromium.org/1779163002/diff/20001/third_party/qcms/src/iccread.c#newcode1293 third_party/qcms/src/iccread.c:1293: int num_entries = 1024; remove this. https://codereview.chromium.org/1779163002/diff/20001/third_party/qcms/src/iccread.c#newcode1307 third_party/qcms/src/iccread.c:1307: table ...
4 years, 9 months ago (2016-03-11 15:20:44 UTC) #12
radu.velea
https://codereview.chromium.org/1779163002/diff/20001/third_party/qcms/src/iccread.c File third_party/qcms/src/iccread.c (right): https://codereview.chromium.org/1779163002/diff/20001/third_party/qcms/src/iccread.c#newcode1293 third_party/qcms/src/iccread.c:1293: int num_entries = 1024; On 2016/03/11 15:20:44, noel gordon ...
4 years, 9 months ago (2016-03-11 15:32:02 UTC) #13
Noel Gordon
nits. https://codereview.chromium.org/1779163002/diff/40001/third_party/qcms/src/iccread.c File third_party/qcms/src/iccread.c (right): https://codereview.chromium.org/1779163002/diff/40001/third_party/qcms/src/iccread.c#newcode1297 third_party/qcms/src/iccread.c:1297: 0xf351, 0x10000, 0x116cc // ( 0.950455, 1.000000, 1.089050 ...
4 years, 9 months ago (2016-03-11 15:45:08 UTC) #14
radu.velea
https://codereview.chromium.org/1779163002/diff/40001/third_party/qcms/src/iccread.c File third_party/qcms/src/iccread.c (right): https://codereview.chromium.org/1779163002/diff/40001/third_party/qcms/src/iccread.c#newcode1297 third_party/qcms/src/iccread.c:1297: 0xf351, 0x10000, 0x116cc // ( 0.950455, 1.000000, 1.089050 ) ...
4 years, 9 months ago (2016-03-11 15:55:21 UTC) #15
Noel Gordon
With those done, add the whitespace.txt so we run webkit tests (expect their would be ...
4 years, 9 months ago (2016-03-11 16:09:45 UTC) #16
Noel Gordon
LGTM.
4 years, 9 months ago (2016-03-11 16:20:10 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1779163002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1779163002/120001
4 years, 9 months ago (2016-03-11 16:21:10 UTC) #19
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/129740)
4 years, 9 months ago (2016-03-11 17:08:17 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1779163002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1779163002/180001
4 years, 9 months ago (2016-03-14 14:45:34 UTC) #23
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/156735)
4 years, 9 months ago (2016-03-14 14:53:41 UTC) #25
Noel Gordon
https://codereview.chromium.org/1779163002/diff/180001/third_party/qcms/src/iccread.c File third_party/qcms/src/iccread.c (right): https://codereview.chromium.org/1779163002/diff/180001/third_party/qcms/src/iccread.c#newcode1306 third_party/qcms/src/iccread.c:1306: }; What were the values produced for this matrix ...
4 years, 9 months ago (2016-03-14 21:31:37 UTC) #26
Noel Gordon
https://codereview.chromium.org/1779163002/diff/180001/third_party/qcms/src/iccread.c File third_party/qcms/src/iccread.c (right): https://codereview.chromium.org/1779163002/diff/180001/third_party/qcms/src/iccread.c#newcode1306 third_party/qcms/src/iccread.c:1306: }; On 2016/03/14 21:31:37, noel gordon wrote: > What ...
4 years, 9 months ago (2016-03-14 22:34:07 UTC) #27
radu.velea
https://codereview.chromium.org/1779163002/diff/180001/third_party/qcms/src/iccread.c File third_party/qcms/src/iccread.c (right): https://codereview.chromium.org/1779163002/diff/180001/third_party/qcms/src/iccread.c#newcode1306 third_party/qcms/src/iccread.c:1306: }; On 2016/03/14 21:31:37, noel gordon wrote: > What ...
4 years, 9 months ago (2016-03-15 14:50:28 UTC) #28
radu.velea
On 2016/03/15 14:50:28, radu.velea wrote: > https://codereview.chromium.org/1779163002/diff/180001/third_party/qcms/src/iccread.c > File third_party/qcms/src/iccread.c (right): > > https://codereview.chromium.org/1779163002/diff/180001/third_party/qcms/src/iccread.c#newcode1306 > ...
4 years, 9 months ago (2016-03-15 14:51:48 UTC) #29
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1779163002/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1779163002/240001
4 years, 9 months ago (2016-03-21 16:11:56 UTC) #31
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/199625)
4 years, 9 months ago (2016-03-21 17:14:07 UTC) #33
Noel Gordon
https://codereview.chromium.org/1779163002/diff/260001/third_party/qcms/src/iccread.c File third_party/qcms/src/iccread.c (right): https://codereview.chromium.org/1779163002/diff/260001/third_party/qcms/src/iccread.c#newcode1302 third_party/qcms/src/iccread.c:1302: // For details, refer to crbug/580917 Comment is not ...
4 years, 9 months ago (2016-03-25 09:43:11 UTC) #37
Noel Gordon
https://codereview.chromium.org/1779163002/diff/280001/third_party/WebKit/LayoutTests/TestExpectations File third_party/WebKit/LayoutTests/TestExpectations (right): https://codereview.chromium.org/1779163002/diff/280001/third_party/WebKit/LayoutTests/TestExpectations#newcode306 third_party/WebKit/LayoutTests/TestExpectations:306: crbug.com/580917 compositing/color-matching/image-color-matching.html [ NeedsManualRebaseline ] NeedsManualRebaseline -> NeedsRebaseline
4 years, 9 months ago (2016-03-25 09:48:33 UTC) #38
radu.velea
https://codereview.chromium.org/1779163002/diff/260001/third_party/qcms/src/iccread.c File third_party/qcms/src/iccread.c (right): https://codereview.chromium.org/1779163002/diff/260001/third_party/qcms/src/iccread.c#newcode1302 third_party/qcms/src/iccread.c:1302: // For details, refer to crbug/580917 On 2016/03/25 09:43:11, ...
4 years, 9 months ago (2016-03-25 10:02:50 UTC) #41
Noel Gordon
https://codereview.chromium.org/1779163002/diff/300001/third_party/qcms/README.chromium File third_party/qcms/README.chromium (right): https://codereview.chromium.org/1779163002/diff/300001/third_party/qcms/README.chromium#newcode146 third_party/qcms/README.chromium:146: - Built internal sRGB profile from official D50 colorants ...
4 years, 9 months ago (2016-03-25 10:21:57 UTC) #44
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1779163002/320001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1779163002/320001
4 years, 9 months ago (2016-03-25 10:22:50 UTC) #46
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-25 11:26:49 UTC) #48
Noel Gordon
https://codereview.chromium.org/1779163002/diff/320001/third_party/qcms/src/tests/qcms_test_internal_srgb.c File third_party/qcms/src/tests/qcms_test_internal_srgb.c (right): https://codereview.chromium.org/1779163002/diff/320001/third_party/qcms/src/tests/qcms_test_internal_srgb.c#newcode72 third_party/qcms/src/tests/qcms_test_internal_srgb.c:72: printf("Test qcms internal sRGB color primaries against sRGB IEC61966-2.1 ...
4 years, 9 months ago (2016-03-26 03:53:40 UTC) #50
radu.velea
https://codereview.chromium.org/1779163002/diff/320001/third_party/qcms/src/tests/qcms_test_internal_srgb.c File third_party/qcms/src/tests/qcms_test_internal_srgb.c (right): https://codereview.chromium.org/1779163002/diff/320001/third_party/qcms/src/tests/qcms_test_internal_srgb.c#newcode72 third_party/qcms/src/tests/qcms_test_internal_srgb.c:72: printf("Test qcms internal sRGB color primaries against sRGB IEC61966-2.1 ...
4 years, 8 months ago (2016-03-28 07:57:32 UTC) #51
Noel Gordon
On 2016/03/25 10:21:57, noel gordon wrote: > https://codereview.chromium.org/1779163002/diff/300001/third_party/qcms/src/tests/qcms_test_internal_srgb.c#newcode44 > third_party/qcms/src/tests/qcms_test_internal_srgb.c:44: printf("Profile White > point test: ...
4 years, 8 months ago (2016-03-28 20:53:52 UTC) #52
Noel Gordon
... plus other final nits. Please fix them all and go ahead and submit. https://codereview.chromium.org/1779163002/diff/340001/third_party/qcms/src/tests/qcms_test_internal_srgb.c ...
4 years, 8 months ago (2016-03-28 20:55:56 UTC) #53
radu.velea
https://codereview.chromium.org/1779163002/diff/300001/third_party/qcms/src/tests/qcms_test_internal_srgb.c File third_party/qcms/src/tests/qcms_test_internal_srgb.c (right): https://codereview.chromium.org/1779163002/diff/300001/third_party/qcms/src/tests/qcms_test_internal_srgb.c#newcode44 third_party/qcms/src/tests/qcms_test_internal_srgb.c:44: printf("Profile White point test: xyY [ %.6f %.6f %.6f ...
4 years, 8 months ago (2016-03-29 08:44:27 UTC) #54
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1779163002/360001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1779163002/360001
4 years, 8 months ago (2016-03-29 08:47:04 UTC) #56
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-03-29 10:11:53 UTC) #58
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1779163002/360001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1779163002/360001
4 years, 8 months ago (2016-03-29 10:14:31 UTC) #61
commit-bot: I haz the power
Committed patchset #19 (id:360001)
4 years, 8 months ago (2016-03-29 10:18:44 UTC) #63
commit-bot: I haz the power
4 years, 8 months ago (2016-03-29 10:19:52 UTC) #65
Message was sent while issue was closed.
Patchset 19 (id:??) landed as
https://crrev.com/4371edbc78a477a0c13947adea0137b7aed86b29
Cr-Commit-Position: refs/heads/master@{#383696}

Powered by Google App Engine
This is Rietveld 408576698