|
Blender V5.0
|
#include <OCIO_cpu_processor.hh>
Inherited by blender::ocio::FallbackCustomCPUProcessor< linearrgb_to_srgb_v3_v3 >, blender::ocio::FallbackCustomCPUProcessor< srgb_to_linearrgb_v3_v3 >, blender::ocio::FallbackCustomCPUProcessor< pixel_processor >, and blender::ocio::FallbackNOOPCPUProcessor.
Public Member Functions | |
| virtual | ~CPUProcessor ()=default |
| virtual bool | is_noop () const =0 |
| virtual void | apply_rgb (float rgb[3]) const =0 |
| virtual void | apply_rgba (float rgba[4]) const =0 |
| virtual void | apply_rgba_predivide (float rgba[4]) const =0 |
| virtual void | apply (const PackedImage &image) const =0 |
| virtual void | apply_predivide (const PackedImage &image) const =0 |
Definition at line 11 of file OCIO_cpu_processor.hh.
|
virtualdefault |
|
pure virtual |
Apply processor on every pixel of the image with straight (un-premultiplied) alpha.
Implemented in blender::ocio::FallbackCustomCPUProcessor< pixel_processor >, blender::ocio::FallbackCustomCPUProcessor< linearrgb_to_srgb_v3_v3 >, blender::ocio::FallbackCustomCPUProcessor< srgb_to_linearrgb_v3_v3 >, and blender::ocio::FallbackNOOPCPUProcessor.
Referenced by IMB_colormanagement_colorspace_to_scene_linear(), and IMB_colormanagement_scene_linear_to_colorspace().
|
pure virtual |
Apply processor on every pixel of the image with associated (premultiplied) alpha.
Implemented in blender::ocio::FallbackCustomCPUProcessor< pixel_processor >, blender::ocio::FallbackCustomCPUProcessor< linearrgb_to_srgb_v3_v3 >, blender::ocio::FallbackCustomCPUProcessor< srgb_to_linearrgb_v3_v3 >, and blender::ocio::FallbackNOOPCPUProcessor.
Referenced by IMB_colormanagement_colorspace_to_scene_linear().
|
pure virtual |
Apply the processor on a single pixel. The pixel is modified in-place.
Implemented in blender::ocio::FallbackCustomCPUProcessor< pixel_processor >, blender::ocio::FallbackCustomCPUProcessor< linearrgb_to_srgb_v3_v3 >, blender::ocio::FallbackCustomCPUProcessor< srgb_to_linearrgb_v3_v3 >, and blender::ocio::FallbackNOOPCPUProcessor.
Referenced by IMB_colormanagement_colorspace_to_scene_linear_v3(), IMB_colormanagement_display_to_scene_linear_v3(), IMB_colormanagement_imbuf_to_float_texture(), IMB_colormanagement_scene_linear_to_colorspace_v3(), and IMB_colormanagement_scene_linear_to_display_v3().
|
pure virtual |
Apply the processor on a single pixel with straight (un-premultiplied) alpha. The pixel is modified in-place.
Implemented in blender::ocio::FallbackCustomCPUProcessor< pixel_processor >, blender::ocio::FallbackCustomCPUProcessor< linearrgb_to_srgb_v3_v3 >, blender::ocio::FallbackCustomCPUProcessor< srgb_to_linearrgb_v3_v3 >, and blender::ocio::FallbackNOOPCPUProcessor.
Referenced by IMB_colormanagement_colorspace_to_scene_linear_v4().
|
pure virtual |
Apply the processor on a single pixel with associated (premultiplied) alpha. The pixel is modified in-place.
Implemented in blender::ocio::FallbackCustomCPUProcessor< pixel_processor >, blender::ocio::FallbackCustomCPUProcessor< linearrgb_to_srgb_v3_v3 >, blender::ocio::FallbackCustomCPUProcessor< srgb_to_linearrgb_v3_v3 >, and blender::ocio::FallbackNOOPCPUProcessor.
Referenced by IMB_colormanagement_colorspace_to_scene_linear_v4().
|
pure virtual |
Returns true if the processor is known to not perform any actual color space conversion.
Implemented in blender::ocio::FallbackCustomCPUProcessor< pixel_processor >, blender::ocio::FallbackCustomCPUProcessor< linearrgb_to_srgb_v3_v3 >, blender::ocio::FallbackCustomCPUProcessor< srgb_to_linearrgb_v3_v3 >, and blender::ocio::FallbackNOOPCPUProcessor.