1 module dmagick.c.accelerate; 2 3 import dmagick.c.colorspace; 4 import dmagick.c.composite; 5 import dmagick.c.exception; 6 import dmagick.c.fx; 7 import dmagick.c.geometry; 8 import dmagick.c.image; 9 import dmagick.c.magickType; 10 import dmagick.c.magickVersion; 11 import dmagick.c.morphology; 12 import dmagick.c.pixel; 13 import dmagick.c.statistic; 14 15 extern(C) 16 { 17 static if ( MagickLibVersion >= 0x689 ) 18 { 19 MagickBooleanType AccelerateCompositeImage(Image*, const ChannelType, const CompositeOperator, const(Image)*, const ssize_t, const ssize_t, const float, const float, ExceptionInfo*); 20 MagickBooleanType AccelerateContrastStretchImageChannel(Image*, const ChannelType, const double, const double, ExceptionInfo*); 21 MagickBooleanType AccelerateGrayscaleImage(Image*, const PixelIntensityMethod, ExceptionInfo*); 22 MagickBooleanType AccelerateRandomImage(Image*, ExceptionInfo*); 23 } 24 25 static if ( MagickLibVersion >= 0x688 ) 26 { 27 MagickBooleanType AccelerateContrastImage(Image*, const MagickBooleanType, ExceptionInfo*); 28 MagickBooleanType AccelerateEqualizeImage(Image*, const ChannelType, ExceptionInfo*); 29 MagickBooleanType AccelerateFunctionImage(Image*, const ChannelType, const MagickFunction, const size_t, const(double)*, ExceptionInfo*); 30 MagickBooleanType AccelerateModulateImage(Image*, double, double, double, ColorspaceType, ExceptionInfo*); 31 } 32 33 static if ( MagickLibVersion >= 0x688 ) 34 { 35 Image* AccelerateAddNoiseImage(const(Image)*, const ChannelType, const NoiseType, ExceptionInfo*); 36 Image* AccelerateBlurImage(const(Image)*, const ChannelType, const double, const double, ExceptionInfo*); 37 } 38 39 static if ( MagickLibVersion >= 0x687 ) 40 { 41 Image* AccelerateConvolveImageChannel(const(Image)*, const ChannelType, const(KernelInfo)*, ExceptionInfo*); 42 } 43 44 static if ( MagickLibVersion >= 0x689 ) 45 { 46 Image* AccelerateMotionBlurImage(const Image*, const ChannelType, const(double)*, const size_t, const(OffsetInfo)*, ExceptionInfo*); 47 } 48 49 /* legacy, do not use */ 50 MagickBooleanType AccelerateConvolveImage(const(Image)*, const(KernelInfo)*, Image*, ExceptionInfo*); 51 static if ( MagickLibVersion >= 0x689 ) 52 { 53 MagickBooleanType AccelerateNegateImageChannel(Image*, const ChannelType, const MagickBooleanType, ExceptionInfo*); 54 } 55 }