diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:17:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:21:24 +0300 |
commit | e12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 (patch) | |
tree | 8cf3453d12edb177a218ef8009357518ec6cab6a /source/blender/compositor/operations/COM_BlurBaseOperation.h | |
parent | b3dabc200a4b0399ec6b81f2ff2730d07b44fcaa (diff) |
ClangFormat: apply to source, most of intern
Apply clang format as proposed in T53211.
For details on usage and instructions for migrating branches
without conflicts, see:
https://wiki.blender.org/wiki/Tools/ClangFormat
Diffstat (limited to 'source/blender/compositor/operations/COM_BlurBaseOperation.h')
-rw-r--r-- | source/blender/compositor/operations/COM_BlurBaseOperation.h | 68 |
1 files changed, 36 insertions, 32 deletions
diff --git a/source/blender/compositor/operations/COM_BlurBaseOperation.h b/source/blender/compositor/operations/COM_BlurBaseOperation.h index a2bac326d59..07893c19126 100644 --- a/source/blender/compositor/operations/COM_BlurBaseOperation.h +++ b/source/blender/compositor/operations/COM_BlurBaseOperation.h @@ -28,49 +28,53 @@ #endif class BlurBaseOperation : public NodeOperation, public QualityStepHelper { -private: - -protected: - - BlurBaseOperation(DataType data_type); - float *make_gausstab(float rad, int size); + private: + protected: + BlurBaseOperation(DataType data_type); + float *make_gausstab(float rad, int size); #ifdef __SSE2__ - __m128 *convert_gausstab_sse(const float *gaustab, int size); + __m128 *convert_gausstab_sse(const float *gaustab, int size); #endif - float *make_dist_fac_inverse(float rad, int size, int falloff); + float *make_dist_fac_inverse(float rad, int size, int falloff); - void updateSize(); + void updateSize(); - /** - * Cached reference to the inputProgram - */ - SocketReader *m_inputProgram; - SocketReader *m_inputSize; - NodeBlurData m_data; + /** + * Cached reference to the inputProgram + */ + SocketReader *m_inputProgram; + SocketReader *m_inputSize; + NodeBlurData m_data; - float m_size; - bool m_sizeavailable; + float m_size; + bool m_sizeavailable; - bool m_extend_bounds; + bool m_extend_bounds; -public: - /** - * Initialize the execution - */ - void initExecution(); + public: + /** + * Initialize the execution + */ + void initExecution(); - /** - * Deinitialize the execution - */ - void deinitExecution(); + /** + * Deinitialize the execution + */ + void deinitExecution(); - void setData(const NodeBlurData *data); + void setData(const NodeBlurData *data); - void setSize(float size) { this->m_size = size; this->m_sizeavailable = true; } + void setSize(float size) + { + this->m_size = size; + this->m_sizeavailable = true; + } - void setExtendBounds(bool extend_bounds) { this->m_extend_bounds = extend_bounds; } + void setExtendBounds(bool extend_bounds) + { + this->m_extend_bounds = extend_bounds; + } - void determineResolution(unsigned int resolution[2], - unsigned int preferredResolution[2]); + void determineResolution(unsigned int resolution[2], unsigned int preferredResolution[2]); }; #endif |