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:
authorCampbell Barton <ideasman42@gmail.com>2019-04-17 07:17:24 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-04-17 07:21:24 +0300
commite12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 (patch)
tree8cf3453d12edb177a218ef8009357518ec6cab6a /source/blender/compositor/operations/COM_DirectionalBlurOperation.h
parentb3dabc200a4b0399ec6b81f2ff2730d07b44fcaa (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_DirectionalBlurOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_DirectionalBlurOperation.h60
1 files changed, 33 insertions, 27 deletions
diff --git a/source/blender/compositor/operations/COM_DirectionalBlurOperation.h b/source/blender/compositor/operations/COM_DirectionalBlurOperation.h
index fa224407d08..f8b7bab010b 100644
--- a/source/blender/compositor/operations/COM_DirectionalBlurOperation.h
+++ b/source/blender/compositor/operations/COM_DirectionalBlurOperation.h
@@ -22,40 +22,46 @@
#include "COM_QualityStepHelper.h"
class DirectionalBlurOperation : public NodeOperation, public QualityStepHelper {
-private:
- SocketReader *m_inputProgram;
- NodeDBlurData *m_data;
+ private:
+ SocketReader *m_inputProgram;
+ NodeDBlurData *m_data;
- float m_center_x_pix, m_center_y_pix;
- float m_tx, m_ty;
- float m_sc, m_rot;
+ float m_center_x_pix, m_center_y_pix;
+ float m_tx, m_ty;
+ float m_sc, m_rot;
-public:
- DirectionalBlurOperation();
+ public:
+ DirectionalBlurOperation();
- /**
- * the inner loop of this program
- */
- void executePixel(float output[4], int x, int y, void *data);
+ /**
+ * the inner loop of this program
+ */
+ void executePixel(float output[4], int x, int y, void *data);
- /**
- * Initialize the execution
- */
- void initExecution();
+ /**
+ * Initialize the execution
+ */
+ void initExecution();
- /**
- * Deinitialize the execution
- */
- void deinitExecution();
+ /**
+ * Deinitialize the execution
+ */
+ void deinitExecution();
- bool determineDependingAreaOfInterest(rcti *input, ReadBufferOperation *readOperation, rcti *output);
+ bool determineDependingAreaOfInterest(rcti *input,
+ ReadBufferOperation *readOperation,
+ rcti *output);
- void setData(NodeDBlurData *data) { this->m_data = data; }
-
- void executeOpenCL(OpenCLDevice *device,
- MemoryBuffer *outputMemoryBuffer, cl_mem clOutputBuffer,
- MemoryBuffer **inputMemoryBuffers, list<cl_mem> *clMemToCleanUp,
- list<cl_kernel> *clKernelsToCleanUp);
+ void setData(NodeDBlurData *data)
+ {
+ this->m_data = data;
+ }
+ void executeOpenCL(OpenCLDevice *device,
+ MemoryBuffer *outputMemoryBuffer,
+ cl_mem clOutputBuffer,
+ MemoryBuffer **inputMemoryBuffers,
+ list<cl_mem> *clMemToCleanUp,
+ list<cl_kernel> *clKernelsToCleanUp);
};
#endif