assert(offset != (OffsetInfo *) NULL);
assert(exception != (ExceptionInfo *) NULL);
+ /* This kernel is broken and needs to be fixed. */
+ return((Image *) NULL);
+
if (checkAccelerateConditionRGBA(image) == MagickFalse)
return((Image *) NULL);
kernel=(MagickRealType *) RelinquishAlignedMemory(kernel);
ThrowImageException(ResourceLimitError,"MemoryAllocationFailed");
}
+#if defined(MAGICKCORE_OPENCL_SUPPORT)
+ blur_image=AccelerateMotionBlurImage(image,kernel,width,offset,exception);
+ if (blur_image != (Image *) NULL)
+ {
+ kernel=(MagickRealType *) RelinquishAlignedMemory(kernel);
+ offset=(OffsetInfo *) RelinquishMagickMemory(offset);
+ return(blur_image);
+ }
+#endif
blur_image=CloneImage(image,image->columns,image->rows,MagickTrue,exception);
if (blur_image == (Image *) NULL)
{