Skip to content

Commit

Permalink
Switch to rc1 (#1253)
Browse files Browse the repository at this point in the history
Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>
  • Loading branch information
BernardLefebvre authored Jan 7, 2021
1 parent 0aaec5e commit d71748b
Show file tree
Hide file tree
Showing 14 changed files with 75 additions and 75 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ project(OpenColorIO
LANGUAGES CXX C)

# "dev", "beta1", rc1", etc or "" for an official release.
set(OpenColorIO_VERSION_RELEASE_TYPE "beta2")
set(OpenColorIO_VERSION_RELEASE_TYPE "rc1")

enable_testing()

Expand Down
2 changes: 1 addition & 1 deletion docs/api/python/frozen/pyopencolorio_cdltransform.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
The cccid can be the ID of a CDL or the index of the CDL (as string). If cccid is NULL or empty the first CDL is returned. The cccid is case-sensitive. The src must be an absolute path reference, no relative directory or envvar resolution is performed. Throws if file does not contain any CDL or if the specified cccid is not found.


.. py:method:: CDLTransform.CreateGroupFromFile(src: str) -> OpenColorIO_v2_0beta2::GroupTransform
.. py:method:: CDLTransform.CreateGroupFromFile(src: str) -> OpenColorIO_v2_0rc1::GroupTransform
:module: PyOpenColorIO
:staticmethod:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
:module: PyOpenColorIO


.. py:method:: ColorSpaceMenuHelper.getHierarchyLevels(self: PyOpenColorIO.ColorSpaceMenuHelper, index: int) -> OpenColorIO_v2_0beta2::PyIterator<std::shared_ptr<OpenColorIO_v2_0beta2::ColorSpaceMenuHelper>,0,unsigned __int64>
.. py:method:: ColorSpaceMenuHelper.getHierarchyLevels(self: PyOpenColorIO.ColorSpaceMenuHelper, index: int) -> OpenColorIO_v2_0rc1::PyIterator<std::shared_ptr<OpenColorIO_v2_0rc1::ColorSpaceMenuHelper>,0,unsigned __int64>
:module: PyOpenColorIO


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
:module: PyOpenColorIO


.. py:method:: ColorSpaceMenuParameters.getAddedColorSpaces(self: PyOpenColorIO.ColorSpaceMenuParameters) -> OpenColorIO_v2_0beta2::PyIterator<std::shared_ptr<OpenColorIO_v2_0beta2::ColorSpaceMenuParameters>,0>
.. py:method:: ColorSpaceMenuParameters.getAddedColorSpaces(self: PyOpenColorIO.ColorSpaceMenuParameters) -> OpenColorIO_v2_0rc1::PyIterator<std::shared_ptr<OpenColorIO_v2_0rc1::ColorSpaceMenuParameters>,0>
:module: PyOpenColorIO


Expand Down
82 changes: 41 additions & 41 deletions docs/api/python/frozen/pyopencolorio_config.rst

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/api/python/frozen/pyopencolorio_cpuprocessor.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

Overloaded function.

1. apply(self: PyOpenColorIO.CPUProcessor, imgDesc: OpenColorIO_v2_0beta2::PyImageDesc) -> None
1. apply(self: PyOpenColorIO.CPUProcessor, imgDesc: OpenColorIO_v2_0rc1::PyImageDesc) -> None


Apply to an image with any kind of channel ordering while respecting
Expand All @@ -37,7 +37,7 @@



2. apply(self: PyOpenColorIO.CPUProcessor, srcImgDesc: OpenColorIO_v2_0beta2::PyImageDesc, dstImgDesc: OpenColorIO_v2_0beta2::PyImageDesc) -> None
2. apply(self: PyOpenColorIO.CPUProcessor, srcImgDesc: OpenColorIO_v2_0rc1::PyImageDesc, dstImgDesc: OpenColorIO_v2_0rc1::PyImageDesc) -> None


Apply to an image with any kind of channel ordering while respecting
Expand Down
12 changes: 6 additions & 6 deletions docs/api/python/frozen/pyopencolorio_dynamicproperty.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,19 @@
Get the property as DynamicPropertyDoubleRcPtr to access the double value. Will throw if property type is not a type that holds a double such as DYNAMIC_PROPERTY_EXPOSURE.


.. py:method:: DynamicProperty.getGradingPrimary(self: PyOpenColorIO.DynamicProperty) -> OpenColorIO_v2_0beta2::GradingPrimary
.. py:method:: DynamicProperty.getGradingPrimary(self: PyOpenColorIO.DynamicProperty) -> OpenColorIO_v2_0rc1::GradingPrimary
:module: PyOpenColorIO

Get the property as DynamicPropertyGradingPrimaryRcPtr to access the :ref:`GradingPrimary` value. Will throw if property type is not DYNAMIC_PROPERTY_GRADING_PRIMARY.


.. py:method:: DynamicProperty.getGradingRGBCurve(self: PyOpenColorIO.DynamicProperty) -> OpenColorIO_v2_0beta2::GradingRGBCurve
.. py:method:: DynamicProperty.getGradingRGBCurve(self: PyOpenColorIO.DynamicProperty) -> OpenColorIO_v2_0rc1::GradingRGBCurve
:module: PyOpenColorIO

Get the property as DynamicPropertyGradingRGBCurveRcPtr to access the GradingRGBCurveRcPtr value. Will throw if property type is not DYNAMIC_PROPERTY_GRADING_RGBCURVE.


.. py:method:: DynamicProperty.getGradingTone(self: PyOpenColorIO.DynamicProperty) -> OpenColorIO_v2_0beta2::GradingTone
.. py:method:: DynamicProperty.getGradingTone(self: PyOpenColorIO.DynamicProperty) -> OpenColorIO_v2_0rc1::GradingTone
:module: PyOpenColorIO

Get the property as DynamicPropertyGradingToneRcPtr to access the :ref:`GradingTone` value. Will throw if property type is not DYNAMIC_PROPERTY_GRADING_TONE.
Expand All @@ -55,19 +55,19 @@
Get the property as DynamicPropertyDoubleRcPtr to access the double value. Will throw if property type is not a type that holds a double such as DYNAMIC_PROPERTY_EXPOSURE.


.. py:method:: DynamicProperty.setGradingPrimary(self: PyOpenColorIO.DynamicProperty, val: OpenColorIO_v2_0beta2::GradingPrimary) -> None
.. py:method:: DynamicProperty.setGradingPrimary(self: PyOpenColorIO.DynamicProperty, val: OpenColorIO_v2_0rc1::GradingPrimary) -> None
:module: PyOpenColorIO

Get the property as DynamicPropertyGradingPrimaryRcPtr to access the :ref:`GradingPrimary` value. Will throw if property type is not DYNAMIC_PROPERTY_GRADING_PRIMARY.


.. py:method:: DynamicProperty.setGradingRGBCurve(self: PyOpenColorIO.DynamicProperty, val: OpenColorIO_v2_0beta2::GradingRGBCurve) -> None
.. py:method:: DynamicProperty.setGradingRGBCurve(self: PyOpenColorIO.DynamicProperty, val: OpenColorIO_v2_0rc1::GradingRGBCurve) -> None
:module: PyOpenColorIO

Get the property as DynamicPropertyGradingRGBCurveRcPtr to access the GradingRGBCurveRcPtr value. Will throw if property type is not DYNAMIC_PROPERTY_GRADING_RGBCURVE.


.. py:method:: DynamicProperty.setGradingTone(self: PyOpenColorIO.DynamicProperty, val: OpenColorIO_v2_0beta2::GradingTone) -> None
.. py:method:: DynamicProperty.setGradingTone(self: PyOpenColorIO.DynamicProperty, val: OpenColorIO_v2_0rc1::GradingTone) -> None
:module: PyOpenColorIO

Get the property as DynamicPropertyGradingToneRcPtr to access the :ref:`GradingTone` value. Will throw if property type is not DYNAMIC_PROPERTY_GRADING_TONE.
Expand Down
4 changes: 2 additions & 2 deletions docs/api/python/frozen/pyopencolorio_gpuprocessor.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@

Overloaded function.

1. extractGpuShaderInfo(self: PyOpenColorIO.GPUProcessor, shaderDesc: OpenColorIO_v2_0beta2::GpuShaderDesc) -> None
1. extractGpuShaderInfo(self: PyOpenColorIO.GPUProcessor, shaderDesc: OpenColorIO_v2_0rc1::GpuShaderDesc) -> None

Extract & Store the shader information to implement the color processing.

2. extractGpuShaderInfo(self: PyOpenColorIO.GPUProcessor, shaderCreator: OpenColorIO_v2_0beta2::GpuShaderCreator) -> None
2. extractGpuShaderInfo(self: PyOpenColorIO.GPUProcessor, shaderCreator: OpenColorIO_v2_0rc1::GpuShaderCreator) -> None

Extract the shader information using a custom :ref:`GpuShaderCreator` class.

Expand Down
6 changes: 3 additions & 3 deletions docs/api/python/frozen/pyopencolorio_gpushadercreator.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
:module: PyOpenColorIO


.. py:method:: GpuShaderCreator.getDynamicProperty(self: PyOpenColorIO.GpuShaderCreator, type: PyOpenColorIO.DynamicPropertyType) -> OpenColorIO_v2_0beta2::DynamicProperty
.. py:method:: GpuShaderCreator.getDynamicProperty(self: PyOpenColorIO.GpuShaderCreator, type: PyOpenColorIO.DynamicPropertyType) -> OpenColorIO_v2_0rc1::DynamicProperty
:module: PyOpenColorIO


Expand Down Expand Up @@ -184,7 +184,7 @@
:module: PyOpenColorIO.GpuShaderCreator


.. py:method:: DynamicPropertyIterator.__getitem__(self: PyOpenColorIO.GpuShaderCreator.DynamicPropertyIterator, arg0: int) -> OpenColorIO_v2_0beta2::DynamicProperty
.. py:method:: DynamicPropertyIterator.__getitem__(self: PyOpenColorIO.GpuShaderCreator.DynamicPropertyIterator, arg0: int) -> OpenColorIO_v2_0rc1::DynamicProperty
:module: PyOpenColorIO.GpuShaderCreator


Expand All @@ -196,6 +196,6 @@
:module: PyOpenColorIO.GpuShaderCreator


.. py:method:: DynamicPropertyIterator.__next__(self: PyOpenColorIO.GpuShaderCreator.DynamicPropertyIterator) -> OpenColorIO_v2_0beta2::DynamicProperty
.. py:method:: DynamicPropertyIterator.__next__(self: PyOpenColorIO.GpuShaderCreator.DynamicPropertyIterator) -> OpenColorIO_v2_0rc1::DynamicProperty
:module: PyOpenColorIO.GpuShaderCreator

6 changes: 3 additions & 3 deletions docs/api/python/frozen/pyopencolorio_gpushaderdesc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
:module: PyOpenColorIO


.. py:method:: GpuShaderDesc.getDynamicProperty(self: PyOpenColorIO.GpuShaderCreator, type: PyOpenColorIO.DynamicPropertyType) -> OpenColorIO_v2_0beta2::DynamicProperty
.. py:method:: GpuShaderDesc.getDynamicProperty(self: PyOpenColorIO.GpuShaderCreator, type: PyOpenColorIO.DynamicPropertyType) -> OpenColorIO_v2_0rc1::DynamicProperty
:module: PyOpenColorIO


Expand Down Expand Up @@ -316,7 +316,7 @@
:module: PyOpenColorIO.GpuShaderDesc


.. py:method:: DynamicPropertyIterator.__getitem__(self: PyOpenColorIO.GpuShaderCreator.DynamicPropertyIterator, arg0: int) -> OpenColorIO_v2_0beta2::DynamicProperty
.. py:method:: DynamicPropertyIterator.__getitem__(self: PyOpenColorIO.GpuShaderCreator.DynamicPropertyIterator, arg0: int) -> OpenColorIO_v2_0rc1::DynamicProperty
:module: PyOpenColorIO.GpuShaderDesc


Expand All @@ -328,6 +328,6 @@
:module: PyOpenColorIO.GpuShaderDesc


.. py:method:: DynamicPropertyIterator.__next__(self: PyOpenColorIO.GpuShaderCreator.DynamicPropertyIterator) -> OpenColorIO_v2_0beta2::DynamicProperty
.. py:method:: DynamicPropertyIterator.__next__(self: PyOpenColorIO.GpuShaderCreator.DynamicPropertyIterator) -> OpenColorIO_v2_0rc1::DynamicProperty
:module: PyOpenColorIO.GpuShaderDesc

6 changes: 3 additions & 3 deletions docs/api/python/frozen/pyopencolorio_grouptransform.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
:module: PyOpenColorIO


.. py:method:: GroupTransform.GetWriteFormats() -> OpenColorIO_v2_0beta2::PyIterator<std::shared_ptr<OpenColorIO_v2_0beta2::GroupTransform>,1>
.. py:method:: GroupTransform.GetWriteFormats() -> OpenColorIO_v2_0rc1::PyIterator<std::shared_ptr<OpenColorIO_v2_0rc1::GroupTransform>,1>
:module: PyOpenColorIO
:staticmethod:

Expand Down Expand Up @@ -77,7 +77,7 @@

Overloaded function.

1. write(self: PyOpenColorIO.GroupTransform, config: OpenColorIO_v2_0beta2::Config, context: OpenColorIO_v2_0beta2::Context, formatName: str, fileName: str) -> None
1. write(self: PyOpenColorIO.GroupTransform, config: OpenColorIO_v2_0rc1::Config, context: OpenColorIO_v2_0rc1::Context, formatName: str, fileName: str) -> None

Write the transforms comprising the group to the stream.

Expand All @@ -93,7 +93,7 @@
formats << " (." << GroupTransform::GetFormatExtensionByIndex(i) << ")";
}

