MagickCore  7.1.0
Convert, Edit, Or Compose Bitmap Images
accelerate-private.h
1 /*
2  Copyright @ 2010 ImageMagick Studio LLC, a non-profit organization
3  dedicated to making software imaging solutions freely available.
4 
5  You may not use this file except in compliance with the License. You may
6  obtain a copy of the License at
7 
8  https://imagemagick.org/script/license.php
9 
10  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 
16  MagickCore private methods for accelerated functions.
17 */
18 
19 #ifndef MAGICKCORE_ACCELERATE_PRIVATE_H
20 #define MAGICKCORE_ACCELERATE_PRIVATE_H
21 
22 #include "MagickCore/morphology.h"
23 #include "MagickCore/resample.h"
24 #include "MagickCore/resize.h"
25 #include "MagickCore/statistic.h"
26 #include "MagickCore/visual-effects.h"
27 
28 #if defined(__cplusplus) || defined(c_plusplus)
29 extern "C" {
30 #endif
31 
32 #if defined(MAGICKCORE_OPENCL_SUPPORT)
33 
34 extern MagickPrivate Image
35  *AccelerateAddNoiseImage(const Image*,const NoiseType,const double attenuate,
36  ExceptionInfo *),
37  *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 
51 extern MagickPrivate MagickBooleanType
52  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 
63 #endif /* MAGICKCORE_OPENCL_SUPPORT */
64 
65 #if defined(__cplusplus) || defined(c_plusplus)
66 }
67 #endif
68 
69 #endif /* MAGICKCORE_ACCELERATE_PRIVATE_H */
Definition: image.h:152