blob: d4b67a7dc2f9930953fdeccaf6f0a284a246d1bb [file] [log] [blame]
cristye1101892013-08-18 00:53:18 +00001/*
Cristy7ce65e72015-12-12 18:03:16 -05002 Copyright 1999-2016 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
cristye1101892013-08-18 00:53:18 +00008 http://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
35 *AccelerateAddNoiseImage(const Image*,const NoiseType,ExceptionInfo *),
36 *AccelerateBlurImage(const Image *,const double,const double,ExceptionInfo *),
37 *AccelerateConvolveImage(const Image *,const KernelInfo *,ExceptionInfo *),
38 *AccelerateDespeckleImage(const Image *,ExceptionInfo *),
39 *AccelerateLocalContrastImage(const Image *,const double,const double,
40 ExceptionInfo *),
41 *AccelerateMotionBlurImage(const Image*,const double*,const size_t,
42 const OffsetInfo*,ExceptionInfo*),
43 *AccelerateResizeImage(const Image *,const size_t,const size_t,
44 const ResizeFilter *,ExceptionInfo *),
45 *AccelerateRotationalBlurImage(const Image *,const double,ExceptionInfo *),
46 *AccelerateUnsharpMaskImage(const Image *,const double,const double,
47 const double,const double,ExceptionInfo *),
48 *AccelerateWaveletDenoiseImage(const Image *,const double,ExceptionInfo *);
49
50extern MagickPrivate MagickBooleanType
dirkeeec14f2016-05-29 10:37:29 +020051 AccelerateContrastImage(Image *,const MagickBooleanType,ExceptionInfo *),
52 AccelerateContrastStretchImage(Image *,const double,const double,
53 ExceptionInfo*),
54 AccelerateEqualizeImage(Image *,ExceptionInfo *),
55 AccelerateFunctionImage(Image *,const MagickFunction,const size_t,
56 const double *,ExceptionInfo *),
57 AccelerateGrayscaleImage(Image *,const PixelIntensityMethod,
58 ExceptionInfo *),
59 AccelerateModulateImage(Image *,const double,const double,const double,
60 const ColorspaceType, ExceptionInfo*);
61
dirk21dc0312016-06-13 22:30:26 +020062#endif /* MAGICKCORE_OPENCL_SUPPORT */
63
cristye1101892013-08-18 00:53:18 +000064#if defined(__cplusplus) || defined(c_plusplus)
65}
66#endif
67
dirk21dc0312016-06-13 22:30:26 +020068#endif /* MAGICKCORE_ACCELERATE_PRIVATE_H */