Changeset 11650 for ImageMagick/trunk
- Timestamp:
- 07/17/08 07:47:49 (6 weeks ago)
- Location:
- ImageMagick/trunk/magick
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
ImageMagick/trunk/magick/cache.c
r11608 r11650 350 350 const unsigned long rows,const unsigned long nexus,ExceptionInfo *exception) 351 351 { 352 CacheInfo353 *cache_info;354 355 352 const PixelPacket 356 353 *pixels; … … 360 357 361 358 /* 362 Transfer pixels from the cache.359 Return virtual cache region. 363 360 */ 364 361 region.x=x; … … 367 364 region.height=rows; 368 365 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);380 366 return(pixels); 381 367 } -
ImageMagick/trunk/magick/distort.c
r11649 r11650 1388 1388 resample_filter=AcquireResampleFilterThreadSet(image,exception); 1389 1389 distort_view=AcquireCacheViewThreadSet(distort_image); 1390 /* #pragma omp parallel for */1390 #pragma omp parallel for 1391 1391 for (j=0; j < (long) distort_image->rows; j++) 1392 1392 {
