#ifndef _MAGICKCORE_ACCELERATE_PRIVATE_H
#define _MAGICKCORE_ACCELERATE_PRIVATE_H
+#include "MagickCore/fx.h"
+#include "MagickCore/morphology.h"
+#include "MagickCore/resample.h"
+#include "MagickCore/resize.h"
+#include "MagickCore/statistic.h"
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#endif // MAGICKCORE_OPENCL_SUPPORT
+extern MagickPrivate Image
+ *AccelerateAddNoiseImage(const Image*,const NoiseType,ExceptionInfo *),
+ *AccelerateBlurImage(const Image *,const double,const double,ExceptionInfo *),
+ *AccelerateConvolveImage(const Image *,const KernelInfo *,ExceptionInfo *),
+ *AccelerateDespeckleImage(const Image *,ExceptionInfo *),
+ *AccelerateLocalContrastImage(const Image *,const double,const double,
+ ExceptionInfo *),
+ *AccelerateMotionBlurImage(const Image*,const double*,const size_t,
+ const OffsetInfo*,ExceptionInfo*),
+ *AccelerateResizeImage(const Image *,const size_t,const size_t,
+ const ResizeFilter *,ExceptionInfo *),
+ *AccelerateRotationalBlurImage(const Image *,const double,ExceptionInfo *),
+ *AccelerateUnsharpMaskImage(const Image *,const double,const double,
+ const double,const double,ExceptionInfo *),
+ *AccelerateWaveletDenoiseImage(const Image *,const double,ExceptionInfo *);
+
+extern MagickPrivate MagickBooleanType
+ AccelerateCompositeImage(Image *,const CompositeOperator,const Image *,
+ const float,const float,ExceptionInfo *),
+ AccelerateContrastImage(Image *,const MagickBooleanType,ExceptionInfo *),
+ AccelerateContrastStretchImage(Image *,const double,const double,
+ ExceptionInfo*),
+ AccelerateEqualizeImage(Image *,ExceptionInfo *),
+ AccelerateFunctionImage(Image *,const MagickFunction,const size_t,
+ const double *,ExceptionInfo *),
+ AccelerateGrayscaleImage(Image *,const PixelIntensityMethod,
+ ExceptionInfo *),
+ AccelerateModulateImage(Image *,const double,const double,const double,
+ const ColorspaceType, ExceptionInfo*);
+
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif
Include declarations.
*/
#include "MagickCore/studio.h"
-#include "MagickCore/accelerate.h"
#include "MagickCore/accelerate-private.h"
#include "MagickCore/artifact.h"
#include "MagickCore/cache.h"
#include "MagickCore/list.h"
#include "MagickCore/memory_.h"
#include "MagickCore/monitor-private.h"
-#include "MagickCore/accelerate.h"
#include "MagickCore/opencl.h"
#include "MagickCore/opencl-private.h"
#include "MagickCore/option.h"
return(filteredImage);
}
-MagickExport Image *AccelerateAddNoiseImage(const Image *image,
+MagickPrivate Image *AccelerateAddNoiseImage(const Image *image,
const NoiseType noise_type,ExceptionInfo *exception)
{
Image
return(filteredImage);
}
-MagickExport Image* AccelerateBlurImage(const Image *image,
+MagickPrivate Image* AccelerateBlurImage(const Image *image,
const double radius,const double sigma,ExceptionInfo *exception)
{
Image
return(outputReady);
}
-MagickExport MagickBooleanType AccelerateCompositeImage(Image *image,
+MagickPrivate MagickBooleanType AccelerateCompositeImage(Image *image,
const CompositeOperator compose,const Image *composite,
const float destination_dissolve,const float source_dissolve,
ExceptionInfo *exception)
return(outputReady);
}
-MagickExport MagickBooleanType AccelerateContrastImage(Image *image,
+MagickPrivate MagickBooleanType AccelerateContrastImage(Image *image,
const MagickBooleanType sharpen,ExceptionInfo *exception)
{
MagickBooleanType
return(outputReady);
}
-MagickExport MagickBooleanType AccelerateContrastStretchImage(
+MagickPrivate MagickBooleanType AccelerateContrastStretchImage(
Image *image,const double black_point,const double white_point,
ExceptionInfo *exception)
{
return(filteredImage);
}
-MagickExport Image *AccelerateConvolveImage(const Image *image,
+MagickPrivate Image *AccelerateConvolveImage(const Image *image,
const KernelInfo *kernel,ExceptionInfo *exception)
{
/* Temporary disabled due to access violation
return(filteredImage);
}
-MagickExport Image *AccelerateDespeckleImage(const Image* image,
+MagickPrivate Image *AccelerateDespeckleImage(const Image* image,
ExceptionInfo* exception)
{
Image
return(outputReady);
}
-MagickExport MagickBooleanType AccelerateEqualizeImage(Image *image,
+MagickPrivate MagickBooleanType AccelerateEqualizeImage(Image *image,
ExceptionInfo *exception)
{
MagickBooleanType
return(status);
}
-MagickExport MagickBooleanType AccelerateFunctionImage(Image *image,
+MagickPrivate MagickBooleanType AccelerateFunctionImage(Image *image,
const MagickFunction function,const size_t number_parameters,
const double *parameters,ExceptionInfo *exception)
{
return( outputReady);
}
-MagickExport MagickBooleanType AccelerateGrayscaleImage(Image* image,
+MagickPrivate MagickBooleanType AccelerateGrayscaleImage(Image* image,
const PixelIntensityMethod method,ExceptionInfo *exception)
{
MagickBooleanType
return(filteredImage);
}
-MagickExport Image *AccelerateLocalContrastImage(const Image *image,
+MagickPrivate Image *AccelerateLocalContrastImage(const Image *image,
const double radius,const double strength,ExceptionInfo *exception)
{
Image
}
-MagickExport MagickBooleanType AccelerateModulateImage(Image *image,
+MagickPrivate MagickBooleanType AccelerateModulateImage(Image *image,
const double percent_brightness,const double percent_hue,
const double percent_saturation,const ColorspaceType colorspace,
ExceptionInfo *exception)
return(filteredImage);
}
-MagickExport Image *AccelerateMotionBlurImage(const Image *image,
+MagickPrivate Image *AccelerateMotionBlurImage(const Image *image,
const double* kernel,const size_t width,const OffsetInfo *offset,
ExceptionInfo *exception)
{
return(MagickFalse);
}
-MagickExport Image *AccelerateResizeImage(const Image *image,
+MagickPrivate Image *AccelerateResizeImage(const Image *image,
const size_t resizedColumns,const size_t resizedRows,
const ResizeFilter *resizeFilter,ExceptionInfo *exception)
{
return filteredImage;
}
-MagickExport Image* AccelerateRotationalBlurImage(const Image *image,
+MagickPrivate Image* AccelerateRotationalBlurImage(const Image *image,
const double angle,ExceptionInfo *exception)
{
Image
return(filteredImage);
}
-MagickExport Image *AccelerateUnsharpMaskImage(const Image *image,
+MagickPrivate Image *AccelerateUnsharpMaskImage(const Image *image,
const double radius,const double sigma,const double gain,
const double threshold,ExceptionInfo *exception)
{
return(filteredImage);
}
-MagickExport Image *AccelerateWaveletDenoiseImage(const Image *image,
+MagickPrivate Image *AccelerateWaveletDenoiseImage(const Image *image,
const double threshold,ExceptionInfo *exception)
{
Image
#else /* MAGICKCORE_OPENCL_SUPPORT */
-MagickExport Image *AccelerateAddNoiseImage(const Image *magick_unused(image),
+MagickPrivate Image *AccelerateAddNoiseImage(const Image *magick_unused(image),
const NoiseType magick_unused(noise_type),
ExceptionInfo *magick_unused(exception))
{
return((Image *) NULL);
}
-MagickExport Image *AccelerateBlurImage(const Image *magick_unused(image),
+MagickPrivate Image *AccelerateBlurImage(const Image *magick_unused(image),
const double magick_unused(radius),const double magick_unused(sigma),
ExceptionInfo *magick_unused(exception))
{
return((Image *) NULL);
}
-MagickExport MagickBooleanType AccelerateCompositeImage(
+MagickPrivate MagickBooleanType AccelerateCompositeImage(
Image *magick_unused(image),const CompositeOperator magick_unused(compose),
const Image *magick_unused(composite),
const float magick_unused(destination_dissolve),
return(MagickFalse);
}
-MagickExport MagickBooleanType AccelerateContrastImage(
+MagickPrivate MagickBooleanType AccelerateContrastImage(
Image* magick_unused(image),const MagickBooleanType magick_unused(sharpen),
ExceptionInfo* magick_unused(exception))
{
return(MagickFalse);
}
-MagickExport MagickBooleanType AccelerateContrastStretchImage(
+MagickPrivate MagickBooleanType AccelerateContrastStretchImage(
Image *magick_unused(image),const double magick_unused(black_point),
const double magick_unused(white_point),
ExceptionInfo* magick_unused(exception))
return(MagickFalse);
}
-MagickExport Image *AccelerateConvolveImage(const Image *magick_unused(image),
+MagickPrivate Image *AccelerateConvolveImage(const Image *magick_unused(image),
const KernelInfo *magick_unused(kernel),
ExceptionInfo *magick_unused(exception))
{
return((Image *) NULL);
}
-MagickExport MagickBooleanType AccelerateEqualizeImage(
+MagickPrivate MagickBooleanType AccelerateEqualizeImage(
Image* magick_unused(image),ExceptionInfo* magick_unused(exception))
{
magick_unreferenced(image);
return(MagickFalse);
}
-MagickExport Image *AccelerateDespeckleImage(const Image* magick_unused(image),
+MagickPrivate Image *AccelerateDespeckleImage(const Image* magick_unused(image),
ExceptionInfo* magick_unused(exception))
{
magick_unreferenced(image);
return((Image *) NULL);
}
-MagickExport MagickBooleanType AccelerateFunctionImage(
+MagickPrivate MagickBooleanType AccelerateFunctionImage(
Image *magick_unused(image),
const MagickFunction magick_unused(function),
const size_t magick_unused(number_parameters),
return(MagickFalse);
}
-MagickExport MagickBooleanType AccelerateGrayscaleImage(
+MagickPrivate MagickBooleanType AccelerateGrayscaleImage(
Image *magick_unused(image),const PixelIntensityMethod magick_unused(method),
ExceptionInfo *magick_unused(exception))
{
return(MagickFalse);
}
-MagickExport Image *AccelerateLocalContrastImage(
+MagickPrivate Image *AccelerateLocalContrastImage(
const Image *magick_unused(image),const double magick_unused(radius),
const double magick_unused(strength),ExceptionInfo *magick_unused(exception))
{
return((Image *) NULL);
}
-MagickExport MagickBooleanType AccelerateModulateImage(
+MagickPrivate MagickBooleanType AccelerateModulateImage(
Image *magick_unused(image),const double magick_unused(percent_brightness),
const double magick_unused(percent_hue),
const double magick_unused(percent_saturation),
return(MagickFalse);
}
-MagickExport Image *AccelerateMotionBlurImage(
+MagickPrivate Image *AccelerateMotionBlurImage(
const Image *magick_unused(image),const double *magick_unused(kernel),
const size_t magick_unused(width),const OffsetInfo *magick_unused(offset),
ExceptionInfo *magick_unused(exception))
return((Image *) NULL);
}
-MagickExport MagickBooleanType AccelerateRandomImage(
+MagickPrivate MagickBooleanType AccelerateRandomImage(
Image *magick_unused(image),ExceptionInfo *magick_unused(exception))
{
magick_unreferenced(image);
return(MagickFalse);
}
-MagickExport Image *AccelerateResizeImage(const Image *magick_unused(image),
+MagickPrivate Image *AccelerateResizeImage(const Image *magick_unused(image),
const size_t magick_unused(resizedColumns),
const size_t magick_unused(resizedRows),
const ResizeFilter *magick_unused(resizeFilter),
return((Image *) NULL);
}
-MagickExport Image *AccelerateRotationalBlurImage(
+MagickPrivate Image *AccelerateRotationalBlurImage(
const Image *magick_unused(image),const double magick_unused(angle),
ExceptionInfo *magick_unused(exception))
{
return((Image *) NULL);
}
-MagickExport Image *AccelerateUnsharpMaskImage(
+MagickPrivate Image *AccelerateUnsharpMaskImage(
const Image *magick_unused(image),const double magick_unused(radius),
const double magick_unused(sigma),const double magick_unused(gain),
const double magick_unused(threshold),
return((Image *) NULL);
}
-MagickExport Image *AccelerateWaveletDenoiseImage(
+MagickPrivate Image *AccelerateWaveletDenoiseImage(
const Image *magick_unused(image),const double magick_unused(threshold),
ExceptionInfo *magick_unused(exception))
{
+++ /dev/null
-/*
- Copyright 1999-2016 ImageMagick Studio LLC, a non-profit organization
- dedicated to making software imaging solutions freely available.
-
- You may not use this file except in compliance with the License.
- obtain a copy of the License at
-
- http://www.imagemagick.org/script/license.php
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
- MagickCore acceleration methods.
-*/
-#ifndef _MAGICKCORE_ACCELERATE_H
-#define _MAGICKCORE_ACCELERATE_H
-
-#include "MagickCore/fx.h"
-#include "MagickCore/morphology.h"
-#include "MagickCore/resample.h"
-#include "MagickCore/resize.h"
-#include "MagickCore/statistic.h"
-
-#if defined(__cplusplus) || defined(c_plusplus)
-extern "C" {
-#endif
-
-extern MagickExport Image
- *AccelerateAddNoiseImage(const Image*,const NoiseType,ExceptionInfo *),
- *AccelerateBlurImage(const Image *,const double,const double,ExceptionInfo *),
- *AccelerateConvolveImage(const Image *,const KernelInfo *,ExceptionInfo *),
- *AccelerateDespeckleImage(const Image *,ExceptionInfo *),
- *AccelerateLocalContrastImage(const Image *,const double,const double,
- ExceptionInfo *),
- *AccelerateMotionBlurImage(const Image*,const double*,const size_t,
- const OffsetInfo*,ExceptionInfo*),
- *AccelerateResizeImage(const Image *,const size_t,const size_t,
- const ResizeFilter *,ExceptionInfo *),
- *AccelerateRotationalBlurImage(const Image *,const double,ExceptionInfo *),
- *AccelerateUnsharpMaskImage(const Image *,const double,const double,
- const double,const double,ExceptionInfo *),
- *AccelerateWaveletDenoiseImage(const Image *,const double,ExceptionInfo *);
-
-extern MagickExport MagickBooleanType
- AccelerateCompositeImage(Image *,const CompositeOperator,const Image *,
- const float,const float,ExceptionInfo *),
- AccelerateContrastImage(Image *,const MagickBooleanType,ExceptionInfo *),
- AccelerateContrastStretchImage(Image *,const double,const double,
- ExceptionInfo*),
- AccelerateEqualizeImage(Image *,ExceptionInfo *),
- AccelerateFunctionImage(Image *,const MagickFunction,const size_t,
- const double *,ExceptionInfo *),
- AccelerateGrayscaleImage(Image *,const PixelIntensityMethod,
- ExceptionInfo *),
- AccelerateModulateImage(Image *,const double,const double,const double,
- const ColorspaceType, ExceptionInfo*);
-
-#if defined(__cplusplus) || defined(c_plusplus)
-}
-#endif
-
-#endif