projects
/
OpenColorIO-Configs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b05a106
)
Remove redundant parentheses.
author
Thomas Mansencal
<thomas.mansencal@gmail.com>
Wed, 29 Jul 2015 11:50:01 +0000
(23:50 +1200)
committer
Thomas Mansencal
<thomas.mansencal@gmail.com>
Wed, 29 Jul 2015 11:50:01 +0000
(23:50 +1200)
aces_1.0.0/python/aces_ocio/colorspaces/aces.py
patch
|
blob
|
history
aces_1.0.0/python/aces_ocio/colorspaces/gopro.py
patch
|
blob
|
history
aces_1.0.0/python/aces_ocio/colorspaces/panasonic.py
patch
|
blob
|
history
diff --git
a/aces_1.0.0/python/aces_ocio/colorspaces/aces.py
b/aces_1.0.0/python/aces_ocio/colorspaces/aces.py
index
5996b43
..
e16e5fe
100644
(file)
--- a/
aces_1.0.0/python/aces_ocio/colorspaces/aces.py
+++ b/
aces_1.0.0/python/aces_ocio/colorspaces/aces.py
@@
-1274,7
+1274,7
@@
def create_ODTs(aces_ctl_directory,
'Output Transform': cs_full}
"""
- return
(colorspaces, displays)
+ return
colorspaces, displays
def get_transform_info(ctl_transform):
diff --git
a/aces_1.0.0/python/aces_ocio/colorspaces/gopro.py
b/aces_1.0.0/python/aces_ocio/colorspaces/gopro.py
index
f44dde2
..
af660e4
100644
(file)
--- a/
aces_1.0.0/python/aces_ocio/colorspaces/gopro.py
+++ b/
aces_1.0.0/python/aces_ocio/colorspaces/gopro.py
@@
-72,7
+72,7
@@
def create_protune(gamut,
c1 = 113.0
c2 = 1.0
c3 = 112.0
- linear = ((pow(c1,
(normalized_code_value)
) - c2) / c3)
+ linear = ((pow(c1,
normalized_code_value
) - c2) / c3)
return linear
diff --git
a/aces_1.0.0/python/aces_ocio/colorspaces/panasonic.py
b/aces_1.0.0/python/aces_ocio/colorspaces/panasonic.py
index
9dd16f7
..
72365ed
100644
(file)
--- a/
aces_1.0.0/python/aces_ocio/colorspaces/panasonic.py
+++ b/
aces_1.0.0/python/aces_ocio/colorspaces/panasonic.py
@@
-71,7
+71,7
@@
def create_v_log(gamut,
c = 0.241514
d = 0.598206
- if
(x <= cut_inv)
:
+ if
x <= cut_inv
:
return (x - 0.125) / 5.6
else:
return pow(10, (x - d) / c) - b