|
Blender V5.0
|
Public Member Functions | |
| template<typename MaskSampler> | |
| void | apply (uchar *image, MaskSampler &mask, int image_x, IndexRange y_range) |
| template<typename MaskSampler> | |
| void | apply (float *image, MaskSampler &mask, int image_x, IndexRange y_range) |
| void | init_lgg (const StripColorBalance &data) |
| void | init_sop (const StripColorBalance &data) |
| void | init (const ColorBalanceModifierData &data, bool byte_image) |
Public Attributes | |
| int | method |
| float3 | lift |
| float3 | gain |
| float3 | gamma |
| float3 | slope |
| float3 | offset |
| float3 | power |
| float | multiplier |
| float | lut [3][CB_TABLE_SIZE] |
Definition at line 80 of file MOD_color_balance.cc.
|
inline |
Definition at line 115 of file MOD_color_balance.cc.
References BLI_assert_unreachable, blender::seq::color_balance_lgg(), blender::seq::color_balance_sop(), blender::IndexRange::first(), input, blender::seq::load_pixel_premul(), mask(), result, SEQ_COLOR_BALANCE_METHOD_LIFTGAMMAGAIN, SEQ_COLOR_BALANCE_METHOD_SLOPEOFFSETPOWER, blender::seq::store_pixel_premul(), x, and y.
|
inline |
Definition at line 89 of file MOD_color_balance.cc.
References blender::seq::CB_TABLE_SIZE, blender::IndexRange::first(), input, blender::seq::load_pixel_premul(), mask(), result, blender::seq::store_pixel_premul(), x, and y.
|
inline |
Definition at line 211 of file MOD_color_balance.cc.
References BLI_assert_unreachable, data, init_lgg(), init_sop(), blender::seq::make_cb_table_lgg(), blender::seq::make_cb_table_sop(), SEQ_COLOR_BALANCE_METHOD_LIFTGAMMAGAIN, and SEQ_COLOR_BALANCE_METHOD_SLOPEOFFSETPOWER.
Referenced by blender::seq::colorBalance_apply().
|
inline |
Definition at line 164 of file MOD_color_balance.cc.
References BLI_assert, data, blender::math::max(), powf, blender::math::rcp(), SEQ_COLOR_BALANCE_INVERSE_GAIN, SEQ_COLOR_BALANCE_INVERSE_GAMMA, SEQ_COLOR_BALANCE_INVERSE_LIFT, and SEQ_COLOR_BALANCE_METHOD_LIFTGAMMAGAIN.
Referenced by init().
|
inline |
Definition at line 191 of file MOD_color_balance.cc.
References BLI_assert, data, blender::math::max(), blender::math::rcp(), SEQ_COLOR_BALANCE_INVERSE_OFFSET, SEQ_COLOR_BALANCE_INVERSE_POWER, SEQ_COLOR_BALANCE_INVERSE_SLOPE, and SEQ_COLOR_BALANCE_METHOD_SLOPEOFFSETPOWER.
Referenced by init().
| float3 blender::seq::ColorBalanceApplyOp::gain |
Definition at line 82 of file MOD_color_balance.cc.
| float3 blender::seq::ColorBalanceApplyOp::gamma |
Definition at line 82 of file MOD_color_balance.cc.
| float3 blender::seq::ColorBalanceApplyOp::lift |
Definition at line 82 of file MOD_color_balance.cc.
| float blender::seq::ColorBalanceApplyOp::lut[3][CB_TABLE_SIZE] |
Definition at line 85 of file MOD_color_balance.cc.
| int blender::seq::ColorBalanceApplyOp::method |
Definition at line 81 of file MOD_color_balance.cc.
| float blender::seq::ColorBalanceApplyOp::multiplier |
Definition at line 84 of file MOD_color_balance.cc.
| float3 blender::seq::ColorBalanceApplyOp::offset |
Definition at line 83 of file MOD_color_balance.cc.
| float3 blender::seq::ColorBalanceApplyOp::power |
Definition at line 83 of file MOD_color_balance.cc.
| float3 blender::seq::ColorBalanceApplyOp::slope |
Definition at line 83 of file MOD_color_balance.cc.