X-Git-Url: http://users.mur.at/ms/git/gitweb/?a=blobdiff_plain;f=aces_1.0.0%2Fpython%2Faces_ocio%2Fcolorspaces%2Fsony.py;h=981b6875ffec343413fd740653f970f716118c98;hb=008ab628a49b703cd1141a39b7963947adce9e99;hp=881fd2374bde4bd42c527e94469e51a9a642e46a;hpb=742fd99417610892e0408e6f9d93aefff57dcd08;p=OpenColorIO-Configs.git diff --git a/aces_1.0.0/python/aces_ocio/colorspaces/sony.py b/aces_1.0.0/python/aces_ocio/colorspaces/sony.py index 881fd23..981b687 100644 --- a/aces_1.0.0/python/aces_ocio/colorspaces/sony.py +++ b/aces_1.0.0/python/aces_ocio/colorspaces/sony.py @@ -12,7 +12,7 @@ import os import PyOpenColorIO as ocio -import aces_ocio.lut as genlut +import aces_ocio.generate_lut as genlut from aces_ocio.utilities import ColorSpace, mat44_from_mat33 __author__ = 'ACES Developers' @@ -32,19 +32,27 @@ def create_s_log(gamut, lut_resolution_1d, aliases): """ - Object description. - - SLog to ACES. + Creates colorspace covering the conversion from Sony spaces to ACES, with various + transfer functions and encoding gamuts covered Parameters ---------- - parameter : type - Parameter description. + gamut : str + The name of the encoding gamut to use. + transfer_function : str + The name of the transfer function to use + lut_directory : str or unicode + The directory to use when generating LUTs + lut_resolution_1d : int + The resolution of generated 1D LUTs + aliases : list of str + Aliases for this colorspace Returns ------- - type - Return value description. + ColorSpace + A ColorSpace container class referencing the LUTs, matrices and identifying + information for the requested colorspace. """ name = '%s - %s' % (transfer_function, gamut) @@ -220,13 +228,15 @@ def create_colorspaces(lut_directory, lut_resolution_1d): Parameters ---------- - parameter : type - Parameter description. + lut_directory : str or unicode + The directory to use when generating LUTs + lut_resolution_1d : int + The resolution of generated 1D LUTs Returns ------- - type - Return value description. + list + A list of colorspaces for Sony cameras and encodings """ colorspaces = []