Blender  V2.93
Macros | Functions
colormanagement_inline.c File Reference
#include "BLI_math_vector.h"
#include "IMB_colormanagement_intern.h"

Go to the source code of this file.

Macros

#define __IMB_COLORMANAGEMENT_INLINE_C__
 

Functions

float IMB_colormanagement_get_luminance (const float rgb[3])
 
unsigned char IMB_colormanagement_get_luminance_byte (const unsigned char rgb[3])
 
void IMB_colormangement_xyz_to_rgb (float rgb[3], const float xyz[3])
 
void IMB_colormangement_rgb_to_xyz (float xyz[3], const float rgb[3])
 

Macro Definition Documentation

◆ __IMB_COLORMANAGEMENT_INLINE_C__

#define __IMB_COLORMANAGEMENT_INLINE_C__

Definition at line 25 of file colormanagement_inline.c.

Function Documentation

◆ IMB_colormanagement_get_luminance()

float IMB_colormanagement_get_luminance ( const float  rgb[3])

◆ IMB_colormanagement_get_luminance_byte()

unsigned char IMB_colormanagement_get_luminance_byte ( const unsigned char  rgb[3])

◆ IMB_colormangement_rgb_to_xyz()

void IMB_colormangement_rgb_to_xyz ( float  xyz[3],
const float  rgb[3] 
)

Definition at line 63 of file colormanagement_inline.c.

References imbuf_rgb_to_xyz, and mul_v3_m3v3().

◆ IMB_colormangement_xyz_to_rgb()

void IMB_colormangement_xyz_to_rgb ( float  rgb[3],
const float  xyz[3] 
)

Definition at line 58 of file colormanagement_inline.c.

References imbuf_xyz_to_rgb, and mul_v3_m3v3().