Differential D10122 Diff 32820 source/blender/compositor/operations/COM_GaussianAlphaYBlurOperation.cpp
Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/operations/COM_GaussianAlphaYBlurOperation.cpp
| Show First 20 Lines • Show All 54 Lines • ▼ Show 20 Lines | void GaussianAlphaYBlurOperation::initExecution() | ||||
| } | } | ||||
| } | } | ||||
| void GaussianAlphaYBlurOperation::updateGauss() | void GaussianAlphaYBlurOperation::updateGauss() | ||||
| { | { | ||||
| if (this->m_gausstab == nullptr) { | if (this->m_gausstab == nullptr) { | ||||
| updateSize(); | updateSize(); | ||||
| float rad = max_ff(m_size * m_data.sizey, 0.0f); | float rad = max_ff(m_size * m_data.sizey, 0.0f); | ||||
| rad = min_ff(rad, MAX_GAUSSTAB_RADIUS); | |||||
| m_filtersize = min_ii(ceil(rad), MAX_GAUSSTAB_RADIUS); | m_filtersize = min_ii(ceil(rad), MAX_GAUSSTAB_RADIUS); | ||||
| m_gausstab = BlurBaseOperation::make_gausstab(rad, m_filtersize); | m_gausstab = BlurBaseOperation::make_gausstab(rad, m_filtersize); | ||||
| } | } | ||||
| if (this->m_distbuf_inv == nullptr) { | if (this->m_distbuf_inv == nullptr) { | ||||
| updateSize(); | updateSize(); | ||||
| float rad = max_ff(m_size * m_data.sizey, 0.0f); | float rad = max_ff(m_size * m_data.sizey, 0.0f); | ||||
| ▲ Show 20 Lines • Show All 119 Lines • Show Last 20 Lines | |||||