projects
/
OpenColorIO-Configs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove unused locals.
[OpenColorIO-Configs.git]
/
aces_1.0.0
/
python
/
aces_ocio
/
colorspaces
/
panasonic.py
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
13f2d4d
..
2d32131
100644
(file)
--- a/
aces_1.0.0/python/aces_ocio/colorspaces/panasonic.py
+++ b/
aces_1.0.0/python/aces_ocio/colorspaces/panasonic.py
@@
-27,7
+27,6
@@
__all__ = ['create_v_log',
def create_v_log(gamut,
transfer_function,
def create_v_log(gamut,
transfer_function,
- name,
lut_directory,
lut_resolution_1d,
aliases):
lut_directory,
lut_resolution_1d,
aliases):
@@
-66,12
+65,12
@@
def create_v_log(gamut,
cs.allocation_vars = [-8, 5, 0.00390625]
def v_log_to_linear(x):
cs.allocation_vars = [-8, 5, 0.00390625]
def v_log_to_linear(x):
- cut
I
nv = 0.181
+ cut
_i
nv = 0.181
b = 0.00873
c = 0.241514
d = 0.598206
b = 0.00873
c = 0.241514
d = 0.598206
- if
(x <= cutInv)
:
+ if
x <= cut_inv
:
return (x - 0.125) / 5.6
else:
return pow(10, (x - d) / c) - b
return (x - 0.125) / 5.6
else:
return pow(10, (x - d) / c) - b
@@
-132,7
+131,6
@@
def create_colorspaces(lut_directory, lut_resolution_1d):
v_log_1 = create_v_log(
'V-Gamut',
'V-Log',
v_log_1 = create_v_log(
'V-Gamut',
'V-Log',
- 'V-Log',
lut_directory,
lut_resolution_1d,
['vlog_vgamut'])
lut_directory,
lut_resolution_1d,
['vlog_vgamut'])
@@
-142,7
+140,6
@@
def create_colorspaces(lut_directory, lut_resolution_1d):
v_log_2 = create_v_log(
'',
'V-Log',
v_log_2 = create_v_log(
'',
'V-Log',
- 'V-Log',
lut_directory,
lut_resolution_1d,
['crv_vlog'])
lut_directory,
lut_resolution_1d,
['crv_vlog'])
@@
-152,7
+149,6
@@
def create_colorspaces(lut_directory, lut_resolution_1d):
v_log_3 = create_v_log(
'V-Gamut',
'',
v_log_3 = create_v_log(
'V-Gamut',
'',
- 'V-Log',
lut_directory,
lut_resolution_1d,
['lin_vgamut'])
lut_directory,
lut_resolution_1d,
['lin_vgamut'])