Removed determineDependingAreaOfInterest from movie distortion node

It wasn't used and it was incorrect anyway (distortion could be more than 100px).
This commit is contained in:
Sergey Sharybin 2012-11-10 19:15:09 +00:00
parent 18300e8eab
commit 446f70f286
2 changed files with 0 additions and 13 deletions

@ -112,15 +112,3 @@ void MovieDistortionOperation::executePixel(float output[4], float x, float y, P
this->m_inputOperation->read(output, x, y, COM_PS_BILINEAR);
}
}
bool MovieDistortionOperation::determineDependingAreaOfInterest(rcti *input, ReadBufferOperation *readOperation, rcti *output)
{
rcti newInput;
newInput.xmax = input->xmax + 100;
newInput.xmin = input->xmin - 100;
newInput.ymax = input->ymax + 100;
newInput.ymin = input->ymin - 100;
return NodeOperation::determineDependingAreaOfInterest(&newInput, readOperation, output);
}

@ -155,7 +155,6 @@ protected:
public:
MovieDistortionOperation(bool distortion);
bool determineDependingAreaOfInterest(rcti *input, ReadBufferOperation *readOperation, rcti *output);
void executePixel(float output[4], float x, float y, PixelSampler sampler);
void initExecution();