Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/operations/COM_KeyingClipOperation.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 2012, Blender Foundation. | * Copyright 2012, Blender Foundation. | ||||
| */ | */ | ||||
| #ifndef __COM_KEYINGCLIPOPERATION_H__ | #pragma once | ||||
| #define __COM_KEYINGCLIPOPERATION_H__ | |||||
| #include "COM_NodeOperation.h" | #include "COM_NodeOperation.h" | ||||
| /** | /** | ||||
| * Class with implementation of black/white clipping for keying node | * Class with implementation of black/white clipping for keying node | ||||
| */ | */ | ||||
| class KeyingClipOperation : public NodeOperation { | class KeyingClipOperation : public NodeOperation { | ||||
| protected: | protected: | ||||
| Show All 34 Lines | public: | ||||
| void *initializeTileData(rcti *rect); | void *initializeTileData(rcti *rect); | ||||
| void executePixel(float output[4], int x, int y, void *data); | void executePixel(float output[4], int x, int y, void *data); | ||||
| bool determineDependingAreaOfInterest(rcti *input, | bool determineDependingAreaOfInterest(rcti *input, | ||||
| ReadBufferOperation *readOperation, | ReadBufferOperation *readOperation, | ||||
| rcti *output); | rcti *output); | ||||
| }; | }; | ||||
| #endif | |||||