Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/operations/COM_GaussianYBlurOperation.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_GAUSSIANYBLUROPERATION_H__ | #pragma once | ||||
| #define __COM_GAUSSIANYBLUROPERATION_H__ | |||||
| #include "COM_BlurBaseOperation.h" | #include "COM_BlurBaseOperation.h" | ||||
| #include "COM_NodeOperation.h" | #include "COM_NodeOperation.h" | ||||
| class GaussianYBlurOperation : public BlurBaseOperation { | class GaussianYBlurOperation : public BlurBaseOperation { | ||||
| private: | private: | ||||
| float *m_gausstab; | float *m_gausstab; | ||||
| #ifdef __SSE2__ | #ifdef __SSE2__ | ||||
| __m128 *m_gausstab_sse; | __m128 *m_gausstab_sse; | ||||
| Show All 31 Lines | bool determineDependingAreaOfInterest(rcti *input, | ||||
| ReadBufferOperation *readOperation, | ReadBufferOperation *readOperation, | ||||
| rcti *output); | rcti *output); | ||||
| void checkOpenCL() | void checkOpenCL() | ||||
| { | { | ||||
| this->setOpenCL(m_data.sizex >= 128); | this->setOpenCL(m_data.sizex >= 128); | ||||
| } | } | ||||
| }; | }; | ||||
| #endif | |||||