diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-08-10 17:23:31 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-08-10 17:23:31 +0400 |
commit | e8772477894a6fd8c09488b488fdcc1af432da1b (patch) | |
tree | 9e26bbf5bb90d8fbf1c1b28d92cca2cc2bbb2802 /source/blender/compositor/operations/COM_VariableSizeBokehBlurOperation.h | |
parent | fea0e60227825ea917e59348f1be10bd9caeabb4 (diff) |
use define for bokeh blur size, also define size of determineResolution args.
Diffstat (limited to 'source/blender/compositor/operations/COM_VariableSizeBokehBlurOperation.h')
-rw-r--r-- | source/blender/compositor/operations/COM_VariableSizeBokehBlurOperation.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/compositor/operations/COM_VariableSizeBokehBlurOperation.h b/source/blender/compositor/operations/COM_VariableSizeBokehBlurOperation.h index f53d54f8c2c..d2b2668848a 100644 --- a/source/blender/compositor/operations/COM_VariableSizeBokehBlurOperation.h +++ b/source/blender/compositor/operations/COM_VariableSizeBokehBlurOperation.h @@ -82,7 +82,7 @@ public: /** * the inner loop of this program */ - void executePixel(float *color, int x, int y, MemoryBuffer * inputBuffers[], void *data); + void executePixel(float *color, int x, int y, MemoryBuffer *inputBuffers[], void *data); /** * Initialize the execution @@ -97,7 +97,7 @@ public: void deinitExecution(); bool determineDependingAreaOfInterest(rcti *input, ReadBufferOperation *readOperation, rcti *output); - void determineResolution(unsigned int resolution[], unsigned int preferredResolution[]); + void determineResolution(unsigned int resolution[2], unsigned int preferredResolution[2]); void setMaxBlur(int maxRadius) { this->m_maxBlur = maxRadius; } }; |