HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
color.h File Reference
#include <memory>
#include <OpenImageIO/export.h>
#include <OpenImageIO/fmath.h>
#include <OpenImageIO/imageio.h>
#include <OpenImageIO/oiioversion.h>
#include <OpenImageIO/typedesc.h>
#include <OpenImageIO/ustring.h>
#include <OpenEXR/ImathMatrix.h>
+ Include dependency graph for color.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ColorProcessor
 
class  ColorConfig
 

Macros

#define OIIO_HAS_COLORPROCESSOR   1
 
#define OIIO_COLORCONFIG_USES_SHARED_PTR   1
 

Typedefs

typedef std::shared_ptr
< ColorProcessor
ColorProcessorHandle
 

Functions

float sRGB_to_linear (float x)
 
simd::vfloat4 sRGB_to_linear (const simd::vfloat4 &x)
 
float linear_to_sRGB (float x)
 Utility – convert linear value to sRGB. More...
 
simd::vfloat4 linear_to_sRGB (const simd::vfloat4 &x)
 Utility – convert linear value to sRGB. More...
 
float Rec709_to_linear (float x)
 
float linear_to_Rec709 (float x)
 Utility – convert linear value to Rec709. More...
 

Macro Definition Documentation

#define OIIO_COLORCONFIG_USES_SHARED_PTR   1

Definition at line 80 of file color.h.

#define OIIO_HAS_COLORPROCESSOR   1

Definition at line 72 of file color.h.

Typedef Documentation

typedef std::shared_ptr<ColorProcessor> ColorProcessorHandle

Definition at line 76 of file color.h.

Function Documentation

float linear_to_Rec709 ( float  x)
inline

Utility – convert linear value to Rec709.

Definition at line 367 of file color.h.

float linear_to_sRGB ( float  x)
inline

Utility – convert linear value to sRGB.

Definition at line 335 of file color.h.

simd::vfloat4 linear_to_sRGB ( const simd::vfloat4 x)
inline

Utility – convert linear value to sRGB.

Definition at line 345 of file color.h.

float Rec709_to_linear ( float  x)
inline

Utility – convert Rec709 value to linear http://en.wikipedia.org/wiki/Rec._709

Definition at line 357 of file color.h.

float sRGB_to_linear ( float  x)
inline

Utility – convert sRGB value to linear http://en.wikipedia.org/wiki/SRGB

Definition at line 316 of file color.h.

simd::vfloat4 sRGB_to_linear ( const simd::vfloat4 x)
inline

Definition at line 325 of file color.h.