Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Castilla <manzanillawork@gmail.com>2021-10-14 00:01:15 +0300
committerManuel Castilla <manzanillawork@gmail.com>2021-10-14 00:41:14 +0300
commit1c42d4930a24d639b3aa561b9a8b4bbce05977e0 (patch)
tree68c2aae3fd5ae98b78708bea28c0b55d3f4fb5f0 /source/blender/compositor/operations/COM_ChannelMatteOperation.h
parenta2ee3c3a9f01f5cb2f05f1e84a1b6c1931d9d4a4 (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_ChannelMatteOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_ChannelMatteOperation.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/source/blender/compositor/operations/COM_ChannelMatteOperation.h b/source/blender/compositor/operations/COM_ChannelMatteOperation.h
index f7bf58b99c5..64b173885d5 100644
--- a/source/blender/compositor/operations/COM_ChannelMatteOperation.h
+++ b/source/blender/compositor/operations/COM_ChannelMatteOperation.h
@@ -28,7 +28,7 @@ namespace blender::compositor {
*/
class ChannelMatteOperation : public MultiThreadedOperation {
private:
- SocketReader *inputImageProgram_;
+ SocketReader *input_image_program_;
/* int color_space_; */ /* node->custom1 */ /* UNUSED */ /* TODO ? */
int matte_channel_; /* node->custom2 */
@@ -58,17 +58,17 @@ class ChannelMatteOperation : public MultiThreadedOperation {
/**
* 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;
- void initExecution() override;
- void deinitExecution() override;
+ void init_execution() override;
+ void deinit_execution() override;
- void setSettings(NodeChroma *nodeChroma, const int custom2)
+ void set_settings(NodeChroma *node_chroma, const int custom2)
{
- limit_max_ = nodeChroma->t1;
- limit_min_ = nodeChroma->t2;
- limit_method_ = nodeChroma->algorithm;
- limit_channel_ = nodeChroma->channel;
+ limit_max_ = node_chroma->t1;
+ limit_min_ = node_chroma->t2;
+ limit_method_ = node_chroma->algorithm;
+ limit_channel_ = node_chroma->channel;
matte_channel_ = custom2;
}