Color Management: Use OCIO's built-in function for sRGB color space

Use OCIO's built-in functionality for sRGB which allows to have un-clipped
range of the input colors. The lookup tables are now removed.

Should be no functional changes on the user side.
However, it is possible that this change does not preserve exact per-pixel
value due to difference in precision.

Ref #110685

Pull Request: https://projects.blender.org/blender/blender/pulls/110712
This commit is contained in:
Zijun Zhou 2023-08-07 17:52:29 +02:00 committed by Sergey Sharybin
parent 0a80543f1e
commit f5e567b4a8
3 changed files with 1 additions and 131136 deletions

@ -114,8 +114,7 @@ colorspaces:
description: |
sRGB display space
isdata: false
to_reference: !<FileTransform> {src: srgb.spi1d, interpolation: linear}
from_reference: !<FileTransform> {src: srgb_inv.spi1d, interpolation: linear}
from_reference: !<ExponentWithLinearTransform> {gamma: 2.4, offset: 0.055, direction: inverse}
- !<ColorSpace>
name: Non-Color

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff