From 0b3f7370d8649bcf734e4b4303341313ed906037 Mon Sep 17 00:00:00 2001 From: sumana sree Date: Mon, 1 Jul 2024 17:31:56 +0530 Subject: [PATCH 1/2] Update documentation: Specify types for GradingPrimary attributes Signed-off-by: sumana sree --- .../src/pyopencolorio_gradingprimary.rst | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/docs/api/python/src/pyopencolorio_gradingprimary.rst b/docs/api/python/src/pyopencolorio_gradingprimary.rst index 51df3fbe0e..982e4a5fa7 100644 --- a/docs/api/python/src/pyopencolorio_gradingprimary.rst +++ b/docs/api/python/src/pyopencolorio_gradingprimary.rst @@ -6,3 +6,36 @@ :members: :undoc-members: :special-members: __init__, __str__ + + .. attribute:: brightness + :type: GradingRGBM + + .. attribute:: clampBlack + :type: float + + .. attribute:: clampWhite + :type: float + + .. attribute:: contrast + :type: GradingRGBM + + .. attribute:: exposure + :type: GradingRGBM + + .. attribute:: gain + :type: GradingRGBM + + .. attribute:: gamma + :type: GradingRGBM + + .. attribute:: lift + :type: GradingRGBM + + .. attribute:: offset + :type: GradingRGBM + + .. attribute:: pivot + :type: float + + .. attribute:: saturation + :type: float From c5f88f89a22fd0074b051209f182ac4650a4a899 Mon Sep 17 00:00:00 2001 From: sumana sree Date: Tue, 23 Jul 2024 14:54:03 +0530 Subject: [PATCH 2/2] added pivotWhite and pivotBlack types to documentation Signed-off-by: sumana sree --- docs/api/python/src/pyopencolorio_gradingprimary.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/api/python/src/pyopencolorio_gradingprimary.rst b/docs/api/python/src/pyopencolorio_gradingprimary.rst index 982e4a5fa7..c5a31da4ef 100644 --- a/docs/api/python/src/pyopencolorio_gradingprimary.rst +++ b/docs/api/python/src/pyopencolorio_gradingprimary.rst @@ -37,5 +37,11 @@ .. attribute:: pivot :type: float + .. attribute:: pivotBlack + :type: float + + .. attribute:: pivotWhite + :type: float + .. attribute:: saturation :type: float