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:
@@ -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);
|
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:
|
public:
|
||||||
MovieDistortionOperation(bool distortion);
|
MovieDistortionOperation(bool distortion);
|
||||||
bool determineDependingAreaOfInterest(rcti *input, ReadBufferOperation *readOperation, rcti *output);
|
|
||||||
void executePixel(float output[4], float x, float y, PixelSampler sampler);
|
void executePixel(float output[4], float x, float y, PixelSampler sampler);
|
||||||
|
|
||||||
void initExecution();
|
void initExecution();
|
||||||
|
Reference in New Issue
Block a user