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-08 02:09:26 +0300
committerManuel Castilla <manzanillawork@gmail.com>2021-10-08 02:29:02 +0300
commit4a22faf15a0cd027f724d515d06b24ba47cac03c (patch)
tree2f5fe18a57b9523eb1339284a05dab2d199d5db4 /source/blender/compositor/operations/COM_ColorCurveOperation.h
parent12a5a605572d742335a4978966444d393792cd28 (diff)
Cleanup: Convert camelCase naming to snake_case in Compositortemp-compositor-cleanups
To follow the style guide.
Diffstat (limited to 'source/blender/compositor/operations/COM_ColorCurveOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_ColorCurveOperation.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/source/blender/compositor/operations/COM_ColorCurveOperation.h b/source/blender/compositor/operations/COM_ColorCurveOperation.h
index 6f16c45d11e..eaebf1f3ff6 100644
--- a/source/blender/compositor/operations/COM_ColorCurveOperation.h
+++ b/source/blender/compositor/operations/COM_ColorCurveOperation.h
@@ -25,12 +25,12 @@ namespace blender::compositor {
class ColorCurveOperation : public CurveBaseOperation {
private:
/**
- * Cached reference to the inputProgram
+ * Cached reference to the input_program
*/
- SocketReader *inputFacProgram_;
- SocketReader *inputImageProgram_;
- SocketReader *inputBlackProgram_;
- SocketReader *inputWhiteProgram_;
+ SocketReader *input_fac_program_;
+ SocketReader *input_image_program_;
+ SocketReader *input_black_program_;
+ SocketReader *input_white_program_;
public:
ColorCurveOperation();
@@ -38,17 +38,17 @@ class ColorCurveOperation : public CurveBaseOperation {
/**
* 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 update_memory_buffer_partial(MemoryBuffer *output,
const rcti &area,
@@ -58,10 +58,10 @@ class ColorCurveOperation : public CurveBaseOperation {
class ConstantLevelColorCurveOperation : public CurveBaseOperation {
private:
/**
- * Cached reference to the inputProgram
+ * Cached reference to the input_program
*/
- SocketReader *inputFacProgram_;
- SocketReader *inputImageProgram_;
+ SocketReader *input_fac_program_;
+ SocketReader *input_image_program_;
float black_[3];
float white_[3];
@@ -71,23 +71,23 @@ class ConstantLevelColorCurveOperation : public CurveBaseOperation {
/**
* 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 setBlackLevel(float black[3])
+ void set_black_level(float black[3])
{
copy_v3_v3(black_, black);
}
- void setWhiteLevel(float white[3])
+ void set_white_level(float white[3])
{
copy_v3_v3(white_, white);
}