Replace gamma=1.961 ICC profile with kCGColorSpaceSRGB constant
This avoids re-parsing the ICC profile in the GPU process. The drawback is that we go back to the behavior that we had (just a few weeks ago) of ignoring the custom color profile for capture content. Of note is that specifying AVCaptureColorSpace_sRGB to the capturer results in the same gamma=1.961 color space (with the sRGB primaries). Also of note is that the alternative constant of kCGColorSpaceITUR_709 is not used because it has a substantial difference from gamma=1.961 in darker colors. Bug: 1143477, 959962 Change-Id: Id5d794ba05801cd6d54a79bd3a3f9cc292537eb2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2515235 Commit-Queue: ccameron <ccameron@chromium.org> Reviewed-by:Markus Handell <handellm@google.com> Cr-Commit-Position: refs/heads/master@{#823598}
Showing
Please register or sign in to comment