X-Git-Url: http://users.mur.at/ms/git/gitweb/?p=OpenColorIO-Configs.git;a=blobdiff_plain;f=aces_1.0.0%2Fpython%2Faces_ocio%2Fcolorspaces%2Fcanon.py;h=bbb5c8af27d52b0dfc8ba6b9e5376c0a15aac0a4;hp=64ffb60c8b0615ab159956ee983a046468b68adf;hb=008ab628a49b703cd1141a39b7963947adce9e99;hpb=0cc52e33a3822b22e7cc30bf44e80e83c6de678f diff --git a/aces_1.0.0/python/aces_ocio/colorspaces/canon.py b/aces_1.0.0/python/aces_ocio/colorspaces/canon.py index 64ffb60..bbb5c8a 100644 --- a/aces_1.0.0/python/aces_ocio/colorspaces/canon.py +++ b/aces_1.0.0/python/aces_ocio/colorspaces/canon.py @@ -32,19 +32,27 @@ def create_c_log(gamut, lut_resolution_1d, aliases): """ - Object description. - - Canon-Log to ACES. + Creates colorspace covering the conversion from CLog 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) @@ -161,13 +169,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 Canon cameras and encodings """ colorspaces = []