Code formatting.
[OpenColorIO-Configs.git] / aces_1.0.0 / python / aces_ocio / create_gopro_colorspaces.py
index 3e9ff54..b208537 100644 (file)
@@ -48,9 +48,11 @@ def create_protune(gamut,
          Return value description.
     """
 
-    name = '%s - %s' % (transfer_function, gamut)
+    # 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' % gamut
+        name = 'Linear - %s - Experimental' % gamut
     if gamut == '':
         name = '%s' % transfer_function
 
@@ -58,7 +60,7 @@ def create_protune(gamut,
     cs.description = name
     cs.aliases = aliases
     cs.equality_group = ''
-    cs.family = 'GoPro'
+    cs.family = 'Input/GoPro'
     cs.is_data = False
 
     # A linear space needs allocation variables
@@ -100,9 +102,9 @@ def create_protune(gamut,
     if gamut == 'Protune Gamut':
         cs.to_reference_transforms.append({
             'type': 'matrix',
-            'matrix': [ 0.533448429,  0.32413911,  0.142412421, 0,
-                       -0.050729924,  1.07572006, -0.024990416, 0,
-                        0.071419661, -0.290521962, 1.219102381, 0,
+            'matrix': [0.533448429, 0.32413911, 0.142412421, 0,
+                       -0.050729924, 1.07572006, -0.024990416, 0,
+                       0.071419661, -0.290521962, 1.219102381, 0,
                        0, 0, 0, 1],
             'direction': 'forward'})
 
@@ -134,7 +136,7 @@ def create_colorspaces(lut_directory, lut_resolution_1d):
         'Protune',
         lut_directory,
         lut_resolution_1d,
-        ["protuneflat_protunegamut"])
+        ["protuneflat_protunegamutexp"])
     colorspaces.append(protune_1)
 
     # Linearization Only
@@ -154,7 +156,7 @@ def create_colorspaces(lut_directory, lut_resolution_1d):
         'Protune',
         lut_directory,
         lut_resolution_1d,
-        ["lin_protunegamut"])
+        ["lin_protunegamutexp"])
     colorspaces.append(protune_3)
 
     return colorspaces