Cleanup: convert camelCase naming to snake_case in Compositor
To convert old code to the current convention and use a single code style.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user