diff options
Diffstat (limited to 'source/blender/compositor/operations/COM_DistanceRGBMatteOperation.h')
-rw-r--r-- | source/blender/compositor/operations/COM_DistanceRGBMatteOperation.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/compositor/operations/COM_DistanceRGBMatteOperation.h b/source/blender/compositor/operations/COM_DistanceRGBMatteOperation.h index e741a9b80d5..306a4e316f5 100644 --- a/source/blender/compositor/operations/COM_DistanceRGBMatteOperation.h +++ b/source/blender/compositor/operations/COM_DistanceRGBMatteOperation.h @@ -29,10 +29,10 @@ namespace blender::compositor { class DistanceRGBMatteOperation : public MultiThreadedOperation { protected: NodeChroma *settings_; - SocketReader *inputImageProgram_; - SocketReader *inputKeyProgram_; + SocketReader *input_image_program_; + SocketReader *input_key_program_; - virtual float calculateDistance(const float key[4], const float image[4]); + virtual float calculate_distance(const float key[4], const float image[4]); public: /** @@ -43,14 +43,14 @@ class DistanceRGBMatteOperation : 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) + void set_settings(NodeChroma *node_chroma) { - settings_ = nodeChroma; + settings_ = node_chroma; } void update_memory_buffer_partial(MemoryBuffer *output, |