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_ColorCurveOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_ColorCurveOperation.h52
1 files changed, 26 insertions, 26 deletions
diff --git a/source/blender/compositor/operations/COM_ColorCurveOperation.h b/source/blender/compositor/operations/COM_ColorCurveOperation.h
index 6ce5befb14a..fcd78be8372 100644
--- a/source/blender/compositor/operations/COM_ColorCurveOperation.h
+++ b/source/blender/compositor/operations/COM_ColorCurveOperation.h
@@ -29,38 +29,38 @@
class ColorCurveOperation : public CurveBaseOperation {
private:
/**
- * Cached reference to the inputProgram
- */
- SocketReader * inputFacProgram;
- SocketReader * inputImageProgram;
- SocketReader * inputBlackProgram;
- SocketReader * inputWhiteProgram;
+ * Cached reference to the inputProgram
+ */
+ SocketReader *inputFacProgram;
+ SocketReader *inputImageProgram;
+ SocketReader *inputBlackProgram;
+ SocketReader *inputWhiteProgram;
public:
ColorCurveOperation();
/**
- * the inner loop of this program
- */
- void executePixel(float *color, float x, float y, PixelSampler sampler, MemoryBuffer *inputBuffers[]);
+ * the inner loop of this program
+ */
+ void executePixel(float *color, float x, float y, PixelSampler sampler, MemoryBuffer * inputBuffers[]);
/**
- * Initialize the execution
- */
+ * Initialize the execution
+ */
void initExecution();
/**
- * Deinitialize the execution
- */
+ * Deinitialize the execution
+ */
void deinitExecution();
};
class ConstantLevelColorCurveOperation : public CurveBaseOperation {
private:
/**
- * Cached reference to the inputProgram
- */
- SocketReader * inputFacProgram;
- SocketReader * inputImageProgram;
+ * Cached reference to the inputProgram
+ */
+ SocketReader *inputFacProgram;
+ SocketReader *inputImageProgram;
float black[3];
float white[3];
@@ -68,22 +68,22 @@ public:
ConstantLevelColorCurveOperation();
/**
- * the inner loop of this program
- */
- void executePixel(float *color, float x, float y, PixelSampler sampler, MemoryBuffer *inputBuffers[]);
+ * the inner loop of this program
+ */
+ void executePixel(float *color, float x, float y, PixelSampler sampler, MemoryBuffer * inputBuffers[]);
/**
- * Initialize the execution
- */
+ * Initialize the execution
+ */
void initExecution();
/**
- * Deinitialize the execution
- */
+ * Deinitialize the execution
+ */
void deinitExecution();
- void setBlackLevel(float black[3]) {this->black[0] =black[0];this->black[1] =black[1];this->black[2] =black[2]; }
- void setWhiteLevel(float white[3]) {this->white[0] =white[0];this->white[1] =white[1];this->white[2] =white[2]; }
+ void setBlackLevel(float black[3]) { this->black[0] = black[0]; this->black[1] = black[1]; this->black[2] = black[2]; }
+ void setWhiteLevel(float white[3]) { this->white[0] = white[0]; this->white[1] = white[1]; this->white[2] = white[2]; }
};
#endif