Home | History | Annotate | Download | only in MagickCore
      1 /*
      2   Copyright 1999-2016 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.
      6   obtain a copy of the License at
      7 
      8     http://www.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/fx.h"
     23 #include "MagickCore/morphology.h"
     24 #include "MagickCore/resample.h"
     25 #include "MagickCore/resize.h"
     26 #include "MagickCore/statistic.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,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 
     50 extern MagickPrivate MagickBooleanType
     51   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 
     62 #endif /* MAGICKCORE_OPENCL_SUPPORT */
     63 
     64 #if defined(__cplusplus) || defined(c_plusplus)
     65 }
     66 #endif
     67 
     68 #endif /* MAGICKCORE_ACCELERATE_PRIVATE_H */
     69