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

Issue 1923873002: [qcms] Make build_output_lut output 4096 points for parametric curves (Closed)

Created:
4 years, 7 months ago by radu.velea
Modified:
4 years, 7 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] Make build_output_lut output 4096 points for parametric curves build_output_lut inverts a gamma table. Make it return 4096 points for para curves to provide better accuracy. Update the test to down-sample the output curve data to the size of the input gamma table. Write the input and output curve data results to a CSV output file. Update the gamma table size asserts(): the input and output gamma table sizes of para curves might not be the same. The most we know is they are >= 256 points (assert that). BUG=600338 Committed: https://crrev.com/4b0e97ee4cb19560b5857a53fcd19018846ec697 Cr-Commit-Position: refs/heads/master@{#390402}

Patch Set 1 #

Patch Set 2 : Expand input and output tables to 4096 #

Patch Set 3 : Updated output table and sampled output data #

Patch Set 4 : Readme #

Patch Set 5 : Reordered declarations #

Total comments: 20

Patch Set 6 : Added asserts and renamed variables #

Total comments: 4

Patch Set 7 : #

Total comments: 4

Patch Set 8 : Nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -35 lines) Patch
M third_party/qcms/README.chromium View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/qcms/src/tests/qcms_test_output_trc.c View 1 2 3 4 5 6 7 6 chunks +32 lines, -31 lines 0 comments Download
M third_party/qcms/src/transform_util.c View 1 2 3 4 5 2 chunks +1 line, -4 lines 0 comments Download

Messages

Total messages: 31 (20 generated)
Noel Gordon
https://codereview.chromium.org/1923873002/diff/80001/third_party/qcms/README.chromium File third_party/qcms/README.chromium (right): https://codereview.chromium.org/1923873002/diff/80001/third_party/qcms/README.chromium#newcode154 third_party/qcms/README.chromium:154: - Changed size of output gamma LUT for parametric ...
4 years, 7 months ago (2016-04-28 07:30:27 UTC) #6
radu.velea
https://codereview.chromium.org/1923873002/diff/80001/third_party/qcms/README.chromium File third_party/qcms/README.chromium (right): https://codereview.chromium.org/1923873002/diff/80001/third_party/qcms/README.chromium#newcode154 third_party/qcms/README.chromium:154: - Changed size of output gamma LUT for parametric ...
4 years, 7 months ago (2016-04-28 08:17:25 UTC) #8
Noel Gordon
https://codereview.chromium.org/1923873002/diff/100001/third_party/qcms/src/tests/qcms_test_output_trc.c File third_party/qcms/src/tests/qcms_test_output_trc.c (right): https://codereview.chromium.org/1923873002/diff/100001/third_party/qcms/src/tests/qcms_test_output_trc.c#newcode172 third_party/qcms/src/tests/qcms_test_output_trc.c:172: size_t out_index = (size_t)floor( i * scale_factor + 0.5); ...
4 years, 7 months ago (2016-04-28 08:26:45 UTC) #9
radu.velea
https://codereview.chromium.org/1923873002/diff/100001/third_party/qcms/src/tests/qcms_test_output_trc.c File third_party/qcms/src/tests/qcms_test_output_trc.c (right): https://codereview.chromium.org/1923873002/diff/100001/third_party/qcms/src/tests/qcms_test_output_trc.c#newcode172 third_party/qcms/src/tests/qcms_test_output_trc.c:172: size_t out_index = (size_t)floor( i * scale_factor + 0.5); ...
4 years, 7 months ago (2016-04-28 08:33:45 UTC) #10
Noel Gordon
LGTM with nits. Also, I will dry-run this. https://codereview.chromium.org/1923873002/diff/120001/third_party/qcms/src/tests/qcms_test_output_trc.c File third_party/qcms/src/tests/qcms_test_output_trc.c (right): https://codereview.chromium.org/1923873002/diff/120001/third_party/qcms/src/tests/qcms_test_output_trc.c#newcode118 third_party/qcms/src/tests/qcms_test_output_trc.c:118: printf("LUT ...
4 years, 7 months ago (2016-04-28 10:28:40 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1923873002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1923873002/120001
4 years, 7 months ago (2016-04-28 10:29:08 UTC) #13
radu.velea
https://codereview.chromium.org/1923873002/diff/120001/third_party/qcms/src/tests/qcms_test_output_trc.c File third_party/qcms/src/tests/qcms_test_output_trc.c (right): https://codereview.chromium.org/1923873002/diff/120001/third_party/qcms/src/tests/qcms_test_output_trc.c#newcode118 third_party/qcms/src/tests/qcms_test_output_trc.c:118: printf("LUT size = %zu\n", output_size); On 2016/04/28 10:28:40, noel ...
4 years, 7 months ago (2016-04-28 10:54:53 UTC) #22
Noel Gordon
LGTM. Due to the current GN/GYP compiler checking issues on landing (trys green, but main ...
4 years, 7 months ago (2016-04-28 13:28:13 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1923873002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1923873002/140001
4 years, 7 months ago (2016-04-28 13:28:34 UTC) #25
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 7 months ago (2016-04-28 16:21:54 UTC) #29
commit-bot: I haz the power
4 years, 7 months ago (2016-04-30 17:19:06 UTC) #30
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/4b0e97ee4cb19560b5857a53fcd19018846ec697
Cr-Commit-Position: refs/heads/master@{#390402}

Powered by Google App Engine
This is Rietveld 408576698