Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/operations/COM_DenoiseOperation.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 2019, Blender Foundation. | * Copyright 2019, Blender Foundation. | ||||
| */ | */ | ||||
| #ifndef __COM_DENOISEOPERATION_H__ | #pragma once | ||||
| #define __COM_DENOISEOPERATION_H__ | |||||
| #include "COM_SingleThreadedOperation.h" | #include "COM_SingleThreadedOperation.h" | ||||
| #include "DNA_node_types.h" | #include "DNA_node_types.h" | ||||
| class DenoiseOperation : public SingleThreadedOperation { | class DenoiseOperation : public SingleThreadedOperation { | ||||
| private: | private: | ||||
| /** | /** | ||||
| * \brief Cached reference to the input programs | * \brief Cached reference to the input programs | ||||
| Show All 31 Lines | protected: | ||||
| void generateDenoise(float *data, | void generateDenoise(float *data, | ||||
| MemoryBuffer *inputTileColor, | MemoryBuffer *inputTileColor, | ||||
| MemoryBuffer *inputTileNormal, | MemoryBuffer *inputTileNormal, | ||||
| MemoryBuffer *inputTileAlbedo, | MemoryBuffer *inputTileAlbedo, | ||||
| NodeDenoise *settings); | NodeDenoise *settings); | ||||
| MemoryBuffer *createMemoryBuffer(rcti *rect); | MemoryBuffer *createMemoryBuffer(rcti *rect); | ||||
| }; | }; | ||||
| #endif /* __COM_DENOISEOPERATION_H__ */ | |||||