def create_protune(gamut,
transfer_function,
- name,
lut_directory,
lut_resolution_1d,
aliases):
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
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]
protune_1 = create_protune(
'Protune Native',
'Protune Flat',
- 'Protune',
lut_directory,
lut_resolution_1d,
['protuneflat_protunegamutexp'])
protune_2 = create_protune(
'',
'Protune Flat',
- 'Protune',
lut_directory,
lut_resolution_1d,
['crv_protuneflat'])
protune_3 = create_protune(
'Protune Native',
'',
- 'Protune',
lut_directory,
lut_resolution_1d,
['lin_protunegamutexp'])