diff options
author | Manuel Castilla <manzanillawork@gmail.com> | 2021-10-14 00:01:15 +0300 |
---|---|---|
committer | Manuel Castilla <manzanillawork@gmail.com> | 2021-10-14 00:41:14 +0300 |
commit | 1c42d4930a24d639b3aa561b9a8b4bbce05977e0 (patch) | |
tree | 68c2aae3fd5ae98b78708bea28c0b55d3f4fb5f0 /source/blender/compositor/operations/COM_ColorBalanceLGGOperation.h | |
parent | a2ee3c3a9f01f5cb2f05f1e84a1b6c1931d9d4a4 (diff) |
Cleanup: convert camelCase naming to snake_case in Compositor
To convert old code to the current convention and
use a single code style.
Diffstat (limited to 'source/blender/compositor/operations/COM_ColorBalanceLGGOperation.h')
-rw-r--r-- | source/blender/compositor/operations/COM_ColorBalanceLGGOperation.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/source/blender/compositor/operations/COM_ColorBalanceLGGOperation.h b/source/blender/compositor/operations/COM_ColorBalanceLGGOperation.h index 9393f635f9e..738669e71f9 100644 --- a/source/blender/compositor/operations/COM_ColorBalanceLGGOperation.h +++ b/source/blender/compositor/operations/COM_ColorBalanceLGGOperation.h @@ -29,10 +29,10 @@ namespace blender::compositor { class ColorBalanceLGGOperation : public MultiThreadedRowOperation { protected: /** - * Prefetched reference to the inputProgram + * Prefetched reference to the input_program */ - SocketReader *inputValueOperation_; - SocketReader *inputColorOperation_; + SocketReader *input_value_operation_; + SocketReader *input_color_operation_; float gain_[3]; float lift_[3]; @@ -47,27 +47,27 @@ class ColorBalanceLGGOperation : public MultiThreadedRowOperation { /** * The inner loop of this operation. */ - void executePixelSampled(float output[4], float x, float y, PixelSampler sampler) override; + void execute_pixel_sampled(float output[4], float x, float y, PixelSampler sampler) override; /** * Initialize the execution */ - void initExecution() override; + void init_execution() override; /** * Deinitialize the execution */ - void deinitExecution() override; + void deinit_execution() override; - void setGain(const float gain[3]) + void set_gain(const float gain[3]) { copy_v3_v3(gain_, gain); } - void setLift(const float lift[3]) + void set_lift(const float lift[3]) { copy_v3_v3(lift_, lift); } - void setGammaInv(const float gamma_inv[3]) + void set_gamma_inv(const float gamma_inv[3]) { copy_v3_v3(gamma_inv_, gamma_inv); } |