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/typedesc.h>
#include <OpenImageIO/ustring.h>
+ Include dependency graph for color.h:

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 52 of file color.h.

#define OIIO_HAS_COLORPROCESSOR   1

Definition at line 44 of file color.h.

Typedef Documentation

typedef std::shared_ptr<ColorProcessor> ColorProcessorHandle

Definition at line 48 of file color.h.

Function Documentation

float linear_to_Rec709 ( float  x)
inline

Utility – convert linear value to Rec709.

Definition at line 363 of file color.h.

float linear_to_sRGB ( float  x)
inline

Utility – convert linear value to sRGB.

Definition at line 331 of file color.h.

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

Utility – convert linear value to sRGB.

Definition at line 341 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 353 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 312 of file color.h.

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

Definition at line 321 of file color.h.