Skip to content

Commit e22b467

Browse files
authored
Add CG config CLF source (#37)
* Add Doug's CG config CLF generation code Signed-off-by: Michael Dolan <[email protected]> * Set up package requirements Signed-off-by: Michael Dolan <[email protected]> * Fix linting errors Signed-off-by: Michael Dolan <[email protected]> * Fix linting errors Signed-off-by: Michael Dolan <[email protected]>
1 parent dce864a commit e22b467

15 files changed

+355
-386
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SPDX-License-Identifier: BSD-3-Clause
22
# Copyright Contributors to the OpenColorIO Project.
33

4-
from .common import generate_clf
4+
from .utility import generate_clf
55

66
__all__ = ['generate_clf']

opencolorio_config_aces/clf/transforms/aces.py

Lines changed: 0 additions & 171 deletions
This file was deleted.

opencolorio_config_aces/clf/transforms/common.py

Lines changed: 0 additions & 175 deletions
This file was deleted.

opencolorio_config_aces/clf/transforms/ocio/utility/OCIO.Utility.AP0_to_AP1-Gamma2.2.clf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
<OutputDescriptor>2.2 gamma-corrected AP1 primaries, D60 white point</OutputDescriptor>
55
<Matrix inBitDepth="32f" outBitDepth="32f">
66
<Array dim="3 3">
7-
1.45143931614567 -0.23651074689374 -0.214928569251925
8-
-0.0765537733960203 1.17622969983357 -0.0996759264375522
9-
0.00831614842569772 -0.00603244979102103 0.997716301365324
7+
1.45143931607166 -0.23651074688936 -0.214928569308364
8+
-0.0765537733142628 1.17622969981179 -0.0996759264503605
9+
0.00831614842496078 -0.0060324497909093 0.997716301412982
1010
</Array>
1111
</Matrix>
12-
<Exponent inBitDepth="32f" outBitDepth="32f" style="basicRev">
12+
<Exponent inBitDepth="32f" outBitDepth="32f" style="basicPassThruRev">
1313
<ExponentParams exponent="2.2" />
1414
</Exponent>
1515
</ProcessList>

opencolorio_config_aces/clf/transforms/ocio/utility/OCIO.Utility.AP0_to_P3-D65-Linear.clf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
<OutputDescriptor>linear P3 primaries, D65 white point</OutputDescriptor>
55
<Matrix inBitDepth="32f" outBitDepth="32f">
66
<Array dim="3 3">
7-
2.02490528596678 -0.689069761034766 -0.335835524932019
8-
-0.183597032256177 1.28950620775902 -0.105909175502841
9-
0.00905856112234765 -0.0592796840575522 1.0502211229352
7+
2.02490528583951 -0.689069761022005 -0.335835525009256
8+
-0.18359703216255 1.28950620773514 -0.105909175513408
9+
0.00905856111801875 -0.0592796840564543 1.05022112298584
1010
</Array>
1111
</Matrix>
1212
</ProcessList>

opencolorio_config_aces/clf/transforms/ocio/utility/OCIO.Utility.AP0_to_Rec2020-Linear.clf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
<OutputDescriptor>linear Rec.2020 primaries, D65 white point</OutputDescriptor>
55
<Matrix inBitDepth="32f" outBitDepth="32f">
66
<Array dim="3 3">
7-
1.49040952054172 -0.26617091926613 -0.224238601275593
8-
-0.0801674998722558 1.18216712109757 -0.10199962122531
9-
0.00322763119162215 -0.0347764757450576 1.03154884455344
7+
1.49040952046417 -0.2661709192612 -0.224238601333507
8+
-0.080167499789956 1.18216712107567 -0.101999621238164
9+
0.00322763118916624 -0.0347764757444135 1.03154884460315
1010
</Array>
1111
</Matrix>
1212
</ProcessList>

0 commit comments

Comments
 (0)