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_ImageOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_ImageOperation.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/source/blender/compositor/operations/COM_ImageOperation.h b/source/blender/compositor/operations/COM_ImageOperation.h
index 0bd112304a8..a4645c9d504 100644
--- a/source/blender/compositor/operations/COM_ImageOperation.h
+++ b/source/blender/compositor/operations/COM_ImageOperation.h
@@ -36,8 +36,8 @@ extern "C" {
}
/**
- * @brief Base class for all image operations
- */
+ * @brief Base class for all image operations
+ */
class BaseImageOperation : public NodeOperation {
protected:
ImBuf *buffer;
@@ -52,8 +52,8 @@ protected:
BaseImageOperation();
/**
- * Determine the output resolution. The resolution is retrieved from the Renderer
- */
+ * Determine the output resolution. The resolution is retrieved from the Renderer
+ */
void determineResolution(unsigned int resolution[], unsigned int preferredResolution[]);
virtual ImBuf *getImBuf();
@@ -62,33 +62,33 @@ public:
void initExecution();
void deinitExecution();
- void setImage(Image *image) {this->image = image;}
- void setImageUser(ImageUser *imageuser) {this->imageUser = imageuser;}
-
- void setFramenumber(int framenumber) {this->framenumber = framenumber;}
+ void setImage(Image *image) { this->image = image; }
+ void setImageUser(ImageUser *imageuser) { this->imageUser = imageuser; }
+
+ void setFramenumber(int framenumber) { this->framenumber = framenumber; }
};
-class ImageOperation: public BaseImageOperation {
+class ImageOperation : public BaseImageOperation {
public:
/**
- * Constructor
- */
+ * Constructor
+ */
ImageOperation();
- void executePixel(float *color, float x, float y, PixelSampler sampler, MemoryBuffer *inputBuffers[]);
+ void executePixel(float *color, float x, float y, PixelSampler sampler, MemoryBuffer * inputBuffers[]);
};
-class ImageAlphaOperation: public BaseImageOperation {
+class ImageAlphaOperation : public BaseImageOperation {
public:
/**
- * Constructor
- */
+ * Constructor
+ */
ImageAlphaOperation();
- void executePixel(float *color, float x, float y, PixelSampler sampler, MemoryBuffer *inputBuffers[]);
+ void executePixel(float *color, float x, float y, PixelSampler sampler, MemoryBuffer * inputBuffers[]);
};
-class ImageDepthOperation: public BaseImageOperation {
+class ImageDepthOperation : public BaseImageOperation {
public:
/**
- * Constructor
- */
+ * Constructor
+ */
ImageDepthOperation();
- void executePixel(float *color, float x, float y, PixelSampler sampler, MemoryBuffer *inputBuffers[]);
+ void executePixel(float *color, float x, float y, PixelSampler sampler, MemoryBuffer * inputBuffers[]);
};
#endif