Cleanup: Clang-Tidy, readability-redundant-member-init

This commit is contained in:
Sergey Sharybin 2020-08-07 15:58:58 +02:00
parent dae004557a
commit 190170d4cc
124 changed files with 170 additions and 187 deletions

View File

@ -15,7 +15,6 @@ Checks: >
-readability-misleading-indentation,
-readability-redundant-member-init,
-readability-use-anyofallof,
-readability-function-cognitive-complexity,

View File

@ -2637,8 +2637,7 @@ struct SubdivideTrisData {
tm(tm),
itt_map(itt_map),
overlap(overlap),
arena(arena),
overlap_tri_range{}
arena(arena)
{
}
};

View File

@ -18,7 +18,7 @@
#include "COM_CPUDevice.h"
CPUDevice::CPUDevice(int thread_id) : Device(), m_thread_id(thread_id)
CPUDevice::CPUDevice(int thread_id) : m_thread_id(thread_id)
{
}

View File

@ -18,7 +18,7 @@
#include "COM_SingleThreadedOperation.h"
SingleThreadedOperation::SingleThreadedOperation() : NodeOperation()
SingleThreadedOperation::SingleThreadedOperation()
{
this->m_cachedInstance = NULL;
setComplex(true);

View File

@ -18,7 +18,7 @@
#include "COM_AlphaOverKeyOperation.h"
AlphaOverKeyOperation::AlphaOverKeyOperation() : MixBaseOperation()
AlphaOverKeyOperation::AlphaOverKeyOperation()
{
/* pass */
}

View File

@ -18,7 +18,7 @@
#include "COM_AlphaOverMixedOperation.h"
AlphaOverMixedOperation::AlphaOverMixedOperation() : MixBaseOperation()
AlphaOverMixedOperation::AlphaOverMixedOperation()
{
this->m_x = 0.0f;
}

View File

@ -18,7 +18,7 @@
#include "COM_AlphaOverPremultiplyOperation.h"
AlphaOverPremultiplyOperation::AlphaOverPremultiplyOperation() : MixBaseOperation()
AlphaOverPremultiplyOperation::AlphaOverPremultiplyOperation()
{
/* pass */
}

View File

@ -112,7 +112,7 @@ static int extrapolate9(float *E0,
#undef PCPY
}
AntiAliasOperation::AntiAliasOperation() : NodeOperation()
AntiAliasOperation::AntiAliasOperation()
{
this->addInputSocket(COM_DT_VALUE);
this->addOutputSocket(COM_DT_VALUE);

View File

@ -21,7 +21,7 @@
#include "RE_pipeline.h"
BilateralBlurOperation::BilateralBlurOperation() : NodeOperation()
BilateralBlurOperation::BilateralBlurOperation()
{
this->addInputSocket(COM_DT_COLOR);
this->addInputSocket(COM_DT_COLOR);

View File

@ -22,7 +22,7 @@
#include "RE_pipeline.h"
BlurBaseOperation::BlurBaseOperation(DataType data_type) : NodeOperation()
BlurBaseOperation::BlurBaseOperation(DataType data_type)
{
/* data_type is almost always COM_DT_COLOR except for alpha-blur */
this->addInputSocket(data_type);

View File

@ -22,7 +22,7 @@
#include "RE_pipeline.h"
BokehBlurOperation::BokehBlurOperation() : NodeOperation()
BokehBlurOperation::BokehBlurOperation()
{
this->addInputSocket(COM_DT_COLOR);
this->addInputSocket(COM_DT_COLOR, COM_SC_NO_RESIZE);

View File

@ -19,7 +19,7 @@
#include "COM_BokehImageOperation.h"
#include "BLI_math.h"
BokehImageOperation::BokehImageOperation() : NodeOperation()
BokehImageOperation::BokehImageOperation()
{
this->addOutputSocket(COM_DT_COLOR);
this->m_deleteData = false;

View File

@ -20,7 +20,7 @@
#include "BLI_math.h"
#include "DNA_node_types.h"
BoxMaskOperation::BoxMaskOperation() : NodeOperation()
BoxMaskOperation::BoxMaskOperation()
{
this->addInputSocket(COM_DT_VALUE);
this->addInputSocket(COM_DT_VALUE);

View File

@ -18,7 +18,7 @@
#include "COM_BrightnessOperation.h"
BrightnessOperation::BrightnessOperation() : NodeOperation()
BrightnessOperation::BrightnessOperation()
{
this->addInputSocket(COM_DT_COLOR);
this->addInputSocket(COM_DT_VALUE);

View File

@ -22,7 +22,7 @@
#include "IMB_colormanagement.h"
CalculateMeanOperation::CalculateMeanOperation() : NodeOperation()
CalculateMeanOperation::CalculateMeanOperation()
{
this->addInputSocket(COM_DT_COLOR, COM_SC_NO_RESIZE);
this->addOutputSocket(COM_DT_VALUE);

View File

@ -23,7 +23,6 @@
#include "IMB_colormanagement.h"
CalculateStandardDeviationOperation::CalculateStandardDeviationOperation()
: CalculateMeanOperation()
{
/* pass */
}

View File

@ -18,7 +18,7 @@
#include "COM_ChangeHSVOperation.h"
ChangeHSVOperation::ChangeHSVOperation() : NodeOperation()
ChangeHSVOperation::ChangeHSVOperation()
{
this->addInputSocket(COM_DT_COLOR);
this->addInputSocket(COM_DT_VALUE);

View File

@ -19,7 +19,7 @@
#include "COM_ChannelMatteOperation.h"
#include "BLI_math.h"
ChannelMatteOperation::ChannelMatteOperation() : NodeOperation()
ChannelMatteOperation::ChannelMatteOperation()
{
addInputSocket(COM_DT_COLOR);
addOutputSocket(COM_DT_VALUE);

View File

@ -19,7 +19,7 @@
#include "COM_ChromaMatteOperation.h"
#include "BLI_math.h"
ChromaMatteOperation::ChromaMatteOperation() : NodeOperation()
ChromaMatteOperation::ChromaMatteOperation()
{
addInputSocket(COM_DT_COLOR);
addInputSocket(COM_DT_COLOR);

View File

@ -31,7 +31,7 @@ inline float colorbalance_cdl(float in, float offset, float power, float slope)
return powf(x, power);
}
ColorBalanceASCCDLOperation::ColorBalanceASCCDLOperation() : NodeOperation()
ColorBalanceASCCDLOperation::ColorBalanceASCCDLOperation()
{
this->addInputSocket(COM_DT_VALUE);
this->addInputSocket(COM_DT_COLOR);

View File

@ -36,7 +36,7 @@ inline float colorbalance_lgg(float in, float lift_lgg, float gamma_inv, float g
return powf(srgb_to_linearrgb(x), gamma_inv);
}
ColorBalanceLGGOperation::ColorBalanceLGGOperation() : NodeOperation()
ColorBalanceLGGOperation::ColorBalanceLGGOperation()
{
this->addInputSocket(COM_DT_VALUE);
this->addInputSocket(COM_DT_COLOR);

View File

@ -21,7 +21,7 @@
#include "IMB_colormanagement.h"
ColorCorrectionOperation::ColorCorrectionOperation() : NodeOperation()
ColorCorrectionOperation::ColorCorrectionOperation()
{
this->addInputSocket(COM_DT_COLOR);
this->addInputSocket(COM_DT_VALUE);

View File

@ -22,7 +22,7 @@
#include "MEM_guardedalloc.h"
ColorCurveOperation::ColorCurveOperation() : CurveBaseOperation()
ColorCurveOperation::ColorCurveOperation()
{
this->addInputSocket(COM_DT_VALUE);
this->addInputSocket(COM_DT_COLOR);
@ -98,7 +98,7 @@ void ColorCurveOperation::deinitExecution()
// Constant level curve mapping
ConstantLevelColorCurveOperation::ConstantLevelColorCurveOperation() : CurveBaseOperation()
ConstantLevelColorCurveOperation::ConstantLevelColorCurveOperation()
{
this->addInputSocket(COM_DT_VALUE);
this->addInputSocket(COM_DT_COLOR);

View File

@ -19,7 +19,7 @@
#include "COM_ColorMatteOperation.h"
#include "BLI_math.h"
ColorMatteOperation::ColorMatteOperation() : NodeOperation()
ColorMatteOperation::ColorMatteOperation()
{
addInputSocket(COM_DT_COLOR);
addInputSocket(COM_DT_COLOR);

View File

@ -20,7 +20,7 @@
#include "BKE_colorband.h"
ColorRampOperation::ColorRampOperation() : NodeOperation()
ColorRampOperation::ColorRampOperation()
{
this->addInputSocket(COM_DT_VALUE);
this->addOutputSocket(COM_DT_COLOR);

View File

@ -20,7 +20,7 @@
#include "BLI_math.h"
#define AVG(a, b) ((a + b) / 2)
ColorSpillOperation::ColorSpillOperation() : NodeOperation()
ColorSpillOperation::ColorSpillOperation()
{
addInputSocket(COM_DT_COLOR);
addInputSocket(COM_DT_VALUE);

View File

@ -32,7 +32,7 @@
#include "PIL_time.h"
CompositorOperation::CompositorOperation() : NodeOperation()
CompositorOperation::CompositorOperation()
{
this->addInputSocket(COM_DT_COLOR);
this->addInputSocket(COM_DT_VALUE);

View File

@ -20,7 +20,7 @@
#include "IMB_imbuf.h"
ConvertColorProfileOperation::ConvertColorProfileOperation() : NodeOperation()
ConvertColorProfileOperation::ConvertColorProfileOperation()
{
this->addInputSocket(COM_DT_COLOR);
this->addOutputSocket(COM_DT_COLOR);

View File

@ -21,7 +21,7 @@
#include "BLI_math.h"
#include "DNA_camera_types.h"
ConvertDepthToRadiusOperation::ConvertDepthToRadiusOperation() : NodeOperation()
ConvertDepthToRadiusOperation::ConvertDepthToRadiusOperation()
{
this->addInputSocket(COM_DT_VALUE);
this->addOutputSocket(COM_DT_VALUE);

View File

@ -397,7 +397,7 @@ void ConvertStraightToPremulOperation::executePixelSampled(float output[4],
/* ******** Separate Channels ******** */
SeparateChannelOperation::SeparateChannelOperation() : NodeOperation()
SeparateChannelOperation::SeparateChannelOperation()
{
this->addInputSocket(COM_DT_COLOR);
this->addOutputSocket(COM_DT_VALUE);
@ -425,7 +425,7 @@ void SeparateChannelOperation::executePixelSampled(float output[4],
/* ******** Combine Channels ******** */
CombineChannelsOperation::CombineChannelsOperation() : NodeOperation()
CombineChannelsOperation::CombineChannelsOperation()
{
this->addInputSocket(COM_DT_VALUE);
this->addInputSocket(COM_DT_VALUE);

View File

@ -19,7 +19,7 @@
#include "COM_ConvolutionEdgeFilterOperation.h"
#include "BLI_math.h"
ConvolutionEdgeFilterOperation::ConvolutionEdgeFilterOperation() : ConvolutionFilterOperation()
ConvolutionEdgeFilterOperation::ConvolutionEdgeFilterOperation()
{
/* pass */
}

View File

@ -22,7 +22,7 @@
#include "MEM_guardedalloc.h"
ConvolutionFilterOperation::ConvolutionFilterOperation() : NodeOperation()
ConvolutionFilterOperation::ConvolutionFilterOperation()
{
this->addInputSocket(COM_DT_COLOR);
this->addInputSocket(COM_DT_VALUE);

View File

@ -19,7 +19,7 @@
#include "COM_CropOperation.h"
#include "BLI_math.h"
CropBaseOperation::CropBaseOperation() : NodeOperation()
CropBaseOperation::CropBaseOperation()
{
this->addInputSocket(COM_DT_COLOR, COM_SC_NO_RESIZE);
this->addOutputSocket(COM_DT_COLOR);

View File

@ -18,7 +18,7 @@
#include "COM_CryptomatteOperation.h"
CryptomatteOperation::CryptomatteOperation(size_t num_inputs) : NodeOperation()
CryptomatteOperation::CryptomatteOperation(size_t num_inputs)
{
for (size_t i = 0; i < num_inputs; i++) {
this->addInputSocket(COM_DT_COLOR);

View File

@ -20,7 +20,7 @@
#include "BKE_colortools.h"
CurveBaseOperation::CurveBaseOperation() : NodeOperation()
CurveBaseOperation::CurveBaseOperation()
{
this->m_curveMapping = NULL;
}

View File

@ -26,7 +26,7 @@ static pthread_mutex_t oidn_lock = BLI_MUTEX_INITIALIZER;
#endif
#include <iostream>
DenoiseOperation::DenoiseOperation() : SingleThreadedOperation()
DenoiseOperation::DenoiseOperation()
{
this->addInputSocket(COM_DT_COLOR);
this->addInputSocket(COM_DT_VECTOR);

View File

@ -22,7 +22,7 @@
#include "BLI_utildefines.h"
DespeckleOperation::DespeckleOperation() : NodeOperation()
DespeckleOperation::DespeckleOperation()
{
this->addInputSocket(COM_DT_COLOR);
this->addInputSocket(COM_DT_VALUE);

View File

@ -19,7 +19,7 @@
#include "COM_DifferenceMatteOperation.h"
#include "BLI_math.h"
DifferenceMatteOperation::DifferenceMatteOperation() : NodeOperation()
DifferenceMatteOperation::DifferenceMatteOperation()
{
addInputSocket(COM_DT_COLOR);
addInputSocket(COM_DT_COLOR);

View File

@ -23,7 +23,7 @@
#include "MEM_guardedalloc.h"
// DilateErode Distance Threshold
DilateErodeThresholdOperation::DilateErodeThresholdOperation() : NodeOperation()
DilateErodeThresholdOperation::DilateErodeThresholdOperation()
{
this->addInputSocket(COM_DT_VALUE);
this->addOutputSocket(COM_DT_VALUE);
@ -159,7 +159,7 @@ bool DilateErodeThresholdOperation::determineDependingAreaOfInterest(
}
// Dilate Distance
DilateDistanceOperation::DilateDistanceOperation() : NodeOperation()
DilateDistanceOperation::DilateDistanceOperation()
{
this->addInputSocket(COM_DT_VALUE);
this->addOutputSocket(COM_DT_VALUE);
@ -317,7 +317,7 @@ void ErodeDistanceOperation::executeOpenCL(OpenCLDevice *device,
}
// Dilate step
DilateStepOperation::DilateStepOperation() : NodeOperation()
DilateStepOperation::DilateStepOperation()
{
this->addInputSocket(COM_DT_VALUE);
this->addOutputSocket(COM_DT_VALUE);

View File

@ -23,7 +23,7 @@
#include "RE_pipeline.h"
DirectionalBlurOperation::DirectionalBlurOperation() : NodeOperation()
DirectionalBlurOperation::DirectionalBlurOperation()
{
this->addInputSocket(COM_DT_COLOR);
this->addOutputSocket(COM_DT_COLOR);

View File

@ -20,7 +20,7 @@
#include "BLI_math.h"
#include "BLI_utildefines.h"
DisplaceOperation::DisplaceOperation() : NodeOperation()
DisplaceOperation::DisplaceOperation()
{
this->addInputSocket(COM_DT_COLOR);
this->addInputSocket(COM_DT_VECTOR);

View File

@ -20,7 +20,7 @@
#include "BLI_math.h"
#include "BLI_utildefines.h"
DisplaceSimpleOperation::DisplaceSimpleOperation() : NodeOperation()
DisplaceSimpleOperation::DisplaceSimpleOperation()
{
this->addInputSocket(COM_DT_COLOR);
this->addInputSocket(COM_DT_VECTOR);

View File

@ -19,7 +19,7 @@
#include "COM_DistanceRGBMatteOperation.h"
#include "BLI_math.h"
DistanceRGBMatteOperation::DistanceRGBMatteOperation() : NodeOperation()
DistanceRGBMatteOperation::DistanceRGBMatteOperation()
{
this->addInputSocket(COM_DT_COLOR);
this->addInputSocket(COM_DT_COLOR);

View File

@ -19,7 +19,7 @@
#include "COM_DistanceYCCMatteOperation.h"
#include "BLI_math.h"
DistanceYCCMatteOperation::DistanceYCCMatteOperation() : DistanceRGBMatteOperation()
DistanceYCCMatteOperation::DistanceYCCMatteOperation()
{
/* pass */
}

View File

@ -18,7 +18,7 @@
#include "COM_DotproductOperation.h"
DotproductOperation::DotproductOperation() : NodeOperation()
DotproductOperation::DotproductOperation()
{
this->addInputSocket(COM_DT_VECTOR);
this->addInputSocket(COM_DT_VECTOR);

View File

@ -1306,7 +1306,7 @@ void DoubleEdgeMaskOperation::doDoubleEdgeMask(float *imask, float *omask, float
}
}
DoubleEdgeMaskOperation::DoubleEdgeMaskOperation() : NodeOperation()
DoubleEdgeMaskOperation::DoubleEdgeMaskOperation()
{
this->addInputSocket(COM_DT_VALUE);
this->addInputSocket(COM_DT_VALUE);

View File

@ -20,7 +20,7 @@
#include "BLI_math.h"
#include "DNA_node_types.h"
EllipseMaskOperation::EllipseMaskOperation() : NodeOperation()
EllipseMaskOperation::EllipseMaskOperation()
{
this->addInputSocket(COM_DT_VALUE);
this->addInputSocket(COM_DT_VALUE);

View File

@ -256,7 +256,7 @@ void FastGaussianBlurOperation::IIR_gauss(MemoryBuffer *src,
}
///
FastGaussianBlurValueOperation::FastGaussianBlurValueOperation() : NodeOperation()
FastGaussianBlurValueOperation::FastGaussianBlurValueOperation()
{
this->addInputSocket(COM_DT_VALUE);
this->addOutputSocket(COM_DT_VALUE);

View File

@ -18,7 +18,7 @@
#include "COM_FlipOperation.h"
FlipOperation::FlipOperation() : NodeOperation()
FlipOperation::FlipOperation()
{
this->addInputSocket(COM_DT_COLOR);
this->addOutputSocket(COM_DT_COLOR);

View File

@ -19,7 +19,7 @@
#include "COM_GammaCorrectOperation.h"
#include "BLI_math.h"
GammaCorrectOperation::GammaCorrectOperation() : NodeOperation()
GammaCorrectOperation::GammaCorrectOperation()
{
this->addInputSocket(COM_DT_COLOR);
this->addOutputSocket(COM_DT_COLOR);
@ -61,7 +61,7 @@ void GammaCorrectOperation::deinitExecution()
this->m_inputProgram = NULL;
}
GammaUncorrectOperation::GammaUncorrectOperation() : NodeOperation()
GammaUncorrectOperation::GammaUncorrectOperation()
{
this->addInputSocket(COM_DT_COLOR);
this->addOutputSocket(COM_DT_COLOR);

View File

@ -19,7 +19,7 @@
#include "COM_GammaOperation.h"
#include "BLI_math.h"
GammaOperation::GammaOperation() : NodeOperation()
GammaOperation::GammaOperation()
{
this->addInputSocket(COM_DT_COLOR);
this->addInputSocket(COM_DT_VALUE);

View File

@ -19,7 +19,7 @@
#include "COM_GlareBaseOperation.h"
#include "BLI_math.h"
GlareBaseOperation::GlareBaseOperation() : SingleThreadedOperation()
GlareBaseOperation::GlareBaseOperation()
{
this->addInputSocket(COM_DT_COLOR);
this->addOutputSocket(COM_DT_COLOR);

View File

@ -21,7 +21,7 @@
#include "IMB_colormanagement.h"
GlareThresholdOperation::GlareThresholdOperation() : NodeOperation()
GlareThresholdOperation::GlareThresholdOperation()
{
this->addInputSocket(COM_DT_COLOR, COM_SC_FIT);
this->addOutputSocket(COM_DT_COLOR);

View File

@ -22,7 +22,7 @@
#include "BKE_colortools.h"
HueSaturationValueCorrectOperation::HueSaturationValueCorrectOperation() : CurveBaseOperation()
HueSaturationValueCorrectOperation::HueSaturationValueCorrectOperation()
{
this->addInputSocket(COM_DT_COLOR);
this->addOutputSocket(COM_DT_COLOR);

View File

@ -18,7 +18,7 @@
#include "COM_IDMaskOperation.h"
IDMaskOperation::IDMaskOperation() : NodeOperation()
IDMaskOperation::IDMaskOperation()
{
this->addInputSocket(COM_DT_VALUE);
this->addOutputSocket(COM_DT_VALUE);

View File

@ -31,7 +31,7 @@
#include "RE_render_ext.h"
#include "RE_shader_ext.h"
BaseImageOperation::BaseImageOperation() : NodeOperation()
BaseImageOperation::BaseImageOperation()
{
this->m_image = NULL;
this->m_buffer = NULL;

View File

@ -27,7 +27,7 @@
BLI_assert(x >= 0 && x < this->getWidth() && y >= 0 && y < this->getHeight())
// Inpaint (simple convolve using average of known pixels)
InpaintSimpleOperation::InpaintSimpleOperation() : NodeOperation()
InpaintSimpleOperation::InpaintSimpleOperation()
{
this->addInputSocket(COM_DT_COLOR);
this->addOutputSocket(COM_DT_COLOR);

View File

@ -18,7 +18,7 @@
#include "COM_InvertOperation.h"
InvertOperation::InvertOperation() : NodeOperation()
InvertOperation::InvertOperation()
{
this->addInputSocket(COM_DT_VALUE);
this->addInputSocket(COM_DT_COLOR);

View File

@ -23,7 +23,7 @@
#include "BLI_listbase.h"
#include "BLI_math.h"
KeyingBlurOperation::KeyingBlurOperation() : NodeOperation()
KeyingBlurOperation::KeyingBlurOperation()
{
this->addInputSocket(COM_DT_VALUE);
this->addOutputSocket(COM_DT_VALUE);

View File

@ -23,7 +23,7 @@
#include "BLI_listbase.h"
#include "BLI_math.h"
KeyingClipOperation::KeyingClipOperation() : NodeOperation()
KeyingClipOperation::KeyingClipOperation()
{
this->addInputSocket(COM_DT_VALUE);
this->addOutputSocket(COM_DT_VALUE);

View File

@ -23,7 +23,7 @@
#include "BLI_listbase.h"
#include "BLI_math.h"
KeyingDespillOperation::KeyingDespillOperation() : NodeOperation()
KeyingDespillOperation::KeyingDespillOperation()
{
this->addInputSocket(COM_DT_COLOR);
this->addInputSocket(COM_DT_COLOR);

View File

@ -39,7 +39,7 @@ static float get_pixel_saturation(const float pixelColor[4],
return (pixelColor[primary_channel] - val) * fabsf(1.0f - val);
}
KeyingOperation::KeyingOperation() : NodeOperation()
KeyingOperation::KeyingOperation()
{
this->addInputSocket(COM_DT_COLOR);
this->addInputSocket(COM_DT_COLOR);

View File

@ -30,7 +30,7 @@
#include "IMB_imbuf.h"
#include "IMB_imbuf_types.h"
KeyingScreenOperation::KeyingScreenOperation() : NodeOperation()
KeyingScreenOperation::KeyingScreenOperation()
{
this->addOutputSocket(COM_DT_COLOR);
this->m_movieClip = NULL;

View File

@ -18,7 +18,7 @@
#include "COM_KeyingSetAlphaOperation.h"
KeyingSetAlphaOperation::KeyingSetAlphaOperation() : NodeOperation()
KeyingSetAlphaOperation::KeyingSetAlphaOperation()
{
this->addInputSocket(COM_DT_COLOR);
this->addInputSocket(COM_DT_VALUE);

View File

@ -21,7 +21,7 @@
#include "IMB_colormanagement.h"
LuminanceMatteOperation::LuminanceMatteOperation() : NodeOperation()
LuminanceMatteOperation::LuminanceMatteOperation()
{
addInputSocket(COM_DT_COLOR);
addOutputSocket(COM_DT_VALUE);

View File

@ -18,7 +18,7 @@
#include "COM_MapRangeOperation.h"
MapRangeOperation::MapRangeOperation() : NodeOperation()
MapRangeOperation::MapRangeOperation()
{
this->addInputSocket(COM_DT_VALUE);
this->addInputSocket(COM_DT_VALUE);

View File

@ -19,7 +19,7 @@
#include "COM_MapUVOperation.h"
#include "BLI_math.h"
MapUVOperation::MapUVOperation() : NodeOperation()
MapUVOperation::MapUVOperation()
{
this->addInputSocket(COM_DT_COLOR, COM_SC_NO_RESIZE);
this->addInputSocket(COM_DT_VECTOR);

View File

@ -18,7 +18,7 @@
#include "COM_MapValueOperation.h"
MapValueOperation::MapValueOperation() : NodeOperation()
MapValueOperation::MapValueOperation()
{
this->addInputSocket(COM_DT_VALUE);
this->addOutputSocket(COM_DT_VALUE);

View File

@ -26,7 +26,7 @@
#include "BKE_lib_id.h"
#include "BKE_mask.h"
MaskOperation::MaskOperation() : NodeOperation()
MaskOperation::MaskOperation()
{
this->addOutputSocket(COM_DT_VALUE);
this->m_mask = NULL;

View File

@ -20,7 +20,7 @@
#include "BLI_math.h"
MathBaseOperation::MathBaseOperation() : NodeOperation()
MathBaseOperation::MathBaseOperation()
{
this->addInputSocket(COM_DT_VALUE);
this->addInputSocket(COM_DT_VALUE);

View File

@ -22,7 +22,7 @@
/* ******** Mix Base Operation ******** */
MixBaseOperation::MixBaseOperation() : NodeOperation()
MixBaseOperation::MixBaseOperation()
{
this->addInputSocket(COM_DT_VALUE);
this->addInputSocket(COM_DT_COLOR);
@ -97,7 +97,7 @@ void MixBaseOperation::deinitExecution()
/* ******** Mix Add Operation ******** */
MixAddOperation::MixAddOperation() : MixBaseOperation()
MixAddOperation::MixAddOperation()
{
/* pass */
}
@ -126,7 +126,7 @@ void MixAddOperation::executePixelSampled(float output[4], float x, float y, Pix
/* ******** Mix Blend Operation ******** */
MixBlendOperation::MixBlendOperation() : MixBaseOperation()
MixBlendOperation::MixBlendOperation()
{
/* pass */
}
@ -160,7 +160,7 @@ void MixBlendOperation::executePixelSampled(float output[4],
/* ******** Mix Burn Operation ******** */
MixColorBurnOperation::MixColorBurnOperation() : MixBaseOperation()
MixColorBurnOperation::MixColorBurnOperation()
{
/* pass */
}
@ -243,7 +243,7 @@ void MixColorBurnOperation::executePixelSampled(float output[4],
/* ******** Mix Color Operation ******** */
MixColorOperation::MixColorOperation() : MixBaseOperation()
MixColorOperation::MixColorOperation()
{
/* pass */
}
@ -288,7 +288,7 @@ void MixColorOperation::executePixelSampled(float output[4],
/* ******** Mix Darken Operation ******** */
MixDarkenOperation::MixDarkenOperation() : MixBaseOperation()
MixDarkenOperation::MixDarkenOperation()
{
/* pass */
}
@ -321,7 +321,7 @@ void MixDarkenOperation::executePixelSampled(float output[4],
/* ******** Mix Difference Operation ******** */
MixDifferenceOperation::MixDifferenceOperation() : MixBaseOperation()
MixDifferenceOperation::MixDifferenceOperation()
{
/* pass */
}
@ -354,7 +354,7 @@ void MixDifferenceOperation::executePixelSampled(float output[4],
/* ******** Mix Difference Operation ******** */
MixDivideOperation::MixDivideOperation() : MixBaseOperation()
MixDivideOperation::MixDivideOperation()
{
/* pass */
}
@ -404,7 +404,7 @@ void MixDivideOperation::executePixelSampled(float output[4],
/* ******** Mix Dodge Operation ******** */
MixDodgeOperation::MixDodgeOperation() : MixBaseOperation()
MixDodgeOperation::MixDodgeOperation()
{
/* pass */
}
@ -492,7 +492,7 @@ void MixDodgeOperation::executePixelSampled(float output[4],
/* ******** Mix Glare Operation ******** */
MixGlareOperation::MixGlareOperation() : MixBaseOperation()
MixGlareOperation::MixGlareOperation()
{
/* pass */
}
@ -533,7 +533,7 @@ void MixGlareOperation::executePixelSampled(float output[4],
/* ******** Mix Hue Operation ******** */
MixHueOperation::MixHueOperation() : MixBaseOperation()
MixHueOperation::MixHueOperation()
{
/* pass */
}
@ -575,7 +575,7 @@ void MixHueOperation::executePixelSampled(float output[4], float x, float y, Pix
/* ******** Mix Lighten Operation ******** */
MixLightenOperation::MixLightenOperation() : MixBaseOperation()
MixLightenOperation::MixLightenOperation()
{
/* pass */
}
@ -626,7 +626,7 @@ void MixLightenOperation::executePixelSampled(float output[4],
/* ******** Mix Linear Light Operation ******** */
MixLinearLightOperation::MixLinearLightOperation() : MixBaseOperation()
MixLinearLightOperation::MixLinearLightOperation()
{
/* pass */
}
@ -674,7 +674,7 @@ void MixLinearLightOperation::executePixelSampled(float output[4],
/* ******** Mix Multiply Operation ******** */
MixMultiplyOperation::MixMultiplyOperation() : MixBaseOperation()
MixMultiplyOperation::MixMultiplyOperation()
{
/* pass */
}
@ -707,7 +707,7 @@ void MixMultiplyOperation::executePixelSampled(float output[4],
/* ******** Mix Ovelray Operation ******** */
MixOverlayOperation::MixOverlayOperation() : MixBaseOperation()
MixOverlayOperation::MixOverlayOperation()
{
/* pass */
}
@ -757,7 +757,7 @@ void MixOverlayOperation::executePixelSampled(float output[4],
/* ******** Mix Saturation Operation ******** */
MixSaturationOperation::MixSaturationOperation() : MixBaseOperation()
MixSaturationOperation::MixSaturationOperation()
{
/* pass */
}
@ -799,7 +799,7 @@ void MixSaturationOperation::executePixelSampled(float output[4],
/* ******** Mix Screen Operation ******** */
MixScreenOperation::MixScreenOperation() : MixBaseOperation()
MixScreenOperation::MixScreenOperation()
{
/* pass */
}
@ -833,7 +833,7 @@ void MixScreenOperation::executePixelSampled(float output[4],
/* ******** Mix Soft Light Operation ******** */
MixSoftLightOperation::MixSoftLightOperation() : MixBaseOperation()
MixSoftLightOperation::MixSoftLightOperation()
{
/* pass */
}
@ -879,7 +879,7 @@ void MixSoftLightOperation::executePixelSampled(float output[4],
/* ******** Mix Subtract Operation ******** */
MixSubtractOperation::MixSubtractOperation() : MixBaseOperation()
MixSubtractOperation::MixSubtractOperation()
{
/* pass */
}
@ -911,7 +911,7 @@ void MixSubtractOperation::executePixelSampled(float output[4],
/* ******** Mix Value Operation ******** */
MixValueOperation::MixValueOperation() : MixBaseOperation()
MixValueOperation::MixValueOperation()
{
/* pass */
}

View File

@ -21,7 +21,7 @@
#include "BKE_movieclip.h"
#include "BKE_tracking.h"
MovieClipAttributeOperation::MovieClipAttributeOperation() : NodeOperation()
MovieClipAttributeOperation::MovieClipAttributeOperation()
{
this->addOutputSocket(COM_DT_VALUE);
this->m_framenumber = 0;

View File

@ -26,7 +26,7 @@
#include "IMB_imbuf.h"
MovieClipBaseOperation::MovieClipBaseOperation() : NodeOperation()
MovieClipBaseOperation::MovieClipBaseOperation()
{
this->m_movieClip = NULL;
this->m_movieClipBuffer = NULL;

View File

@ -23,7 +23,7 @@
#include "BLI_linklist.h"
MovieDistortionOperation::MovieDistortionOperation(bool distortion) : NodeOperation()
MovieDistortionOperation::MovieDistortionOperation(bool distortion)
{
this->addInputSocket(COM_DT_COLOR);
this->addOutputSocket(COM_DT_COLOR);

View File

@ -21,7 +21,7 @@
#include "IMB_imbuf.h"
#include "IMB_imbuf_types.h"
MultilayerBaseOperation::MultilayerBaseOperation(int passindex, int view) : BaseImageOperation()
MultilayerBaseOperation::MultilayerBaseOperation(int passindex, int view)
{
this->m_passId = passindex;
this->m_view = view;

View File

@ -18,7 +18,7 @@
#include "COM_NormalizeOperation.h"
NormalizeOperation::NormalizeOperation() : NodeOperation()
NormalizeOperation::NormalizeOperation()
{
this->addInputSocket(COM_DT_VALUE);
this->addOutputSocket(COM_DT_VALUE);

View File

@ -18,7 +18,7 @@
#include "COM_PixelateOperation.h"
PixelateOperation::PixelateOperation(DataType datatype) : NodeOperation()
PixelateOperation::PixelateOperation(DataType datatype)
{
this->addInputSocket(datatype);
this->addOutputSocket(datatype);

View File

@ -87,8 +87,7 @@ static void readCornersFromSockets(rcti *rect, SocketReader *readers[4], float c
/* ******** PlaneCornerPinMaskOperation ******** */
PlaneCornerPinMaskOperation::PlaneCornerPinMaskOperation()
: PlaneDistortMaskOperation(), m_corners_ready(false)
PlaneCornerPinMaskOperation::PlaneCornerPinMaskOperation() : m_corners_ready(false)
{
addInputSocket(COM_DT_VECTOR);
addInputSocket(COM_DT_VECTOR);
@ -152,8 +151,7 @@ void PlaneCornerPinMaskOperation::determineResolution(unsigned int resolution[2]
/* ******** PlaneCornerPinWarpImageOperation ******** */
PlaneCornerPinWarpImageOperation::PlaneCornerPinWarpImageOperation()
: PlaneDistortWarpImageOperation(), m_corners_ready(false)
PlaneCornerPinWarpImageOperation::PlaneCornerPinWarpImageOperation() : m_corners_ready(false)
{
addInputSocket(COM_DT_VECTOR);
addInputSocket(COM_DT_VECTOR);

View File

@ -44,7 +44,7 @@ BLI_INLINE void warpCoord(float x, float y, float matrix[3][3], float uv[2], flo
deriv[1][1] = (matrix[1][1] - matrix[1][2] * uv[1]) / vec[2];
}
PlaneDistortWarpImageOperation::PlaneDistortWarpImageOperation() : NodeOperation()
PlaneDistortWarpImageOperation::PlaneDistortWarpImageOperation()
{
this->addInputSocket(COM_DT_COLOR, COM_SC_NO_RESIZE);
this->addOutputSocket(COM_DT_COLOR);
@ -145,7 +145,7 @@ bool PlaneDistortWarpImageOperation::determineDependingAreaOfInterest(
/* ******** PlaneDistort Mask ******** */
PlaneDistortMaskOperation::PlaneDistortMaskOperation() : NodeOperation()
PlaneDistortMaskOperation::PlaneDistortMaskOperation()
{
addOutputSocket(COM_DT_VALUE);

View File

@ -64,7 +64,7 @@ class PlaneTrackCommon {
class PlaneTrackMaskOperation : public PlaneDistortMaskOperation, public PlaneTrackCommon {
public:
PlaneTrackMaskOperation() : PlaneDistortMaskOperation(), PlaneTrackCommon()
PlaneTrackMaskOperation()
{
}
@ -82,7 +82,7 @@ class PlaneTrackMaskOperation : public PlaneDistortMaskOperation, public PlaneTr
class PlaneTrackWarpImageOperation : public PlaneDistortWarpImageOperation,
public PlaneTrackCommon {
public:
PlaneTrackWarpImageOperation() : PlaneDistortWarpImageOperation(), PlaneTrackCommon()
PlaneTrackWarpImageOperation() : PlaneTrackCommon()
{
}

View File

@ -35,7 +35,7 @@
PreviewOperation::PreviewOperation(const ColorManagedViewSettings *viewSettings,
const ColorManagedDisplaySettings *displaySettings)
: NodeOperation()
{
this->addInputSocket(COM_DT_COLOR, COM_SC_NO_RESIZE);
this->m_preview = NULL;

View File

@ -20,7 +20,7 @@
#include "BLI_math.h"
#include "BLI_utildefines.h"
ProjectorLensDistortionOperation::ProjectorLensDistortionOperation() : NodeOperation()
ProjectorLensDistortionOperation::ProjectorLensDistortionOperation()
{
this->addInputSocket(COM_DT_COLOR);
this->addInputSocket(COM_DT_VALUE);

View File

@ -20,7 +20,7 @@
#include "COM_WriteBufferOperation.h"
#include "COM_defines.h"
ReadBufferOperation::ReadBufferOperation(DataType datatype) : NodeOperation()
ReadBufferOperation::ReadBufferOperation(DataType datatype)
{
this->addOutputSocket(datatype);
this->m_single_value = false;

View File

@ -29,7 +29,7 @@
/* ******** Render Layers Base Prog ******** */
RenderLayersProg::RenderLayersProg(const char *passName, DataType type, int elementsize)
: NodeOperation(), m_passName(passName)
: m_passName(passName)
{
this->setScene(NULL);
this->m_inputBuffer = NULL;

View File

@ -19,7 +19,7 @@
#include "COM_RotateOperation.h"
#include "BLI_math.h"
RotateOperation::RotateOperation() : NodeOperation()
RotateOperation::RotateOperation()
{
this->addInputSocket(COM_DT_COLOR);
this->addInputSocket(COM_DT_VALUE);

View File

@ -24,7 +24,7 @@
#include "PIL_time.h"
ScreenLensDistortionOperation::ScreenLensDistortionOperation() : NodeOperation()
ScreenLensDistortionOperation::ScreenLensDistortionOperation()
{
this->addInputSocket(COM_DT_COLOR);
this->addInputSocket(COM_DT_VALUE);

View File

@ -18,7 +18,7 @@
#include "COM_SetAlphaOperation.h"
SetAlphaOperation::SetAlphaOperation() : NodeOperation()
SetAlphaOperation::SetAlphaOperation()
{
this->addInputSocket(COM_DT_COLOR);
this->addInputSocket(COM_DT_VALUE);

View File

@ -18,7 +18,7 @@
#include "COM_SetColorOperation.h"
SetColorOperation::SetColorOperation() : NodeOperation()
SetColorOperation::SetColorOperation()
{
this->addOutputSocket(COM_DT_COLOR);
}

View File

@ -18,7 +18,7 @@
#include "COM_SetSamplerOperation.h"
SetSamplerOperation::SetSamplerOperation() : NodeOperation()
SetSamplerOperation::SetSamplerOperation()
{
this->addInputSocket(COM_DT_COLOR);
this->addOutputSocket(COM_DT_COLOR);

View File

@ -18,7 +18,7 @@
#include "COM_SetValueOperation.h"
SetValueOperation::SetValueOperation() : NodeOperation()
SetValueOperation::SetValueOperation()
{
this->addOutputSocket(COM_DT_VALUE);
}

View File

@ -19,7 +19,7 @@
#include "COM_SetVectorOperation.h"
#include "COM_defines.h"
SetVectorOperation::SetVectorOperation() : NodeOperation()
SetVectorOperation::SetVectorOperation()
{
this->addOutputSocket(COM_DT_VECTOR);
}

View File

@ -19,7 +19,7 @@
#include "COM_SocketProxyOperation.h"
SocketProxyOperation::SocketProxyOperation(DataType type, bool use_conversion)
: NodeOperation(), m_use_conversion(use_conversion)
: m_use_conversion(use_conversion)
{
this->addInputSocket(type);
this->addOutputSocket(type);

View File

@ -27,7 +27,7 @@
#include "IMB_imbuf.h"
#include "IMB_imbuf_types.h"
SplitOperation::SplitOperation() : NodeOperation()
SplitOperation::SplitOperation()
{
this->addInputSocket(COM_DT_COLOR);
this->addInputSocket(COM_DT_COLOR);

View File

@ -19,7 +19,7 @@
#include "COM_SunBeamsOperation.h"
SunBeamsOperation::SunBeamsOperation() : NodeOperation()
SunBeamsOperation::SunBeamsOperation()
{
this->addInputSocket(COM_DT_COLOR);
this->addOutputSocket(COM_DT_COLOR);

View File

@ -25,7 +25,7 @@
#include "BLI_listbase.h"
#include "BLI_threads.h"
TextureBaseOperation::TextureBaseOperation() : NodeOperation()
TextureBaseOperation::TextureBaseOperation()
{
this->addInputSocket(COM_DT_VECTOR); // offset
this->addInputSocket(COM_DT_VECTOR); // size

View File

@ -22,7 +22,7 @@
#include "IMB_colormanagement.h"
TonemapOperation::TonemapOperation() : NodeOperation()
TonemapOperation::TonemapOperation()
{
this->addInputSocket(COM_DT_COLOR, COM_SC_NO_RESIZE);
this->addOutputSocket(COM_DT_COLOR);

View File

@ -28,7 +28,7 @@
#include "BKE_node.h"
#include "BKE_tracking.h"
TrackPositionOperation::TrackPositionOperation() : NodeOperation()
TrackPositionOperation::TrackPositionOperation()
{
this->addOutputSocket(COM_DT_VALUE);
this->m_movieClip = NULL;

View File

@ -18,7 +18,7 @@
#include "COM_TranslateOperation.h"
TranslateOperation::TranslateOperation() : NodeOperation()
TranslateOperation::TranslateOperation()
{
this->addInputSocket(COM_DT_COLOR);
this->addInputSocket(COM_DT_VALUE);

View File

@ -22,7 +22,7 @@
#include "RE_pipeline.h"
VariableSizeBokehBlurOperation::VariableSizeBokehBlurOperation() : NodeOperation()
VariableSizeBokehBlurOperation::VariableSizeBokehBlurOperation()
{
this->addInputSocket(COM_DT_COLOR);
this->addInputSocket(COM_DT_COLOR, COM_SC_NO_RESIZE); // do not resize the bokeh image.
@ -276,7 +276,7 @@ bool VariableSizeBokehBlurOperation::determineDependingAreaOfInterest(
#ifdef COM_DEFOCUS_SEARCH
// InverseSearchRadiusOperation
InverseSearchRadiusOperation::InverseSearchRadiusOperation() : NodeOperation()
InverseSearchRadiusOperation::InverseSearchRadiusOperation()
{
this->addInputSocket(COM_DT_VALUE, COM_SC_NO_RESIZE); // radius
this->addOutputSocket(COM_DT_COLOR);

View File

@ -43,7 +43,7 @@ void zbuf_free_span(ZSpan *zspan);
void antialias_tagbuf(int xsize, int ysize, char *rectmove);
/* VectorBlurOperation */
VectorBlurOperation::VectorBlurOperation() : NodeOperation()
VectorBlurOperation::VectorBlurOperation()
{
this->addInputSocket(COM_DT_COLOR);
this->addInputSocket(COM_DT_VALUE); // ZBUF

Some files were not shown because too many files have changed in this diff Show More