Changeset 11651 for ImageMagick/trunk
- Timestamp:
- 07/17/08 07:59:07 (5 weeks ago)
- Location:
- ImageMagick/trunk/magick
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
ImageMagick/trunk/magick/cache.c
r11650 r11651 350 350 const unsigned long rows,const unsigned long nexus,ExceptionInfo *exception) 351 351 { 352 CacheInfo 353 *cache_info; 354 352 355 const PixelPacket 353 356 *pixels; … … 357 360 358 361 /* 359 Return virtual cache region.362 Transfer pixels from the cache. 360 363 */ 361 364 region.x=x; … … 364 367 region.height=rows; 365 368 pixels=SetNexus(image,®ion,nexus); 369 if (pixels == (PixelPacket *) NULL) 370 return((const PixelPacket *) NULL); 371 cache_info=(CacheInfo *) image->cache; 372 if (IsNexusInCore(cache_info,nexus) != MagickFalse) 373 return(pixels); 374 if (ReadCachePixels(cache_info,nexus,exception) == MagickFalse) 375 return((const PixelPacket *) NULL); 376 if ((cache_info->storage_class == PseudoClass) || 377 (cache_info->colorspace == CMYKColorspace)) 378 if (ReadCacheIndexes(cache_info,nexus,exception) == MagickFalse) 379 return((const PixelPacket *) NULL); 366 380 return(pixels); 367 381 } -
ImageMagick/trunk/magick/distort.c
r11650 r11651 1388 1388 resample_filter=AcquireResampleFilterThreadSet(image,exception); 1389 1389 distort_view=AcquireCacheViewThreadSet(distort_image); 1390 #pragma omp parallel for1390 /* #pragma omp parallel for */ 1391 1391 for (j=0; j < (long) distort_image->rows; j++) 1392 1392 {
