cs.is_data = False
cs.allocation_type = ocio.Constants.ALLOCATION_UNIFORM
cs.allocation_vars = [min_value, max_value]
+ cs.aces_transform_id = "ACEScsc.ACEScc_to_ACES.a1.0.0"
ctls = [os.path.join(aces_ctl_directory,
'ACEScc',
cs.family = 'ACES'
cs.is_data = False
+ cs.aces_transform_id = "ACEScsc.ACESproxy10i_to_ACES.a1.0.0"
+
ctls = [os.path.join(aces_ctl_directory,
'ACESproxy',
'ACEScsc.ACESproxy10i_to_ACES.a1.0.0.ctl'),
cs.allocation_type = ocio.Constants.ALLOCATION_LG2
cs.allocation_vars = [-8, 5, 0.00390625]
+ cs.aces_transform_id = "ACEScsc.ACEScg_to_ACES.a1.0.0"
+
cs.to_reference_transforms = []
# *AP1* primaries to *AP0* primaries.
'direction': 'forward'})
cs.from_reference_transforms = []
+
+ # *AP1* primaries to *AP0* primaries.
+ cs.from_reference_transforms.append({
+ 'type': 'matrix',
+ 'matrix': mat44_from_mat33(ACES_AP0_TO_AP1),
+ 'direction': 'forward'})
+
return cs
cs.is_data = False
if bit_depth == 10:
+ cs.aces_transform_id = "ACEScsc.ADX10_to_ACES.a1.0.0"
+
cs.bit_depth = ocio.Constants.BIT_DEPTH_UINT10
ADX_to_CDD = [1023 / 500, 0, 0, 0,
0, 1023 / 500, 0, 0,
0, 0, 0, 1]
offset = [-95 / 500, -95 / 500, -95 / 500, 0]
elif bit_depth == 16:
+ cs.aces_transform_id = "ACEScsc.ADX16_to_ACES.a1.0.0"
+
cs.bit_depth = ocio.Constants.BIT_DEPTH_UINT16
ADX_to_CDD = [65535 / 8000, 0, 0, 0,
0, 65535 / 8000, 0, 0,
cs.family = 'Output'
cs.is_data = False
+ cs.aces_transform_id = odt_values['transformID']
+
pprint.pprint(odt_values)
# Generating the *shaper* transform.