5 #ifndef INCLUDED_OCIO_OPENCOLORTRANSFORMS_H
6 #define INCLUDED_OCIO_OPENCOLORTRANSFORMS_H
8 #include <initializer_list>
13 #ifndef OCIO_NAMESPACE
14 #error This header cannot be used directly. Use <OpenColorIO/OpenColorIO.h> instead.
47 virtual const char * getElementName()
const noexcept = 0;
49 virtual void setElementName(
const char *) = 0;
51 virtual const char * getElementValue()
const noexcept = 0;
52 virtual void setElementValue(
const char *) = 0;
54 virtual int getNumAttributes()
const noexcept = 0;
56 virtual const char * getAttributeName(
int i)
const noexcept = 0;
58 virtual const char * getAttributeValue(
int i)
const noexcept = 0;
60 virtual const char * getAttributeValue(
const char *
name)
const noexcept = 0;
65 virtual void addAttribute(
const char * name,
const char *
value) = 0;
67 virtual int getNumChildrenElements()
const noexcept = 0;
87 virtual void addChildElement(
const char * name,
const char * value) = 0;
90 virtual void clear() noexcept = 0;
99 virtual const char *
getName()
const noexcept = 0;
100 virtual void setName(
const char * name) noexcept = 0;
106 virtual const char * getID()
const noexcept = 0;
107 virtual void setID(
const char *
id) noexcept = 0;
133 virtual void validate()
const;
165 void validate()
const override;
170 int getNumVars()
const;
171 void getVars(
float * vars)
const;
172 void setVars(
int numvars,
const float * vars);
186 Impl * getImpl() {
return m_impl; }
187 const Impl * getImpl()
const {
return m_impl; }
205 virtual const char * getStyle() const noexcept = 0;
211 virtual
void setStyle(const
char * style) = 0;
273 virtual const
FormatMetadata & getFormatMetadata() const noexcept = 0;
275 virtual
bool equals(const
CDLTransform & other) const noexcept = 0;
277 virtual
CDLStyle getStyle() const = 0;
284 virtual
void setStyle(
CDLStyle style) = 0;
286 virtual
void getSlope(
double * rgb) const = 0;
287 virtual
void setSlope(const
double * rgb) = 0;
289 virtual
void getOffset(
double * rgb) const = 0;
290 virtual
void setOffset(const
double * rgb) = 0;
292 virtual
void getPower(
double * rgb) const = 0;
293 virtual
void setPower(const
double * rgb) = 0;
295 virtual
void getSOP(
double * vec9) const = 0;
296 virtual
void setSOP(const
double * vec9) = 0;
298 virtual
double getSat() const = 0;
299 virtual
void setSat(
double sat) = 0;
302 virtual
void getSatLumaCoefs(
double * rgb) const = 0;
308 virtual const
char * getID() const = 0;
309 virtual
void setID(const
char *
id) = 0;
318 virtual const
char * getFirstSOPDescription() const = 0;
319 virtual
void setFirstSOPDescription(const
char * description) = 0;
345 void validate()
const override;
347 const char * getSrc()
const;
348 void setSrc(
const char * src);
350 const char * getDst()
const;
351 void setDst(
const char *
dst);
354 bool getDataBypass() const noexcept;
355 void setDataBypass(
bool enabled) noexcept;
362 ColorSpaceTransform();
363 ColorSpaceTransform(const ColorSpaceTransform &);
365 static
void deleter(ColorSpaceTransform *
t);
369 Impl * getImpl() {
return m_impl; }
370 const Impl * getImpl()
const {
return m_impl; }
389 void validate()
const override;
391 const char * getSrc()
const;
393 void setSrc(
const char *
name);
395 const char * getDisplay()
const;
397 void setDisplay(
const char * display);
399 const char * getView()
const;
401 void setView(
const char * view);
403 bool getLooksBypass()
const;
405 void setLooksBypass(
bool bypass);
407 bool getDataBypass() const noexcept;
409 void setDataBypass(
bool bypass) noexcept;
415 DisplayViewTransform();
416 DisplayViewTransform(const DisplayViewTransform &) = delete;
417 DisplayViewTransform & operator=(const DisplayViewTransform &) = delete;
419 static
void deleter(DisplayViewTransform *
t);
423 Impl * getImpl() {
return m_impl; }
424 const Impl * getImpl()
const {
return m_impl; }
451 double m_green{ 0. };
453 double m_master{ 0. };
466 , m_clampBlack(NoClampBlack())
467 , m_clampWhite(NoClampWhite())
479 double m_saturation{ 1.0 };
481 double m_pivotBlack{ 0.0 };
482 double m_pivotWhite{ 1.0 };
489 static double NoClampBlack();
490 static double NoClampWhite();
506 extern OCIOEXPORT bool operator==(
const GradingControlPoint & lhs,
const GradingControlPoint & rhs);
507 extern OCIOEXPORT bool operator!=(
const GradingControlPoint & lhs,
const GradingControlPoint & rhs);
525 virtual size_t getNumControlPoints()
const noexcept = 0;
526 virtual void setNumControlPoints(
size_t size) = 0;
529 virtual float getSlope(
size_t index)
const = 0;
530 virtual void setSlope(
size_t index,
float slope) = 0;
531 virtual bool slopesAreDefault()
const = 0;
532 virtual void validate()
const = 0;
534 virtual void setSplineType(
BSplineType splineType) = 0;
567 virtual void validate()
const = 0;
607 virtual void validate()
const = 0;
619 virtual bool getDrawCurveOnly()
const = 0;
620 virtual void setDrawCurveOnly(
bool drawCurveOnly) = 0;
656 , m_green (rgbmsw[1])
658 , m_master(rgbmsw[3])
659 , m_start (rgbmsw[4])
660 , m_width (rgbmsw[5])
669 double m_green { 1. };
670 double m_blue { 1. };
671 double m_master{ 1. };
672 double m_start { 0. };
673 double m_width { 1. };
707 void validate()
const;
714 double m_scontrast{ 1.0 };
781 namespace DynamicPropertyValue
814 virtual double getValue()
const = 0;
815 virtual void setValue(
double value) = 0;
909 virtual const FormatMetadata & getFormatMetadata() const noexcept = 0;
915 virtual
void getValue(
double(&vec4)[4]) const noexcept = 0;
916 virtual
void setValue(const
double(&vec4)[4]) noexcept = 0;
959 virtual const FormatMetadata & getFormatMetadata() const noexcept = 0;
965 virtual
void getGamma(
double(&
values)[4]) const noexcept = 0;
973 virtual
void setGamma(const
double(&
values)[4]) noexcept = 0;
975 virtual
void getOffset(
double(&
values)[4]) const noexcept = 0;
982 virtual
void setOffset(const
double(&
values)[4]) noexcept = 0;
1017 virtual const FormatMetadata & getFormatMetadata() const noexcept = 0;
1027 virtual
double getExposure() const = 0;
1032 virtual
void setExposure(
double exposure) = 0;
1037 virtual
bool isExposureDynamic() const = 0;
1038 virtual
void makeExposureDynamic() = 0;
1039 virtual
void makeExposureNonDynamic() = 0;
1041 virtual
double getContrast() const = 0;
1048 virtual
void setContrast(
double contrast) = 0;
1053 virtual
bool isContrastDynamic() const = 0;
1054 virtual
void makeContrastDynamic() = 0;
1055 virtual
void makeContrastNonDynamic() = 0;
1057 virtual
double getGamma() const = 0;
1058 virtual
void setGamma(
double gamma) = 0;
1063 virtual
bool isGammaDynamic() const = 0;
1064 virtual
void makeGammaDynamic() = 0;
1065 virtual
void makeGammaNonDynamic() = 0;
1067 virtual
double getPivot() const = 0;
1074 virtual
void setPivot(
double pivot) = 0;
1076 virtual
double getLogExposureStep() const = 0;
1083 virtual
void setLogExposureStep(
double logExposureStep) = 0;
1085 virtual
double getLogMidGray() const = 0;
1092 virtual
void setLogMidGray(
double logMidGray) = 0;
1105 extern
OCIOEXPORT std::ostream & operator<<(std::ostream &,
1122 void validate()
const override;
1124 const char * getSrc()
const;
1125 void setSrc(
const char * src);
1131 const char * getCCCId()
const;
1132 void setCCCId(
const char *
id);
1151 static int GetNumFormats();
1153 static const char * GetFormatNameByIndex(
int index);
1155 static const char * GetFormatExtensionByIndex(
int index);
1162 static bool IsFormatExtensionSupported(
const char *
extension);
1176 Impl * getImpl() {
return m_impl; }
1177 const Impl * getImpl()
const {
return m_impl; }
1197 virtual const FormatMetadata & getFormatMetadata() const noexcept = 0;
1207 virtual
size_t getNumParams() const = 0;
1208 virtual
void getParams(
double * params) const = 0;
1210 virtual
void setParams(const
double * params,
size_t num) = 0;
1248 virtual const FormatMetadata & getFormatMetadata() const noexcept = 0;
1257 virtual
void setStyle(
GradingStyle style) noexcept = 0;
1267 virtual
bool isDynamic() const noexcept = 0;
1268 virtual
void makeDynamic() noexcept = 0;
1269 virtual
void makeNonDynamic() noexcept = 0;
1333 virtual const FormatMetadata & getFormatMetadata() const noexcept = 0;
1343 virtual
void setStyle(
GradingStyle style) noexcept = 0;
1360 virtual
bool slopesAreDefault(
HueCurveType c) const = 0;
1374 virtual
bool isDynamic() const noexcept = 0;
1375 virtual
void makeDynamic() noexcept = 0;
1376 virtual
void makeNonDynamic() noexcept = 0;
1411 virtual const FormatMetadata & getFormatMetadata() const noexcept = 0;
1420 virtual
void setStyle(
GradingStyle style) noexcept = 0;
1434 virtual
float getSlope(
RGBCurveType c,
size_t index) const = 0;
1435 virtual
void setSlope(
RGBCurveType c,
size_t index,
float slope) = 0;
1436 virtual
bool slopesAreDefault(
RGBCurveType c) const = 0;
1443 virtual
bool getBypassLinToLog() const = 0;
1444 virtual
void setBypassLinToLog(
bool bypass) = 0;
1450 virtual
bool isDynamic() const noexcept = 0;
1451 virtual
void makeDynamic() noexcept = 0;
1452 virtual
void makeNonDynamic() noexcept = 0;
1497 virtual const FormatMetadata & getFormatMetadata() const noexcept = 0;
1505 virtual
void setStyle(
GradingStyle style) noexcept = 0;
1508 virtual
void setValue(const
GradingTone & values) = 0;
1514 virtual
bool isDynamic() const noexcept = 0;
1515 virtual
void makeDynamic() noexcept = 0;
1516 virtual
void makeNonDynamic() noexcept = 0;
1535 virtual const FormatMetadata & getFormatMetadata()
const noexcept = 0;
1545 virtual int getNumTransforms()
const noexcept = 0;
1549 virtual void prependTransform(
TransformRcPtr transform) noexcept = 0;
1572 const char * formatName,
1573 std::ostream & os)
const = 0;
1576 static int GetNumWriteFormats() noexcept;
1579 static const char * GetFormatNameByIndex(
int index) noexcept;
1580 static const char * GetFormatExtensionByIndex(
int index) noexcept;
1611 virtual const FormatMetadata & getFormatMetadata() const noexcept = 0;
1617 virtual
double getBase() const noexcept = 0;
1618 virtual
void setBase(
double base) noexcept = 0;
1622 virtual
void getLogSideSlopeValue(
double(&values)[3]) const noexcept = 0;
1623 virtual
void setLogSideSlopeValue(const
double(&values)[3]) noexcept = 0;
1624 virtual
void getLogSideOffsetValue(
double(&values)[3]) const noexcept = 0;
1625 virtual
void setLogSideOffsetValue(const
double(&values)[3]) noexcept = 0;
1626 virtual
void getLinSideSlopeValue(
double(&values)[3]) const noexcept = 0;
1627 virtual
void setLinSideSlopeValue(const
double(&values)[3]) noexcept = 0;
1628 virtual
void getLinSideOffsetValue(
double(&values)[3]) const noexcept = 0;
1629 virtual
void setLinSideOffsetValue(const
double(&values)[3]) noexcept = 0;
1660 virtual const FormatMetadata & getFormatMetadata() const noexcept = 0;
1666 virtual
double getBase() const noexcept = 0;
1667 virtual
void setBase(
double base) noexcept = 0;
1670 virtual
void getLogSideSlopeValue(
double(&values)[3]) const noexcept = 0;
1671 virtual
void setLogSideSlopeValue(const
double(&values)[3]) noexcept = 0;
1672 virtual
void getLogSideOffsetValue(
double(&values)[3]) const noexcept = 0;
1673 virtual
void setLogSideOffsetValue(const
double(&values)[3]) noexcept = 0;
1674 virtual
void getLinSideSlopeValue(
double(&values)[3]) const noexcept = 0;
1675 virtual
void setLinSideSlopeValue(const
double(&values)[3]) noexcept = 0;
1676 virtual
void getLinSideOffsetValue(
double(&values)[3]) const noexcept = 0;
1677 virtual
void setLinSideOffsetValue(const
double(&values)[3]) noexcept = 0;
1678 virtual
void getLinSideBreakValue(
double(&values)[3]) const noexcept = 0;
1679 virtual
void setLinSideBreakValue(const
double(&values)[3]) noexcept = 0;
1682 virtual
bool getLinearSlopeValue(
double(&values)[3]) const = 0;
1689 virtual
void setLinearSlopeValue(const
double(&values)[3]) = 0;
1691 virtual
void unsetLinearSlopeValue() = 0;
1719 virtual const FormatMetadata & getFormatMetadata() const noexcept = 0;
1723 virtual
bool equals(const
LogTransform & other) const noexcept = 0;
1725 virtual
double getBase() const noexcept = 0;
1726 virtual
void setBase(
double val) noexcept = 0;
1753 void validate()
const override;
1755 const char * getSrc()
const;
1756 void setSrc(
const char * src);
1758 const char * getDst()
const;
1759 void setDst(
const char *
dst);
1768 void setLooks(
const char * looks);
1770 bool getSkipColorSpaceConversion()
const;
1771 void setSkipColorSpaceConversion(
bool skip);
1779 static const char * GetLooksResultColorSpace(
const ConstConfigRcPtr & config,
1781 const char * looks);
1795 Impl * getImpl() {
return m_impl; }
1796 const Impl * getImpl()
const {
return m_impl; }
1818 virtual BitDepth getFileOutputBitDepth() const noexcept = 0;
1826 virtual
void setFileOutputBitDepth(
BitDepth bitDepth) noexcept = 0;
1828 virtual const
FormatMetadata & getFormatMetadata() const noexcept = 0;
1832 virtual
bool equals(const
Lut1DTransform & other) const noexcept = 0;
1834 virtual
unsigned long getLength() const = 0;
1839 virtual
void setLength(
unsigned long length) = 0;
1841 virtual
void getValue(
unsigned long index,
float &
r,
float &
g,
float &
b) const = 0;
1858 virtual
void setValue(
unsigned long index,
float r,
float g,
float b) = 0;
1860 virtual
bool getInputHalfDomain() const noexcept = 0;
1867 virtual
void setInputHalfDomain(
bool isHalfDomain) noexcept = 0;
1869 virtual
bool getOutputRawHalfs() const noexcept = 0;
1881 virtual
void setOutputRawHalfs(
bool isRawHalfs) noexcept = 0;
1921 virtual BitDepth getFileOutputBitDepth() const noexcept = 0;
1929 virtual
void setFileOutputBitDepth(
BitDepth bitDepth) noexcept = 0;
1931 virtual const
FormatMetadata & getFormatMetadata() const noexcept = 0;
1935 virtual
bool equals(const
Lut3DTransform & other) const noexcept = 0;
1937 virtual
unsigned long getGridSize() const = 0;
1942 virtual
void setGridSize(
unsigned long gridSize) = 0;
1944 virtual
void getValue(
unsigned long indexR,
1945 unsigned long indexG,
1946 unsigned long indexB,
1947 float & r,
float & g,
float & b) const = 0;
1960 virtual
void setValue(
unsigned long indexR,
1961 unsigned long indexG,
1962 unsigned long indexB,
1963 float r,
float g,
float b) = 0;
1992 virtual const FormatMetadata & getFormatMetadata() const noexcept = 0;
1996 virtual
bool equals(const
MatrixTransform & other) const noexcept = 0;
1998 virtual
void getMatrix(
double * m44) const = 0;
2013 virtual
void setMatrix(const
double * m44) = 0;
2015 virtual
void getOffset(
double * offset4) const = 0;
2026 virtual
void setOffset(const
double * offset4) = 0;
2039 virtual
BitDepth getFileInputBitDepth() const noexcept = 0;
2040 virtual
void setFileInputBitDepth(
BitDepth bitDepth) noexcept = 0;
2041 virtual
BitDepth getFileOutputBitDepth() const noexcept = 0;
2042 virtual
void setFileOutputBitDepth(
BitDepth bitDepth) noexcept = 0;
2052 static
void Fit(
double * m44,
double* offset4,
2053 const
double * oldmin4, const
double * oldmax4,
2054 const
double * newmin4, const
double * newmax4);
2056 static
void Identity(
double * m44,
double * offset4);
2058 static
void Sat(
double * m44,
double * offset4,
2059 double sat, const
double * lumaCoef3);
2061 static
void Scale(
double * m44,
double * offset4,
2062 const
double * scale4);
2064 static
void View(
double * m44,
double * offset4,
2066 const
double * lumaCoef3);
2107 virtual RangeStyle getStyle() const noexcept = 0;
2109 virtual
void setStyle(
RangeStyle style) noexcept = 0;
2111 virtual const
FormatMetadata & getFormatMetadata() const noexcept = 0;
2115 virtual
bool equals(const
RangeTransform & other) const noexcept = 0;
2130 virtual
BitDepth getFileInputBitDepth() const noexcept = 0;
2131 virtual
void setFileInputBitDepth(
BitDepth bitDepth) noexcept = 0;
2132 virtual
BitDepth getFileOutputBitDepth() const noexcept = 0;
2133 virtual
void setFileOutputBitDepth(
BitDepth bitDepth) noexcept = 0;
2147 virtual
double getMinInValue() const noexcept = 0;
2149 virtual
void setMinInValue(
double val) noexcept = 0;
2151 virtual
bool hasMinInValue() const noexcept = 0;
2153 virtual
void unsetMinInValue() noexcept = 0;
2156 virtual
void setMaxInValue(
double val) noexcept = 0;
2158 virtual
double getMaxInValue() const noexcept = 0;
2160 virtual
bool hasMaxInValue() const noexcept = 0;
2162 virtual
void unsetMaxInValue() noexcept = 0;
2165 virtual
void setMinOutValue(
double val) noexcept = 0;
2167 virtual
double getMinOutValue() const noexcept = 0;
2169 virtual
bool hasMinOutValue() const noexcept = 0;
2171 virtual
void unsetMinOutValue() noexcept = 0;
2174 virtual
void setMaxOutValue(
double val) noexcept = 0;
2176 virtual
double getMaxOutValue() const noexcept = 0;
2178 virtual
bool hasMaxOutValue() const noexcept = 0;
2180 virtual
void unsetMaxOutValue() noexcept = 0;
OCIO_SHARED_PTR< DisplayViewTransform > DisplayViewTransformRcPtr
2D control point used by GradingBSplineCurve.
PXL_API const char * getDescription(const ColorSpace *space)
Return the description of the color space.
OCIO_SHARED_PTR< LookTransform > LookTransformRcPtr
GradingControlPoint(float x, float y)
HueCurveType
Types for GradingHueCurve.
*get result *(waiting if necessary)*A common idiom is to fire a bunch of sub tasks at the and then *wait for them to all complete We provide a helper class
RangeStyle
A RangeTransform may be set to clamp the values, or not.
Algorithms for Scene Linear color spaces.
OCIO_SHARED_PTR< ExponentTransform > ExponentTransformRcPtr
GradingRGBMSW(const double(&rgbmsw)[6])
GLsizei const GLfloat * value
class OCIOEXPORT DynamicPropertyGradingHueCurve
OCIO_SHARED_PTR< DynamicPropertyGradingTone > DynamicPropertyGradingToneRcPtr
OCIO_SHARED_PTR< GradingHueCurve > GradingHueCurveRcPtr
Interface used to access dynamic property double value.
OCIO_SHARED_PTR< const Transform > ConstTransformRcPtr
OCIO_SHARED_PTR< AllocationTransform > AllocationTransformRcPtr
bool isIdentity(const MatType &m)
Determine if a matrix is an identity matrix.
GradingRGBM(const double(&rgbm)[4])
GLuint GLsizei GLsizei * length
OCIOEXPORT bool operator!=(const GradingRGBM &lhs, const GradingRGBM &rhs)
OCIO_SHARED_PTR< Lut1DTransform > Lut1DTransformRcPtr
OCIO_SHARED_PTR< LogCameraTransform > LogCameraTransformRcPtr
HSYTransformStyle
Types for GradingHueCurve.
GradingRGBMSW m_highlights
DynamicPropertyType
Types for dynamic properties.
GradingRGBM(double red, double green, double blue, double master)
GLenum GLenum GLsizei const GLuint GLboolean enabled
Interface used to access dynamic property GradingTone value.
GradingRGBMSW(double start, double width)
class OCIOEXPORT DynamicProperty
GLenum const GLfloat * params
OCIO_SHARED_PTR< FixedFunctionTransform > FixedFunctionTransformRcPtr
OCIOEXPORT DynamicPropertyGradingPrimaryRcPtr AsGradingPrimary(DynamicPropertyRcPtr &prop)
__hostdev__ float getValue(uint32_t i) const
OCIO_SHARED_PTR< DynamicPropertyGradingRGBCurve > DynamicPropertyGradingRGBCurveRcPtr
OCIO_SHARED_PTR< ExponentWithLinearTransform > ExponentWithLinearTransformRcPtr
class OCIOEXPORT LookTransform
OCIO_SHARED_PTR< ColorSpaceTransform > ColorSpaceTransformRcPtr
OCIO_SHARED_PTR< const Context > ConstContextRcPtr
Interface used to access dynamic property ConstGradingRGBCurveRcPtr value.
Algorithms for Logarithmic color spaces.
OCIO_SHARED_PTR< DynamicPropertyDouble > DynamicPropertyDoubleRcPtr
OCIO_SHARED_PTR< Lut3DTransform > Lut3DTransformRcPtr
OCIOEXPORT DynamicPropertyGradingRGBCurveRcPtr AsGradingRGBCurve(DynamicPropertyRcPtr &prop)
OCIO_SHARED_PTR< ExposureContrastTransform > ExposureContrastTransformRcPtr
PXL_API const char * getName(const ColorSpace *space)
Return the name of the color space.
OCIO_SHARED_PTR< LogTransform > LogTransformRcPtr
class OCIOEXPORT GroupTransform
class OCIOEXPORT GradingBSplineCurve
BSplineType
Types for GradingBSplineCurve.
class OCIOEXPORT Transform
OCIO_SHARED_PTR< GradingPrimaryTransform > GradingPrimaryTransformRcPtr
OCIO_SHARED_PTR< GradingBSplineCurve > GradingBSplineCurveRcPtr
OCIO_SHARED_PTR< DynamicPropertyGradingHueCurve > DynamicPropertyGradingHueCurveRcPtr
GLuint const GLchar * name
GradingTone(GradingStyle style)
class OCIOEXPORT GradingRGBCurve
GLboolean GLboolean GLboolean b
GradingPrimary(GradingStyle style)
GA_API const UT_StringHolder transform
OCIO_SHARED_PTR< GradingRGBCurve > GradingRGBCurveRcPtr
OCIO_SHARED_PTR< MatrixTransform > MatrixTransformRcPtr
OCIO_SHARED_PTR< Transform > TransformRcPtr
GradingStyle
Styles for grading transforms.
class OCIOEXPORT DynamicPropertyGradingPrimary
OCIO_SHARED_PTR< const Config > ConstConfigRcPtr
OCIO_SHARED_PTR< RangeTransform > RangeTransformRcPtr
OCIO_SHARED_PTR< GradingToneTransform > GradingToneTransformRcPtr
OCIO_SHARED_PTR< DynamicPropertyGradingPrimary > DynamicPropertyGradingPrimaryRcPtr
GLenum GLsizei GLsizei GLint * values
OCIOEXPORT bool operator==(const GradingRGBM &lhs, const GradingRGBM &rhs)
Interface used to access dynamic property GradingPrimary value.
LeafData & operator=(const LeafData &)=delete
OCIO_SHARED_PTR< BuiltinTransform > BuiltinTransformRcPtr
OCIO_SHARED_PTR< FileTransform > FileTransformRcPtr
OCIO_SHARED_PTR< const GradingHueCurve > ConstGradingHueCurveRcPtr
GA_API const UT_StringHolder pivot
class OCIOEXPORT GradingHueCurve
Lut1DHueAdjust
Used by :cpp:classLut1DTransform to control optional hue restoration algorithm.
OCIO_SHARED_PTR< const GradingBSplineCurve > ConstGradingBSplineCurveRcPtr
class OCIOEXPORT AllocationTransform
OCIOEXPORT DynamicPropertyGradingHueCurveRcPtr AsGradingHueCurve(DynamicPropertyRcPtr &prop)
OCIO_SHARED_PTR< LogAffineTransform > LogAffineTransformRcPtr
OCIOEXPORT std::ostream & operator<<(std::ostream &, const ColorSpaceMenuParameters &)
FixedFunctionStyle
Enumeration of the :cpp:class:FixedFunctionTransform transform algorithms.
OCIO_SHARED_PTR< GroupTransform > GroupTransformRcPtr
OCIOEXPORT DynamicPropertyDoubleRcPtr AsDouble(DynamicPropertyRcPtr &prop)
class OCIOEXPORT FileTransform
PXL_API void getLooks(UT_StringArray &looks)
Returns a list of looks (color transforms)
GradingRGBMSW(double red, double green, double blue, double master, double start, double width)
OCIO_SHARED_PTR< CDLTransform > CDLTransformRcPtr
class OCIOEXPORT DynamicPropertyGradingTone
OCIO_SHARED_PTR< GradingRGBCurveTransform > GradingRGBCurveTransformRcPtr
A BSpline curve defined with GradingControlPoint.
class OCIOEXPORT DisplayViewTransform
png_structrp int png_fixed_point red
OCIO_SHARED_PTR< const GradingRGBCurve > ConstGradingRGBCurveRcPtr
OCIO_SHARED_PTR< GradingHueCurveTransform > GradingHueCurveTransformRcPtr
Interface used to access dynamic property ConstGradingHueCurveRcPtr value.
RGBCurveType
Types for GradingRGBCurve.
class OCIOEXPORT DynamicPropertyDouble
OIIO_UTIL_API std::string extension(string_view filepath, bool include_dot=true) noexcept
OCIOEXPORT DynamicPropertyGradingToneRcPtr AsGradingTone(DynamicPropertyRcPtr &prop)
ExposureContrastStyle
Enumeration of the :cpp:class:ExposureContrastTransform transform algorithms.
OCIO_SHARED_PTR< DynamicProperty > DynamicPropertyRcPtr
class OCIOEXPORT DynamicPropertyGradingRGBCurve