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=2431ac9b99b5c89ab987a60e8227611230c10af0;hb=742fd99417610892e0408e6f9d93aefff57dcd08;hp=af660e4d1cf5ff6458c0804a3e5cc54478205967;hpb=60684f6e3f158e136f5ad0f92cd6bd3d464a32a4;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 af660e4..2431ac9 100644 --- a/aces_1.0.0/python/aces_ocio/colorspaces/gopro.py +++ b/aces_1.0.0/python/aces_ocio/colorspaces/gopro.py @@ -12,7 +12,7 @@ import os import PyOpenColorIO as ocio -import aces_ocio.generate_lut as genlut +import aces_ocio.lut as genlut from aces_ocio.utilities import (ColorSpace, sanitize) __author__ = 'ACES Developers' @@ -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] @@ -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'])