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_DespeckleOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_DespeckleOperation.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/source/blender/compositor/operations/COM_DespeckleOperation.h b/source/blender/compositor/operations/COM_DespeckleOperation.h
index af37c276bd2..e8d3461d2ec 100644
--- a/source/blender/compositor/operations/COM_DespeckleOperation.h
+++ b/source/blender/compositor/operations/COM_DespeckleOperation.h
@@ -20,6 +20,8 @@
#include "COM_NodeOperation.h"
+namespace blender::compositor {
+
class DespeckleOperation : public NodeOperation {
private:
float m_threshold;
@@ -36,8 +38,8 @@ class DespeckleOperation : public NodeOperation {
DespeckleOperation();
bool determineDependingAreaOfInterest(rcti *input,
ReadBufferOperation *readOperation,
- rcti *output);
- void executePixel(float output[4], int x, int y, void *data);
+ rcti *output) override;
+ void executePixel(float output[4], int x, int y, void *data) override;
void setThreshold(float threshold)
{
@@ -48,6 +50,8 @@ class DespeckleOperation : public NodeOperation {
this->m_threshold_neighbor = threshold;
}
- void initExecution();
- void deinitExecution();
+ void initExecution() override;
+ void deinitExecution() override;
};
+
+} // namespace blender::compositor