HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ColorProcessor Class Referenceabstract

#include <color.h>

Public Member Functions

 ColorProcessor ()
 
virtual ~ColorProcessor (void)
 
virtual bool isNoOp () const
 
virtual bool hasChannelCrosstalk () const
 
virtual void apply (float *data, int width, int height, int channels, stride_t chanstride, stride_t xstride, stride_t ystride) const =0
 
void apply (float *data)
 

Detailed Description

The ColorProcessor encapsulates a baked color transformation, suitable for application to raw pixels, or ImageBuf(s). These are generated using ColorConfig::createColorProcessor, and referenced in ImageBufAlgo (amongst other places)

Definition at line 51 of file color.h.

Constructor & Destructor Documentation

ColorProcessor::ColorProcessor ( )
inline

Definition at line 53 of file color.h.

virtual ColorProcessor::~ColorProcessor ( void  )
inlinevirtual

Definition at line 54 of file color.h.

Member Function Documentation

virtual void ColorProcessor::apply ( float *  data,
int  width,
int  height,
int  channels,
stride_t  chanstride,
stride_t  xstride,
stride_t  ystride 
) const
pure virtual
void ColorProcessor::apply ( float *  data)
inline

Definition at line 64 of file color.h.

virtual bool ColorProcessor::hasChannelCrosstalk ( ) const
inlinevirtual

Definition at line 56 of file color.h.

virtual bool ColorProcessor::isNoOp ( ) const
inlinevirtual

Definition at line 55 of file color.h.


The documentation for this class was generated from the following file: