Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/operations/COM_DespeckleOperation.cc
| Show All 23 Lines | |||||
| namespace blender::compositor { | namespace blender::compositor { | ||||
| DespeckleOperation::DespeckleOperation() | DespeckleOperation::DespeckleOperation() | ||||
| { | { | ||||
| this->addInputSocket(DataType::Color); | this->addInputSocket(DataType::Color); | ||||
| this->addInputSocket(DataType::Value); | this->addInputSocket(DataType::Value); | ||||
| this->addOutputSocket(DataType::Color); | this->addOutputSocket(DataType::Color); | ||||
| this->setResolutionInputSocketIndex(0); | this->set_canvas_input_index(0); | ||||
| this->m_inputOperation = nullptr; | this->m_inputOperation = nullptr; | ||||
| this->flags.complex = true; | this->flags.complex = true; | ||||
| } | } | ||||
| void DespeckleOperation::initExecution() | void DespeckleOperation::initExecution() | ||||
| { | { | ||||
| this->m_inputOperation = this->getInputSocketReader(0); | this->m_inputOperation = this->getInputSocketReader(0); | ||||
| this->m_inputValueOperation = this->getInputSocketReader(1); | this->m_inputValueOperation = this->getInputSocketReader(1); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 214 Lines • Show Last 20 Lines | |||||