|
Blender
V2.93
|
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]) |
| #define __IMB_COLORMANAGEMENT_INLINE_C__ |
Definition at line 25 of file colormanagement_inline.c.
Definition at line 41 of file colormanagement_inline.c.
References dot_v3v3(), and imbuf_luma_coefficients.
Referenced by BKE_histogram_update_sample_line(), blender::compositor::CalculateMeanOperation::calculateMean(), do_projectpaint_soften(), do_projectpaint_soften_f(), blender::compositor::SMAAEdgeDetectionOperation::executePixel(), blender::compositor::PhotoreceptorTonemapOperation::executePixel(), blender::compositor::ColorCorrectionOperation::executePixelSampled(), blender::compositor::ConvertColorToBWOperation::executePixelSampled(), blender::compositor::GlareThresholdOperation::executePixelSampled(), blender::compositor::LuminanceMatteOperation::executePixelSampled(), IMB_color_to_bw(), imb_savepng(), blender::compositor::CalculateStandardDeviationOperation::initializeTileData(), blender::compositor::TonemapOperation::initializeTileData(), make_waveform_view_from_ibuf_float(), node_shader_exec_rgbtobw(), paint_2d_lift_soften(), RE_texture_evaluate(), rgbtobw_valuefn(), scopes_update_cb(), tonemapmodifier_apply(), tonemapmodifier_apply_threaded_photoreceptor(), and ui_draw_but_CURVE().
| unsigned char IMB_colormanagement_get_luminance_byte | ( | const unsigned char | rgb[3] | ) |
Definition at line 47 of file colormanagement_inline.c.
References dot_v3v3(), imbuf_luma_coefficients, rgb_uchar_to_float(), and unit_float_to_uchar_clamp().
Referenced by BKE_histogram_update_sample_line(), IMB_color_to_bw(), make_waveform_view_from_ibuf_byte(), mcol_darken(), and mcol_lighten().
Definition at line 63 of file colormanagement_inline.c.
References imbuf_rgb_to_xyz, and mul_v3_m3v3().
Definition at line 58 of file colormanagement_inline.c.
References imbuf_xyz_to_rgb, and mul_v3_m3v3().