Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/operations/COM_ColorBalanceLGGOperation.h
| Show All 10 Lines | |||||
| * | * | ||||
| * You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
| * along with this program; if not, write to the Free Software Foundation, | * along with this program; if not, write to the Free Software Foundation, | ||||
| * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||||
| * | * | ||||
| * Copyright 2011, Blender Foundation. | * Copyright 2011, Blender Foundation. | ||||
| */ | */ | ||||
| #ifndef __COM_COLORBALANCELGGOPERATION_H__ | #pragma once | ||||
| #define __COM_COLORBALANCELGGOPERATION_H__ | |||||
| #include "COM_NodeOperation.h" | #include "COM_NodeOperation.h" | ||||
| /** | /** | ||||
| * this program converts an input color to an output value. | * this program converts an input color to an output value. | ||||
| * it assumes we are in sRGB color space. | * it assumes we are in sRGB color space. | ||||
| */ | */ | ||||
| class ColorBalanceLGGOperation : public NodeOperation { | class ColorBalanceLGGOperation : public NodeOperation { | ||||
| protected: | protected: | ||||
| Show All 36 Lines | public: | ||||
| { | { | ||||
| copy_v3_v3(this->m_lift, lift); | copy_v3_v3(this->m_lift, lift); | ||||
| } | } | ||||
| void setGammaInv(const float gamma_inv[3]) | void setGammaInv(const float gamma_inv[3]) | ||||
| { | { | ||||
| copy_v3_v3(this->m_gamma_inv, gamma_inv); | copy_v3_v3(this->m_gamma_inv, gamma_inv); | ||||
| } | } | ||||
| }; | }; | ||||
| #endif | |||||