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:
Diffstat (limited to 'source/blender/compositor/operations/COM_BrightnessOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_BrightnessOperation.h59
1 files changed, 29 insertions, 30 deletions
diff --git a/source/blender/compositor/operations/COM_BrightnessOperation.h b/source/blender/compositor/operations/COM_BrightnessOperation.h
index 45aa7be48f3..df6b3ef7b6e 100644
--- a/source/blender/compositor/operations/COM_BrightnessOperation.h
+++ b/source/blender/compositor/operations/COM_BrightnessOperation.h
@@ -20,36 +20,35 @@
#define __COM_BRIGHTNESSOPERATION_H__
#include "COM_NodeOperation.h"
-
class BrightnessOperation : public NodeOperation {
-private:
- /**
- * Cached reference to the inputProgram
- */
- SocketReader *m_inputProgram;
- SocketReader *m_inputBrightnessProgram;
- SocketReader *m_inputContrastProgram;
-
- bool m_use_premultiply;
-
-public:
- BrightnessOperation();
-
- /**
- * the inner loop of this program
- */
- void executePixelSampled(float output[4], float x, float y, PixelSampler sampler);
-
- /**
- * Initialize the execution
- */
- void initExecution();
-
- /**
- * Deinitialize the execution
- */
- void deinitExecution();
-
- void setUsePremultiply(bool use_premultiply);
+ private:
+ /**
+ * Cached reference to the inputProgram
+ */
+ SocketReader *m_inputProgram;
+ SocketReader *m_inputBrightnessProgram;
+ SocketReader *m_inputContrastProgram;
+
+ bool m_use_premultiply;
+
+ public:
+ BrightnessOperation();
+
+ /**
+ * the inner loop of this program
+ */
+ void executePixelSampled(float output[4], float x, float y, PixelSampler sampler);
+
+ /**
+ * Initialize the execution
+ */
+ void initExecution();
+
+ /**
+ * Deinitialize the execution
+ */
+ void deinitExecution();
+
+ void setUsePremultiply(bool use_premultiply);
};
#endif