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_CalculateMeanOperation.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_CalculateMeanOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_CalculateMeanOperation.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/source/blender/compositor/operations/COM_CalculateMeanOperation.h b/source/blender/compositor/operations/COM_CalculateMeanOperation.h
index a34bab45211..7c4fafb2f27 100644
--- a/source/blender/compositor/operations/COM_CalculateMeanOperation.h
+++ b/source/blender/compositor/operations/COM_CalculateMeanOperation.h
@@ -39,7 +39,7 @@ class CalculateMeanOperation : public MultiThreadedOperation {
/**
* \brief Cached reference to the reader
*/
- SocketReader *imageReader_;
+ SocketReader *image_reader_;
bool iscalculated_;
float result_;
@@ -52,24 +52,24 @@ class CalculateMeanOperation : public MultiThreadedOperation {
/**
* The inner loop of this operation.
*/
- void executePixel(float output[4], int x, int y, void *data) override;
+ void execute_pixel(float output[4], int x, int y, void *data) override;
/**
* Initialize the execution
*/
- void initExecution() override;
+ void init_execution() override;
- void *initializeTileData(rcti *rect) override;
+ void *initialize_tile_data(rcti *rect) override;
/**
* Deinitialize the execution
*/
- void deinitExecution() override;
+ void deinit_execution() override;
- bool determineDependingAreaOfInterest(rcti *input,
- ReadBufferOperation *readOperation,
- rcti *output) override;
- void setSetting(int setting);
+ bool determine_depending_area_of_interest(rcti *input,
+ ReadBufferOperation *read_operation,
+ rcti *output) override;
+ void set_setting(int setting);
void get_area_of_interest(int input_idx, const rcti &output_area, rcti &r_input_area) override;
@@ -82,7 +82,7 @@ class CalculateMeanOperation : public MultiThreadedOperation {
Span<MemoryBuffer *> inputs) override;
protected:
- void calculateMean(MemoryBuffer *tile);
+ void calculate_mean(MemoryBuffer *tile);
float calc_mean(const MemoryBuffer *input);
private: