Make ICCProfile no longer store a ColorSpace directly
Make ICCProfile store the primaries and transfer function that it read or computed directly, rather than storing a ColorSpace object. Construct the ColorSpace object when requested, rather than storing it. Store an approximate (or guessed) primary matrix and transfer function for ICC_BASED ColorSpace objects. When computing the parametric approximation of an ICC_BASED ColorSpace object, use these values directly, rather than having to look them up from original ICCProfile. Bug: 766736 Change-Id: I21d6dfaa38706f814f6c9dd54517806e99366113 Reviewed-on: https://chromium-review.googlesource.com/745311Reviewed-by:Fredrik Hubinette <hubbe@chromium.org> Commit-Queue: ccameron <ccameron@chromium.org> Cr-Commit-Position: refs/heads/master@{#512958}
Showing
This diff is collapsed.
Please register or sign in to comment