Blender V5.3
blender::ColormanageProcessor Class Reference

#include <IMB_colormanagement.hh>

Inherits blender::blender::NonCopyable.

Public Member Functions

 ColormanageProcessor ()=default

Pixel Processor Functions

 ColormanageProcessor (ColormanageProcessor &&other) noexcept
 ~ColormanageProcessor ()
ColormanageProcessor & operator= (ColormanageProcessor &&other) noexcept
bool is_data_result () const
bool is_noop () const
void apply_v4 (float pixel[4]) const
void apply_v4_predivide (float pixel[4]) const
void apply_v3 (float pixel[3]) const
void apply_pixel (float *pixel, int channels) const
void apply (float *buffer, int width, int height, int channels, bool predivide) const
void apply_byte (unsigned char *buffer, int width, int height, int channels) const
static ColormanageProcessor colorspace_processor_new (StringRefNull from_colorspace, StringRefNull to_colorspace)
static ColormanageProcessor colorspace_processor_from_scene_linear_new (const ColorSpace &to_colorspace)
static ColormanageProcessor colorspace_processor_to_scene_linear_new (const ColorSpace &from_colorspace)
static ColormanageProcessor display_processor_new (const ColorManagedViewSettings *view_settings, const ColorManagedDisplaySettings *display_settings, ColorManagedDisplaySpace display_space=DISPLAY_SPACE_DRAW, bool inverse=false, const char *from_colorspace=nullptr)
static std::optional< ColormanageProcessor > display_processor_for_imbuf (const ImBuf *ibuf, const ColorManagedViewSettings *view_settings, const ColorManagedDisplaySettings *display_settings, ColorManagedDisplaySpace display_space=DISPLAY_SPACE_DRAW)

Detailed Description

Definition at line 529 of file IMB_colormanagement.hh.

Constructor & Destructor Documentation

◆ ColormanageProcessor() [1/2]

◆ ColormanageProcessor() [2/2]

blender::ColormanageProcessor::ColormanageProcessor ( ColormanageProcessor && other)
noexcept

Definition at line 3870 of file colormanagement.cc.

References ColormanageProcessor().

◆ ~ColormanageProcessor()

blender::ColormanageProcessor::~ColormanageProcessor ( )

Member Function Documentation

◆ apply()

◆ apply_byte()

void blender::ColormanageProcessor::apply_byte ( unsigned char * buffer,
int width,
int height,
int channels ) const

◆ apply_pixel()

◆ apply_v3()

void blender::ColormanageProcessor::apply_v3 ( float pixel[3]) const

◆ apply_v4()

◆ apply_v4_predivide()

void blender::ColormanageProcessor::apply_v4_predivide ( float pixel[4]) const

◆ colorspace_processor_from_scene_linear_new()

◆ colorspace_processor_new()

◆ colorspace_processor_to_scene_linear_new()

◆ display_processor_for_imbuf()

◆ display_processor_new()

ColormanageProcessor blender::ColormanageProcessor::display_processor_new ( const ColorManagedViewSettings * view_settings,
const ColorManagedDisplaySettings * display_settings,
ColorManagedDisplaySpace display_space = DISPLAY_SPACE_DRAW,
bool inverse = false,
const char * from_colorspace = nullptr )
static

◆ is_data_result()

bool blender::ColormanageProcessor::is_data_result ( ) const

◆ is_noop()

◆ operator=()

ColormanageProcessor & blender::ColormanageProcessor::operator= ( ColormanageProcessor && other)
noexcept

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