projects
/
OpenColorIO-Configs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added documentation for individual functions
[OpenColorIO-Configs.git]
/
aces_1.0.0
/
python
/
aces_ocio
/
colorspaces
/
arri.py
diff --git
a/aces_1.0.0/python/aces_ocio/colorspaces/arri.py
b/aces_1.0.0/python/aces_ocio/colorspaces/arri.py
index
6ef5eae
..
d4cd531
100644
(file)
--- a/
aces_1.0.0/python/aces_ocio/colorspaces/arri.py
+++ b/
aces_1.0.0/python/aces_ocio/colorspaces/arri.py
@@
-13,7
+13,7
@@
import os
import PyOpenColorIO as ocio
import PyOpenColorIO as ocio
-import aces_ocio.lut as genlut
+import aces_ocio.
generate_
lut as genlut
from aces_ocio.utilities import ColorSpace, mat44_from_mat33, sanitize
__author__ = 'ACES Developers'
from aces_ocio.utilities import ColorSpace, mat44_from_mat33, sanitize
__author__ = 'ACES Developers'
@@
-152,8
+152,7
@@
def create_log_c(gamut,
'type': 'lutFile',
'path': lut,
'interpolation': 'linear',
'type': 'lutFile',
'path': lut,
'interpolation': 'linear',
- 'direction': 'forward'
- })
+ 'direction': 'forward'})
if gamut == 'Wide Gamut':
cs.to_reference_transforms.append({
if gamut == 'Wide Gamut':
cs.to_reference_transforms.append({
@@
-161,8
+160,7
@@
def create_log_c(gamut,
'matrix': mat44_from_mat33([0.680206, 0.236137, 0.083658,
0.085415, 1.017471, -0.102886,
0.002057, -0.062563, 1.060506]),
'matrix': mat44_from_mat33([0.680206, 0.236137, 0.083658,
0.085415, 1.017471, -0.102886,
0.002057, -0.062563, 1.060506]),
- 'direction': 'forward'
- })
+ 'direction': 'forward'})
cs.from_reference_transforms = []
return cs
cs.from_reference_transforms = []
return cs
@@
-174,13
+172,15
@@
def create_colorspaces(lut_directory, lut_resolution_1d):
Parameters
----------
Parameters
----------
- parameter : type
- Parameter description.
+ lut_directory : str or unicode
+ The directory to use when generating LUTs
+ lut_resolution_1d : int
+ The resolution of generated 1D LUTs
Returns
-------
Returns
-------
- type
- Return value description.
+ list
+ A list of colorspaces for ARRI cameras and encodings
"""
colorspaces = []
"""
colorspaces = []