2. write(self: PyOpenColorIO.GroupTransform, config: OpenColorIO_v2_0beta2::Config, context: OpenColorIO_v2_0beta2::Context, formatName: str) -> str
2. write(self: PyOpenColorIO.GroupTransform, config: OpenColorIO_v2_0rc1::Config, context: OpenColorIO_v2_0rc1::Context, formatName: str) -> str

Write the transforms comprising the group to the stream.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
:module: PyOpenColorIO


.. py:method:: MixingColorSpaceManager.getMixingEncodings(self: PyOpenColorIO.MixingColorSpaceManager) -> OpenColorIO_v2_0beta2::PyIterator<std::shared_ptr<OpenColorIO_v2_0beta2::MixingColorSpaceManager>,1>
.. py:method:: MixingColorSpaceManager.getMixingEncodings(self: PyOpenColorIO.MixingColorSpaceManager) -> OpenColorIO_v2_0rc1::PyIterator<std::shared_ptr<OpenColorIO_v2_0rc1::MixingColorSpaceManager>,1>
:module: PyOpenColorIO


.. py:method:: MixingColorSpaceManager.getMixingSpaces(self: PyOpenColorIO.MixingColorSpaceManager) -> OpenColorIO_v2_0beta2::PyIterator<std::shared_ptr<OpenColorIO_v2_0beta2::MixingColorSpaceManager>,0>
.. py:method:: MixingColorSpaceManager.getMixingSpaces(self: PyOpenColorIO.MixingColorSpaceManager) -> OpenColorIO_v2_0rc1::PyIterator<std::shared_ptr<OpenColorIO_v2_0rc1::MixingColorSpaceManager>,0>
:module: PyOpenColorIO


