Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/operations/COM_TonemapOperation.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_TONEMAPOPERATION_H__ | #pragma once | ||||
| #define __COM_TONEMAPOPERATION_H__ | |||||
| #include "COM_NodeOperation.h" | #include "COM_NodeOperation.h" | ||||
| #include "DNA_node_types.h" | #include "DNA_node_types.h" | ||||
| /** | /** | ||||
| * \brief temporarily storage during execution of Tonemap | * \brief temporarily storage during execution of Tonemap | ||||
| * \ingroup operation | * \ingroup operation | ||||
| */ | */ | ||||
| typedef struct AvgLogLum { | typedef struct AvgLogLum { | ||||
| ▲ Show 20 Lines • Show All 64 Lines • ▼ Show 20 Lines | |||||
| class PhotoreceptorTonemapOperation : public TonemapOperation { | class PhotoreceptorTonemapOperation : public TonemapOperation { | ||||
| public: | public: | ||||
| /** | /** | ||||
| * the inner loop of this program | * the inner loop of this program | ||||
| */ | */ | ||||
| void executePixel(float output[4], int x, int y, void *data); | void executePixel(float output[4], int x, int y, void *data); | ||||
| }; | }; | ||||
| #endif | |||||