cristy | e110189 | 2013-08-18 00:53:18 +0000 | [diff] [blame] | 1 | /* |
Cristy | 93b707b | 2017-12-06 07:05:51 -0500 | [diff] [blame] | 2 | Copyright 1999-2018 ImageMagick Studio LLC, a non-profit organization |
cristy | e110189 | 2013-08-18 00:53:18 +0000 | [diff] [blame] | 3 | dedicated to making software imaging solutions freely available. |
cristy | f034abb | 2013-11-24 14:16:14 +0000 | [diff] [blame] | 4 | |
cristy | e110189 | 2013-08-18 00:53:18 +0000 | [diff] [blame] | 5 | You may not use this file except in compliance with the License. |
| 6 | obtain a copy of the License at |
cristy | f034abb | 2013-11-24 14:16:14 +0000 | [diff] [blame] | 7 | |
Cristy | f19d414 | 2017-04-24 11:34:30 -0400 | [diff] [blame] | 8 | https://www.imagemagick.org/script/license.php |
cristy | f034abb | 2013-11-24 14:16:14 +0000 | [diff] [blame] | 9 | |
cristy | e110189 | 2013-08-18 00:53:18 +0000 | [diff] [blame] | 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 | |
cristy | f034abb | 2013-11-24 14:16:14 +0000 | [diff] [blame] | 16 | MagickCore private methods for accelerated functions. |
cristy | e110189 | 2013-08-18 00:53:18 +0000 | [diff] [blame] | 17 | */ |
cristy | f034abb | 2013-11-24 14:16:14 +0000 | [diff] [blame] | 18 | |
Cristy | 83bceaa | 2016-06-03 20:39:35 -0400 | [diff] [blame] | 19 | #ifndef MAGICKCORE_ACCELERATE_PRIVATE_H |
| 20 | #define MAGICKCORE_ACCELERATE_PRIVATE_H |
cristy | e110189 | 2013-08-18 00:53:18 +0000 | [diff] [blame] | 21 | |
dirk | eeec14f | 2016-05-29 10:37:29 +0200 | [diff] [blame] | 22 | #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 | |
cristy | e110189 | 2013-08-18 00:53:18 +0000 | [diff] [blame] | 28 | #if defined(__cplusplus) || defined(c_plusplus) |
| 29 | extern "C" { |
| 30 | #endif |
| 31 | |
dirk | 21dc031 | 2016-06-13 22:30:26 +0200 | [diff] [blame] | 32 | #if defined(MAGICKCORE_OPENCL_SUPPORT) |
| 33 | |
dirk | eeec14f | 2016-05-29 10:37:29 +0200 | [diff] [blame] | 34 | extern MagickPrivate Image |
Dirk Lemstra | 4367f4e | 2017-12-02 19:11:23 +0100 | [diff] [blame] | 35 | *AccelerateAddNoiseImage(const Image*,const NoiseType,const double attenuate, |
| 36 | ExceptionInfo *), |
dirk | eeec14f | 2016-05-29 10:37:29 +0200 | [diff] [blame] | 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 |
dirk | eeec14f | 2016-05-29 10:37:29 +0200 | [diff] [blame] | 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 | |
dirk | 21dc031 | 2016-06-13 22:30:26 +0200 | [diff] [blame] | 63 | #endif /* MAGICKCORE_OPENCL_SUPPORT */ |
| 64 | |
cristy | e110189 | 2013-08-18 00:53:18 +0000 | [diff] [blame] | 65 | #if defined(__cplusplus) || defined(c_plusplus) |
| 66 | } |
| 67 | #endif |
| 68 | |
dirk | 21dc031 | 2016-06-13 22:30:26 +0200 | [diff] [blame] | 69 | #endif /* MAGICKCORE_ACCELERATE_PRIVATE_H */ |