assert(cache_info->signature == MagickSignature);
*width=2048UL/sizeof(PixelPacket);
if (GetPixelCacheType(image) == DiskCache)
- *width=8196UL/sizeof(PixelPacket);
+ *width=8192UL/sizeof(PixelPacket);
*height=(*width);
}
\f
Rotate 90 degrees.
*/
GetPixelCacheTileSize(image,&tile_width,&tile_height);
+#if defined(MAGICKCORE_OPENMP_SUPPORT)
+ #pragma omp parallel for schedule(static,1) shared(progress, status)
+#endif
for (tile_y=0; tile_y < (long) image->rows; tile_y+=tile_height)
{
register long
if ((tile_y+(long) tile_height) > (long) image->rows)
height=(unsigned long) (tile_height-(tile_y+tile_height-
image->rows));
- p=GetCacheViewVirtualPixels(image_view,tile_x,tile_y,width,
- height,exception);
+ p=GetCacheViewVirtualPixels(image_view,tile_x,tile_y,width,height,
+ exception);
if (p == (const PixelPacket *) NULL)
{
status=MagickFalse;
/*
Rotate 180 degrees.
*/
+#if defined(MAGICKCORE_OPENMP_SUPPORT)
+ #pragma omp parallel for schedule(static,1) shared(progress, status)
+#endif
for (y=0; y < (long) image->rows; y++)
{
MagickBooleanType
Rotate 270 degrees.
*/
GetPixelCacheTileSize(image,&tile_width,&tile_height);
+#if defined(MAGICKCORE_OPENMP_SUPPORT)
+ #pragma omp parallel for schedule(static,1) shared(progress, status)
+#endif
for (tile_y=0; tile_y < (long) image->rows; tile_y+=tile_height)
{
register long