X-Git-Url: http://users.mur.at/ms/git/gitweb/?a=blobdiff_plain;f=aces_1.0.0%2Fpython%2Faces_ocio%2Fcolorspaces%2Fgopro.py;h=44b585826502bc321c67038579add18aa8936c5a;hb=fb58be6a95bf4c8cd894dc814fa573e037f43c57;hp=f44dde2e5f8c03c4a81718937a6db8e200183696;hpb=7a22772bdc32ebbbdc8ea394ff1b94d00eb55645;p=OpenColorIO-Configs.git 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..44b5858 100644 --- a/aces_1.0.0/python/aces_ocio/colorspaces/gopro.py +++ b/aces_1.0.0/python/aces_ocio/colorspaces/gopro.py @@ -28,7 +28,6 @@ __all__ = ['create_protune', def create_protune(gamut, transfer_function, - name, lut_directory, lut_resolution_1d, aliases): @@ -48,8 +47,8 @@ def create_protune(gamut, Return value description. """ - # The gamut should be marked as experimental until - # matrices are fully verified + # The gamut should be marked as experimental until matrices are fully + # verified. name = '%s - %s - Experimental' % (transfer_function, gamut) if transfer_function == '': name = 'Linear - %s - Experimental' % gamut @@ -63,7 +62,7 @@ def create_protune(gamut, cs.family = 'Input/GoPro' cs.is_data = False - # 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] @@ -72,7 +71,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 @@ -133,7 +132,6 @@ def create_colorspaces(lut_directory, lut_resolution_1d): protune_1 = create_protune( 'Protune Native', 'Protune Flat', - 'Protune', lut_directory, lut_resolution_1d, ['protuneflat_protunegamutexp']) @@ -143,7 +141,6 @@ def create_colorspaces(lut_directory, lut_resolution_1d): protune_2 = create_protune( '', 'Protune Flat', - 'Protune', lut_directory, lut_resolution_1d, ['crv_protuneflat']) @@ -153,7 +150,6 @@ def create_colorspaces(lut_directory, lut_resolution_1d): protune_3 = create_protune( 'Protune Native', '', - 'Protune', lut_directory, lut_resolution_1d, ['lin_protunegamutexp'])