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:
authorCampbell Barton <ideasman42@gmail.com>2012-06-26 05:22:05 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-06-26 05:22:05 +0400
commit6a1d82490e49d1f5d73b5082516b087d44010fb8 (patch)
tree0650cce3c1d47db6c5de1f4f2ba05b619c412f09 /source/blender/compositor/operations/COM_KeyingBlurOperation.cpp
parent7a0ab62d3f65f3b28da2a6ba9916c21132f8ea0d (diff)
use m_ prefix for compositor class members (all compositor operations).
Diffstat (limited to 'source/blender/compositor/operations/COM_KeyingBlurOperation.cpp')
-rw-r--r--source/blender/compositor/operations/COM_KeyingBlurOperation.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/source/blender/compositor/operations/COM_KeyingBlurOperation.cpp b/source/blender/compositor/operations/COM_KeyingBlurOperation.cpp
index 4f78e23d86b..3285bd32039 100644
--- a/source/blender/compositor/operations/COM_KeyingBlurOperation.cpp
+++ b/source/blender/compositor/operations/COM_KeyingBlurOperation.cpp
@@ -33,8 +33,8 @@ KeyingBlurOperation::KeyingBlurOperation() : NodeOperation()
this->addInputSocket(COM_DT_VALUE);
this->addOutputSocket(COM_DT_VALUE);
- this->size = 0;
- this->axis = BLUR_AXIS_X;
+ this->m_size = 0;
+ this->m_axis = BLUR_AXIS_X;
this->setComplex(true);
}
@@ -58,8 +58,8 @@ void KeyingBlurOperation::executePixel(float *color, int x, int y, MemoryBuffer
float average = 0.0f;
- if (this->axis == 0) {
- for (i = -this->size + 1; i < this->size; i++) {
+ if (this->m_axis == 0) {
+ for (i = -this->m_size + 1; i < this->m_size; i++) {
int cx = x + i;
if (cx >= 0 && cx < bufferWidth) {
@@ -71,7 +71,7 @@ void KeyingBlurOperation::executePixel(float *color, int x, int y, MemoryBuffer
}
}
else {
- for (i = -this->size + 1; i < this->size; i++) {
+ for (i = -this->m_size + 1; i < this->m_size; i++) {
int cy = y + i;
if (cy >= 0 && cy < bufferHeight) {
@@ -92,17 +92,17 @@ bool KeyingBlurOperation::determineDependingAreaOfInterest(rcti *input, ReadBuff
{
rcti newInput;
- if (this->axis == BLUR_AXIS_X) {
- newInput.xmin = input->xmin - this->size;
+ if (this->m_axis == BLUR_AXIS_X) {
+ newInput.xmin = input->xmin - this->m_size;
newInput.ymin = input->ymin;
- newInput.xmax = input->xmax + this->size;
+ newInput.xmax = input->xmax + this->m_size;
newInput.ymax = input->ymax;
}
else {
newInput.xmin = input->xmin;
- newInput.ymin = input->ymin - this->size;
+ newInput.ymin = input->ymin - this->m_size;
newInput.xmax = input->xmax;
- newInput.ymax = input->ymax + this->size;
+ newInput.ymax = input->ymax + this->m_size;
}
return NodeOperation::determineDependingAreaOfInterest(&newInput, readOperation, output);