Differential D8466 Diff 27507 source/blender/compositor/operations/COM_ScreenLensDistortionOperation.h
Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/operations/COM_ScreenLensDistortionOperation.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_SCREENLENSDISTORTIONOPERATION_H__ | #pragma once | ||||
| #define __COM_SCREENLENSDISTORTIONOPERATION_H__ | |||||
| #include "COM_NodeOperation.h" | #include "COM_NodeOperation.h" | ||||
| #include "DNA_node_types.h" | #include "DNA_node_types.h" | ||||
| class ScreenLensDistortionOperation : public NodeOperation { | class ScreenLensDistortionOperation : public NodeOperation { | ||||
| private: | private: | ||||
| /** | /** | ||||
| * Cached reference to the inputProgram | * Cached reference to the inputProgram | ||||
| */ | */ | ||||
| ▲ Show 20 Lines • Show All 62 Lines • ▼ Show 20 Lines | void accumulate(MemoryBuffer *buffer, | ||||
| int a, | int a, | ||||
| int b, | int b, | ||||
| float r_sq, | float r_sq, | ||||
| const float uv[2], | const float uv[2], | ||||
| const float delta[3][2], | const float delta[3][2], | ||||
| float sum[4], | float sum[4], | ||||
| int count[3]) const; | int count[3]) const; | ||||
| }; | }; | ||||
| #endif | |||||