mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
Refactors docstring formatting in transcoding
Improves readability by adjusting docstring formatting in the `convert_colorspace` function. This change ensures consistent documentation style and enhances clarity.
This commit is contained in:
parent
08f6b61a3e
commit
4ebf35dd8b
1 changed files with 7 additions and 6 deletions
|
|
@ -69,7 +69,6 @@ VIDEO_EXTENSIONS = {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def deprecated(new_destination):
|
def deprecated(new_destination):
|
||||||
"""Mark functions as deprecated.
|
"""Mark functions as deprecated.
|
||||||
|
|
||||||
|
|
@ -1033,11 +1032,13 @@ def convert_colorspace(
|
||||||
target_colorspace (str, optional): OCIO valid target color space.
|
target_colorspace (str, optional): OCIO valid target color space.
|
||||||
If filled, 'view' and 'display' must be empty.
|
If filled, 'view' and 'display' must be empty.
|
||||||
view (str, optional): Name for target viewer space (OCIO valid).
|
view (str, optional): Name for target viewer space (OCIO valid).
|
||||||
Both 'view' and 'display' must be filled (if not 'target_colorspace').
|
Both 'view' and 'display' must be filled
|
||||||
display (str, optional): Name for target display-referred reference space.
|
(if not 'target_colorspace').
|
||||||
Both 'view' and 'display' must be filled (if not 'target_colorspace').
|
display (str, optional): Name for target display-referred
|
||||||
additional_command_args (list, optional): Additional arguments for oiiotool
|
reference space. Both 'view' and 'display' must be filled
|
||||||
(like binary depth for .dpx).
|
(if not 'target_colorspace').
|
||||||
|
additional_command_args (list, optional): Additional arguments
|
||||||
|
for oiiotool (like binary depth for .dpx).
|
||||||
logger (logging.Logger, optional): Logger used for logging.
|
logger (logging.Logger, optional): Logger used for logging.
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue