def create_log_c(gamut,
transfer_function,
exposure_index,
- name,
lut_directory,
lut_resolution_1d,
aliases):
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
'type': 'lutFile',
'path': lut,
'interpolation': 'linear',
- 'direction': 'forward'
- })
+ 'direction': 'forward'})
if gamut == 'Wide Gamut':
cs.to_reference_transforms.append({
'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
gamut,
transfer_function,
EI,
- 'LogC',
lut_directory,
lut_resolution_1d,
['%sei%s_%s' % ('logc3', str(EI), 'arriwide')])
'',
transfer_function,
EI,
- 'LogC',
lut_directory,
lut_resolution_1d,
['crv_%sei%s' % ('logc3', str(EI))])
gamut,
'',
default_EI,
- 'LogC',
lut_directory,
lut_resolution_1d,
['%s_%s' % ('lin', 'arriwide')])