diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:17:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:21:24 +0300 |
commit | e12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 (patch) | |
tree | 8cf3453d12edb177a218ef8009357518ec6cab6a /source/blender/compositor/operations/COM_QualityStepHelper.cpp | |
parent | b3dabc200a4b0399ec6b81f2ff2730d07b44fcaa (diff) |
ClangFormat: apply to source, most of intern
Apply clang format as proposed in T53211.
For details on usage and instructions for migrating branches
without conflicts, see:
https://wiki.blender.org/wiki/Tools/ClangFormat
Diffstat (limited to 'source/blender/compositor/operations/COM_QualityStepHelper.cpp')
-rw-r--r-- | source/blender/compositor/operations/COM_QualityStepHelper.cpp | 78 |
1 files changed, 39 insertions, 39 deletions
diff --git a/source/blender/compositor/operations/COM_QualityStepHelper.cpp b/source/blender/compositor/operations/COM_QualityStepHelper.cpp index f7af97bb80a..3eb8d528f7a 100644 --- a/source/blender/compositor/operations/COM_QualityStepHelper.cpp +++ b/source/blender/compositor/operations/COM_QualityStepHelper.cpp @@ -20,47 +20,47 @@ QualityStepHelper::QualityStepHelper() { - this->m_quality = COM_QUALITY_HIGH; - this->m_step = 1; - this->m_offsetadd = 4; + this->m_quality = COM_QUALITY_HIGH; + this->m_step = 1; + this->m_offsetadd = 4; } void QualityStepHelper::initExecution(QualityHelper helper) { - switch (helper) { - case COM_QH_INCREASE: - switch (this->m_quality) { - case COM_QUALITY_HIGH: - default: - this->m_step = 1; - this->m_offsetadd = 1; - break; - case COM_QUALITY_MEDIUM: - this->m_step = 2; - this->m_offsetadd = 2; - break; - case COM_QUALITY_LOW: - this->m_step = 3; - this->m_offsetadd = 3; - break; - } - break; - case COM_QH_MULTIPLY: - switch (this->m_quality) { - case COM_QUALITY_HIGH: - default: - this->m_step = 1; - this->m_offsetadd = 4; - break; - case COM_QUALITY_MEDIUM: - this->m_step = 2; - this->m_offsetadd = 8; - break; - case COM_QUALITY_LOW: - this->m_step = 4; - this->m_offsetadd = 16; - break; - } - break; - } + switch (helper) { + case COM_QH_INCREASE: + switch (this->m_quality) { + case COM_QUALITY_HIGH: + default: + this->m_step = 1; + this->m_offsetadd = 1; + break; + case COM_QUALITY_MEDIUM: + this->m_step = 2; + this->m_offsetadd = 2; + break; + case COM_QUALITY_LOW: + this->m_step = 3; + this->m_offsetadd = 3; + break; + } + break; + case COM_QH_MULTIPLY: + switch (this->m_quality) { + case COM_QUALITY_HIGH: + default: + this->m_step = 1; + this->m_offsetadd = 4; + break; + case COM_QUALITY_MEDIUM: + this->m_step = 2; + this->m_offsetadd = 8; + break; + case COM_QUALITY_LOW: + this->m_step = 4; + this->m_offsetadd = 16; + break; + } + break; + } } |