|
Blender V5.3
|
#include <libocio_cpu_processor.hh>
Inherits blender::ocio::CPUProcessor.
Public Member Functions | |
| LibOCIOCPUProcessor (const OCIO_NAMESPACE::ConstCPUProcessorRcPtr &ocio_cpu_processor) | |
| bool | is_noop () const override |
| void | apply_rgb (float rgb[3]) const override |
| void | apply_rgba (float rgba[4]) const override |
| void | apply_rgba_predivide (float rgba[4]) const override |
| void | apply (const PackedImage &image) const override |
| void | apply_predivide (const PackedImage &image) const override |
| MEM_CXX_CLASS_ALLOC_FUNCS ("LibOCIOCPUProcessor") | |
| Public Member Functions inherited from blender::ocio::CPUProcessor | |
| virtual | ~CPUProcessor ()=default |
Definition at line 15 of file libocio_cpu_processor.hh.
|
explicit |
Definition at line 15 of file libocio_cpu_processor.cc.
References blender::BLI_assert().
|
overridevirtual |
Apply processor on every pixel of the image with straight (un-premultiplied) alpha.
Implements blender::ocio::CPUProcessor.
Definition at line 53 of file libocio_cpu_processor.cc.
References blender::ocio::BIT_DEPTH_F32, and blender::ocio::report_exception().
Referenced by apply_predivide().
|
overridevirtual |
Apply processor on every pixel of the image with associated (premultiplied) alpha.
Implements blender::ocio::CPUProcessor.
Definition at line 68 of file libocio_cpu_processor.cc.
References apply(), blender::ocio::BIT_DEPTH_F32, and ELEM.
|
overridevirtual |
Apply the processor on a single pixel. The pixel is modified in-place.
Implements blender::ocio::CPUProcessor.
Definition at line 22 of file libocio_cpu_processor.cc.
|
overridevirtual |
Apply the processor on a single pixel with straight (un-premultiplied) alpha. The pixel is modified in-place.
Implements blender::ocio::CPUProcessor.
Definition at line 27 of file libocio_cpu_processor.cc.
Referenced by apply_rgba_predivide().
|
overridevirtual |
Apply the processor on a single pixel with associated (premultiplied) alpha. The pixel is modified in-place.
Implements blender::ocio::CPUProcessor.
Definition at line 32 of file libocio_cpu_processor.cc.
References apply_rgba(), and ELEM.
|
inlineoverridevirtual |
Returns true if the processor is known to not perform any actual color space conversion.
Implements blender::ocio::CPUProcessor.
Definition at line 21 of file libocio_cpu_processor.hh.
| blender::ocio::LibOCIOCPUProcessor::MEM_CXX_CLASS_ALLOC_FUNCS | ( | "LibOCIOCPUProcessor" | ) |