Expand Down
4 changes: 2 additions & 2 deletions docs/api/python/frozen/pyopencolorio_namedtransform.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@
:ref:`ColorSpace::clearCategories`


.. py:method:: NamedTransform.getAliases(self: PyOpenColorIO.NamedTransform) -> OpenColorIO_v2_0beta2::PyIterator<std::shared_ptr<OpenColorIO_v2_0beta2::NamedTransform>,1>
.. py:method:: NamedTransform.getAliases(self: PyOpenColorIO.NamedTransform) -> OpenColorIO_v2_0rc1::PyIterator<std::shared_ptr<OpenColorIO_v2_0rc1::NamedTransform>,1>
:module: PyOpenColorIO


.. py:method:: NamedTransform.getCategories(self: PyOpenColorIO.NamedTransform) -> OpenColorIO_v2_0beta2::PyIterator<std::shared_ptr<OpenColorIO_v2_0beta2::NamedTransform>,0>
.. py:method:: NamedTransform.getCategories(self: PyOpenColorIO.NamedTransform) -> OpenColorIO_v2_0rc1::PyIterator<std::shared_ptr<OpenColorIO_v2_0rc1::NamedTransform>,0>
:module: PyOpenColorIO


Expand Down
14 changes: 7 additions & 7 deletions docs/api/python/frozen/pyopencolorio_processor.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
:module: PyOpenColorIO


.. py:method:: Processor.getDefaultCPUProcessor(self: PyOpenColorIO.Processor) -> OpenColorIO_v2_0beta2::CPUProcessor
.. py:method:: Processor.getDefaultCPUProcessor(self: PyOpenColorIO.Processor) -> OpenColorIO_v2_0rc1::CPUProcessor
:module: PyOpenColorIO

Get an optimized :cpp:class:`:ref:`CPUProcessor`` instance.
Expand All @@ -50,13 +50,13 @@
cpuProcessor->apply(img);
.. py:method:: Processor.getDefaultGPUProcessor(self: PyOpenColorIO.Processor) -> OpenColorIO_v2_0beta2::GPUProcessor
.. py:method:: Processor.getDefaultGPUProcessor(self: PyOpenColorIO.Processor) -> OpenColorIO_v2_0rc1::GPUProcessor
:module: PyOpenColorIO

Get an optimized :ref:`GPUProcessor` instance.


.. py:method:: Processor.getDynamicProperty(self: PyOpenColorIO.Processor, type: PyOpenColorIO.DynamicPropertyType) -> OpenColorIO_v2_0beta2::DynamicProperty
.. py:method:: Processor.getDynamicProperty(self: PyOpenColorIO.Processor, type: PyOpenColorIO.DynamicPropertyType) -> OpenColorIO_v2_0rc1::DynamicProperty
:module: PyOpenColorIO

The returned pointer may be used to set the default value of any dynamic properties of the requested type. Throws if the requested property is not found. Note that if the processor contains several ops that support the requested property, only one can be dynamic and only this one will be controlled.
Expand All @@ -76,12 +76,12 @@

Overloaded function.

1. getOptimizedCPUProcessor(self: PyOpenColorIO.Processor, oFlags: PyOpenColorIO.OptimizationFlags) -> OpenColorIO_v2_0beta2::CPUProcessor
1. getOptimizedCPUProcessor(self: PyOpenColorIO.Processor, oFlags: PyOpenColorIO.OptimizationFlags) -> OpenColorIO_v2_0rc1::CPUProcessor

2. getOptimizedCPUProcessor(self: PyOpenColorIO.Processor, inBitDepth: PyOpenColorIO.BitDepth, outBitDepth: PyOpenColorIO.BitDepth, oFlags: PyOpenColorIO.OptimizationFlags) -> OpenColorIO_v2_0beta2::CPUProcessor
2. getOptimizedCPUProcessor(self: PyOpenColorIO.Processor, inBitDepth: PyOpenColorIO.BitDepth, outBitDepth: PyOpenColorIO.BitDepth, oFlags: PyOpenColorIO.OptimizationFlags) -> OpenColorIO_v2_0rc1::CPUProcessor


.. py:method:: Processor.getOptimizedGPUProcessor(self: PyOpenColorIO.Processor, oFlags: PyOpenColorIO.OptimizationFlags) -> OpenColorIO_v2_0beta2::GPUProcessor
.. py:method:: Processor.getOptimizedGPUProcessor(self: PyOpenColorIO.Processor, oFlags: PyOpenColorIO.OptimizationFlags) -> OpenColorIO_v2_0rc1::GPUProcessor
:module: PyOpenColorIO


Expand All @@ -99,7 +99,7 @@
Run the optimizer on a :ref:`Processor` to create a new :cpp:class:`:ref:`Processor``. It is usually not necessary to call this since getting a :ref:`CPUProcessor` or :ref:`GPUProcessor` will also optimize. However if you need both, calling this method first makes getting a CPU and GPU :ref:`Processor` faster since the optimization is effectively only done once.


.. py:method:: Processor.getProcessorMetadata(self: PyOpenColorIO.Processor) -> OpenColorIO_v2_0beta2::ProcessorMetadata
.. py:method:: Processor.getProcessorMetadata(self: PyOpenColorIO.Processor) -> OpenColorIO_v2_0rc1::ProcessorMetadata
:module: PyOpenColorIO

The :ref:`ProcessorMetadata` contains technical information such as the number of files and looks used in the processor.
Expand Down

0 comments on commit d71748b

Please sign in to comment.