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_TonemapOperation.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_TonemapOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_TonemapOperation.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/source/blender/compositor/operations/COM_TonemapOperation.h b/source/blender/compositor/operations/COM_TonemapOperation.h
index c04ee4fcbe9..a20c061965e 100644
--- a/source/blender/compositor/operations/COM_TonemapOperation.h
+++ b/source/blender/compositor/operations/COM_TonemapOperation.h
@@ -44,7 +44,7 @@ class TonemapOperation : public MultiThreadedOperation {
/**
* \brief Cached reference to the reader
*/
- SocketReader *imageReader_;
+ SocketReader *image_reader_;
/**
* \brief settings of the Tonemap
@@ -54,7 +54,7 @@ class TonemapOperation : public MultiThreadedOperation {
/**
* \brief temporarily cache of the execution storage
*/
- AvgLogLum *cachedInstance_;
+ AvgLogLum *cached_instance_;
public:
TonemapOperation();
@@ -62,29 +62,29 @@ class TonemapOperation : 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 deinitializeTileData(rcti *rect, void *data) override;
+ void *initialize_tile_data(rcti *rect) override;
+ void deinitialize_tile_data(rcti *rect, void *data) override;
/**
* Deinitialize the execution
*/
- void deinitExecution() override;
+ void deinit_execution() override;
- void setData(NodeTonemap *data)
+ void set_data(NodeTonemap *data)
{
data_ = data;
}
- bool determineDependingAreaOfInterest(rcti *input,
- ReadBufferOperation *readOperation,
- rcti *output) override;
+ bool determine_depending_area_of_interest(rcti *input,
+ ReadBufferOperation *read_operation,
+ rcti *output) override;
void get_area_of_interest(int input_idx, const rcti &output_area, rcti &r_input_area) override;
void update_memory_buffer_started(MemoryBuffer *output,
@@ -106,7 +106,7 @@ class PhotoreceptorTonemapOperation : public TonemapOperation {
/**
* 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;
void update_memory_buffer_partial(MemoryBuffer *output,
const rcti &area,