#include <OpenColorIO.h>
Definition at line 2463 of file OpenColorIO.h.
OCIO_NAMESPACE::CPUProcessor::~CPUProcessor |
( |
| ) |
|
Do not use (needed only for pybind11).
Apply to an image with any kind of channel ordering while respecting the input and output bit-depths.
void OCIO_NAMESPACE::CPUProcessor::applyRGB |
( |
float * |
pixel | ) |
const |
Apply to a single pixel respecting that the input and output bit-depths be 32-bit float and the image buffer be packed RGB/RGBA.
- Note
- This is not as efficient as applying to an entire image at once. If you are processing multiple pixels, and have the flexibility, use the above function instead.
void OCIO_NAMESPACE::CPUProcessor::applyRGBA |
( |
float * |
pixel | ) |
const |
const char* OCIO_NAMESPACE::CPUProcessor::getCacheID |
( |
| ) |
const |
The returned pointer may be used to set the 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.
- Note
- The dynamic properties in this object are decoupled from the ones in the Processor it was generated from. For each dynamic property in the Processor, there is one in the CPU processor.
BitDepth OCIO_NAMESPACE::CPUProcessor::getInputBitDepth |
( |
| ) |
const |
Bit-depth of the input pixel buffer.
BitDepth OCIO_NAMESPACE::CPUProcessor::getOutputBitDepth |
( |
| ) |
const |
Bit-depth of the output pixel buffer.
bool OCIO_NAMESPACE::CPUProcessor::hasChannelCrosstalk |
( |
| ) |
const |
bool OCIO_NAMESPACE::CPUProcessor::isIdentity |
( |
| ) |
const |
Equivalent to isNoOp from the underlying Processor, i.e., it ignores in/out bit-depth differences.
bool OCIO_NAMESPACE::CPUProcessor::isNoOp |
( |
| ) |
const |
The in and out bit-depths must be equal for isNoOp to be true.
The documentation for this class was generated from the following file: