[qcms] Add matrix transform flag and matrix extraction api
commitaac0a90fac9ff1deef5a5a49ec16a5f509a9a1fa
authornoel <noel@chromium.org>
Wed, 27 May 2015 18:45:14 +0000 (27 11:45 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 27 May 2015 18:45:48 +0000 (27 18:45 +0000)
treef241cded125ab06a648ec54223fa9837648f77b4
parente3672cf3212cdb6ea2d58b272a181b3b2e1d3059
[qcms] Add matrix transform flag and matrix extraction api

When a color transform is matrix-based (transforms using ICC V2 profiles
are commonly matrix-based), flag the color transform struct as matrix at
creation-time. Add an api to query if a color transform is matrix and an
api to extract the color transform matrix in row major order.

BUG=491826

Review URL: https://codereview.chromium.org/1155033003

Cr-Commit-Position: refs/heads/master@{#331615}
third_party/qcms/README.chromium
third_party/qcms/src/qcms.h
third_party/qcms/src/qcmsint.h
third_party/qcms/src/transform.c