New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 615667 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner: ----
Closed: Apr 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Blocking:
issue 524919



Sign in to add a comment

[qcms] Add API to output parametric gamma curve data

Project Member Reported by noel@chromium.org, May 28 2016

Issue description

Add API to extract parametric TRC (gamma) curve data, either as raw parameters, or in [ g a b c d e f ] float data form.  Also add a routine to invert this data to
provide the inverse gamma curve.

 
Project Member

Comment 1 by bugdroid1@chromium.org, May 29 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/ec9b345e689dda821bc7cd8cf43606b1474d0ef2

commit ec9b345e689dda821bc7cd8cf43606b1474d0ef2
Author: noel <noel@chromium.org>
Date: Sun May 29 12:17:23 2016

[qcms] Add API to get parametric gamma curve data

qcms_profile_get_parametric_curve returns the parameter data
of a parametric gamma (TRC) curve. Caller must pass in the
color channel to retrieve the corresponding channel TRC.

At most 7 float parameters are returned in the user-provided
array. The return value is the number of parameters, or 0
if the profile curve is not parametric or is invalid.

Patch from issue http://crrev.com/2021533002#ps20001 by Radu
Velea. Landing it here on his behalf.

TBR=radu.velea@gmail.com
BUG= 615667 

Review-Url: https://codereview.chromium.org/2021663003
Cr-Commit-Position: refs/heads/master@{#396658}

[modify] https://crrev.com/ec9b345e689dda821bc7cd8cf43606b1474d0ef2/third_party/qcms/README.chromium
[modify] https://crrev.com/ec9b345e689dda821bc7cd8cf43606b1474d0ef2/third_party/qcms/src/qcms.h
[modify] https://crrev.com/ec9b345e689dda821bc7cd8cf43606b1474d0ef2/third_party/qcms/src/transform_util.c

Comment 2 by noel@chromium.org, May 30 2016

Some notes on TRC represented as parameters, for reference.

[1] lcms https://github.com/LuaDist/lcms/blob/master/doc/LCMSAPI.TXT 
   search for [ cmsBuildParametricGamma ]
[2] Mac OSX ColorSync http://bit.ly/1IkmQb9
   see [ Tone Rendering Curves ]

Comment 3 by noel@chromium.org, May 30 2016

 Issue 498321  has been merged into this issue.
Project Member

Comment 4 by sheriffbot@chromium.org, Jan 12 2017

Labels: Hotlist-Recharge-BouncingOwner
The assigned owner "radu.velea@intel.com" is not able to receive e-mails, please re-triage.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 5 by cda...@chromium.org, Jan 12 2017

Status: (was: Untriaged)

Comment 6 by cda...@chromium.org, Jan 12 2017

Owner: ----
Status: Untriaged

Comment 7 by noel@chromium.org, Apr 4 2017

Status: Fixed (was: Untriaged)

Sign in to add a comment