X-Git-Url: http://users.mur.at/ms/git/gitweb/?a=blobdiff_plain;f=aces_1.0.0%2Fpython%2Faces_ocio%2Fcolorspaces%2Farri.py;h=d4cd531a4d8d9f47d5de79721e4b3f77103ca707;hb=008ab628a49b703cd1141a39b7963947adce9e99;hp=534bece5dc69d00da2dfd89292bc01b65db9584e;hpb=259d6c31f1e8fc707642a9da536addc07a77778e;p=OpenColorIO-Configs.git 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 534bece..d4cd531 100644 --- a/aces_1.0.0/python/aces_ocio/colorspaces/arri.py +++ b/aces_1.0.0/python/aces_ocio/colorspaces/arri.py @@ -30,7 +30,6 @@ __all__ = ['create_log_c', def create_log_c(gamut, transfer_function, exposure_index, - name, lut_directory, lut_resolution_1d, aliases): @@ -67,12 +66,11 @@ def create_log_c(gamut, cs.aces_transform_id = ( 'IDT.ARRI.Alexa-v3-logC-EI%s.a1.v1' % exposure_index) - # A linear space needs allocation variables + # A linear space needs allocation variables. if transfer_function == '': cs.allocation_type = ocio.Constants.ALLOCATION_LG2 cs.allocation_vars = [-8, 5, 0.00390625] - # Globals. IDT_maker_version = '0.08' nominal_EI = 400 @@ -154,8 +152,7 @@ def create_log_c(gamut, 'type': 'lutFile', 'path': lut, 'interpolation': 'linear', - 'direction': 'forward' - }) + 'direction': 'forward'}) if gamut == 'Wide Gamut': cs.to_reference_transforms.append({ @@ -163,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]), - 'direction': 'forward' - }) + 'direction': 'forward'}) cs.from_reference_transforms = [] return cs @@ -176,13 +172,15 @@ def create_colorspaces(lut_directory, lut_resolution_1d): 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 ------- - type - Return value description. + list + A list of colorspaces for ARRI cameras and encodings """ colorspaces = [] @@ -202,7 +200,6 @@ def create_colorspaces(lut_directory, lut_resolution_1d): gamut, transfer_function, EI, - 'LogC', lut_directory, lut_resolution_1d, ['%sei%s_%s' % ('logc3', str(EI), 'arriwide')]) @@ -214,7 +211,6 @@ def create_colorspaces(lut_directory, lut_resolution_1d): '', transfer_function, EI, - 'LogC', lut_directory, lut_resolution_1d, ['crv_%sei%s' % ('logc3', str(EI))]) @@ -225,7 +221,6 @@ def create_colorspaces(lut_directory, lut_resolution_1d): gamut, '', default_EI, - 'LogC', lut_directory, lut_resolution_1d, ['%s_%s' % ('lin', 'arriwide')])