Changeset 95
- Timestamp:
- 09/12/09 19:10:35 (6 months ago)
- Location:
- ImageMagick/trunk/magick
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
ImageMagick/trunk/magick/cache.c
r42 r95 2774 2774 *width=2048UL/sizeof(PixelPacket); 2775 2775 if (GetPixelCacheType(image) == DiskCache) 2776 *width=819 6UL/sizeof(PixelPacket);2776 *width=8192UL/sizeof(PixelPacket); 2777 2777 *height=(*width); 2778 2778 } -
ImageMagick/trunk/magick/shear.c
r67 r95 1074 1074 */ 1075 1075 GetPixelCacheTileSize(image,&tile_width,&tile_height); 1076 #if defined(MAGICKCORE_OPENMP_SUPPORT) 1077 #pragma omp parallel for schedule(static,1) shared(progress, status) 1078 #endif 1076 1079 for (tile_y=0; tile_y < (long) image->rows; tile_y+=tile_height) 1077 1080 { … … 1113 1116 height=(unsigned long) (tile_height-(tile_y+tile_height- 1114 1117 image->rows)); 1115 p=GetCacheViewVirtualPixels(image_view,tile_x,tile_y,width, 1116 height,exception);1118 p=GetCacheViewVirtualPixels(image_view,tile_x,tile_y,width,height, 1119 exception); 1117 1120 if (p == (const PixelPacket *) NULL) 1118 1121 { … … 1185 1188 Rotate 180 degrees. 1186 1189 */ 1190 #if defined(MAGICKCORE_OPENMP_SUPPORT) 1191 #pragma omp parallel for schedule(static,1) shared(progress, status) 1192 #endif 1187 1193 for (y=0; y < (long) image->rows; y++) 1188 1194 { … … 1258 1264 */ 1259 1265 GetPixelCacheTileSize(image,&tile_width,&tile_height); 1266 #if defined(MAGICKCORE_OPENMP_SUPPORT) 1267 #pragma omp parallel for schedule(static,1) shared(progress, status) 1268 #endif 1260 1269 for (tile_y=0; tile_y < (long) image->rows; tile_y+=tile_height) 1261 1270 {
