blob: 817f08de96e3c0d47896b922f84f2b4aef2274ca [file] [log] [blame]
cristye1101892013-08-18 00:53:18 +00001/*
Cristy93b707b2017-12-06 07:05:51 -05002 Copyright 1999-2018 ImageMagick Studio LLC, a non-profit organization
cristye1101892013-08-18 00:53:18 +00003 dedicated to making software imaging solutions freely available.
cristyf034abb2013-11-24 14:16:14 +00004
cristye1101892013-08-18 00:53:18 +00005 You may not use this file except in compliance with the License.
6 obtain a copy of the License at
cristyf034abb2013-11-24 14:16:14 +00007
Cristyf19d4142017-04-24 11:34:30 -04008 https://www.imagemagick.org/script/license.php
cristyf034abb2013-11-24 14:16:14 +00009
cristye1101892013-08-18 00:53:18 +000010 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15
cristyf034abb2013-11-24 14:16:14 +000016 MagickCore private methods for accelerated functions.
cristye1101892013-08-18 00:53:18 +000017*/
cristyf034abb2013-11-24 14:16:14 +000018
Cristy83bceaa2016-06-03 20:39:35 -040019#ifndef MAGICKCORE_ACCELERATE_PRIVATE_H
20#define MAGICKCORE_ACCELERATE_PRIVATE_H
cristye1101892013-08-18 00:53:18 +000021
dirkeeec14f2016-05-29 10:37:29 +020022#include "MagickCore/fx.h"
23#include "MagickCore/morphology.h"
24#include "MagickCore/resample.h"
25#include "MagickCore/resize.h"
26#include "MagickCore/statistic.h"
27
cristye1101892013-08-18 00:53:18 +000028#if defined(__cplusplus) || defined(c_plusplus)
29extern "C" {
30#endif
31
dirk21dc0312016-06-13 22:30:26 +020032#if defined(MAGICKCORE_OPENCL_SUPPORT)
33
dirkeeec14f2016-05-29 10:37:29 +020034extern MagickPrivate Image
Dirk Lemstra4367f4e2017-12-02 19:11:23 +010035 *AccelerateAddNoiseImage(const Image*,const NoiseType,const double attenuate,
36 ExceptionInfo *),
dirkeeec14f2016-05-29 10:37:29 +020037 *AccelerateBlurImage(const Image *,const double,const double,ExceptionInfo *),
38 *AccelerateConvolveImage(const Image *,const KernelInfo *,ExceptionInfo *),
39 *AccelerateDespeckleImage(const Image *,ExceptionInfo *),
40 *AccelerateLocalContrastImage(const Image *,const double,const double,
41 ExceptionInfo *),
42 *AccelerateMotionBlurImage(const Image*,const double*,const size_t,
43 const OffsetInfo*,ExceptionInfo*),
44 *AccelerateResizeImage(const Image *,const size_t,const size_t,
45 const ResizeFilter *,ExceptionInfo *),
46 *AccelerateRotationalBlurImage(const Image *,const double,ExceptionInfo *),
47 *AccelerateUnsharpMaskImage(const Image *,const double,const double,
48 const double,const double,ExceptionInfo *),
49 *AccelerateWaveletDenoiseImage(const Image *,const double,ExceptionInfo *);
50
51extern MagickPrivate MagickBooleanType
dirkeeec14f2016-05-29 10:37:29 +020052 AccelerateContrastImage(Image *,const MagickBooleanType,ExceptionInfo *),
53 AccelerateContrastStretchImage(Image *,const double,const double,
54 ExceptionInfo*),
55 AccelerateEqualizeImage(Image *,ExceptionInfo *),
56 AccelerateFunctionImage(Image *,const MagickFunction,const size_t,
57 const double *,ExceptionInfo *),
58 AccelerateGrayscaleImage(Image *,const PixelIntensityMethod,
59 ExceptionInfo *),
60 AccelerateModulateImage(Image *,const double,const double,const double,
61 const ColorspaceType, ExceptionInfo*);
62
dirk21dc0312016-06-13 22:30:26 +020063#endif /* MAGICKCORE_OPENCL_SUPPORT */
64
cristye1101892013-08-18 00:53:18 +000065#if defined(__cplusplus) || defined(c_plusplus)
66}
67#endif
68
dirk21dc0312016-06-13 22:30:26 +020069#endif /* MAGICKCORE_ACCELERATE_PRIVATE_H */