]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Fri, 5 Apr 2019 14:04:13 +0000 (10:04 -0400)
committerCristy <urban-warrior@imagemagick.org>
Fri, 5 Apr 2019 14:04:13 +0000 (10:04 -0400)
MagickCore/cache-private.h
MagickCore/cache.c

index d82dee7a004c0bfd0f6596a6722417b18f7cbc0b..b9e44a1048e6c5a003678b241aeb1063b628b2b5 100644 (file)
@@ -126,7 +126,7 @@ typedef struct _NexusInfo
     signature;
 
   struct _NexusInfo
-    *pixel_nexus;
+    *virtual_nexus;
 } NexusInfo;
 
 typedef struct _CacheInfo
index 35ed43b70abb6d6dd1a906edeffa4c4869df4330..8f06e3ecdb15d2398cc495a03e9c6fd186a25cdc 100644 (file)
@@ -276,7 +276,7 @@ MagickPrivate NexusInfo **AcquirePixelCacheNexus(const size_t number_threads)
   {
     nexus_info[i]=(*nexus_info+i);
     if (i < (ssize_t) number_threads)
-      nexus_info[i]->pixel_nexus=(*nexus_info+number_threads+i);
+      nexus_info[i]->virtual_nexus=(*nexus_info+number_threads+i);
     nexus_info[i]->signature=MagickCoreSignature;
   }
   return(nexus_info);
@@ -437,7 +437,7 @@ static MagickBooleanType ClipPixelCacheNexus(Image *image,
   if (cache_info == (Cache) NULL)
     return(MagickFalse);
   p=GetAuthenticPixelCacheNexus(image,nexus_info->region.x,nexus_info->region.y,
-    nexus_info->region.width,nexus_info->region.height,nexus_info->pixel_nexus,
+    nexus_info->region.width,nexus_info->region.height,nexus_info->virtual_nexus,
     exception);
   q=nexus_info->pixels;
   number_pixels=(MagickSizeType) nexus_info->region.width*
@@ -2795,7 +2795,7 @@ MagickPrivate const Quantum *GetVirtualPixelCacheNexus(const Image *image,
   /*
     Pixel request is outside cache extents.
   */
-  virtual_nexus=nexus_info->pixel_nexus;
+  virtual_nexus=nexus_info->virtual_nexus;
   s=(unsigned char *) nexus_info->metacontent;
   (void) memset(virtual_pixel,0,cache_info->number_channels*
     sizeof(*virtual_pixel));
@@ -2918,7 +2918,7 @@ MagickPrivate const Quantum *GetVirtualPixelCacheNexus(const Image *image,
                 EdgeY(y_offset,cache_info->rows),1UL,1UL,virtual_nexus,
                 exception);
               r=GetVirtualMetacontentFromNexus(cache_info,
-                nexus_info->pixel_nexus);
+                nexus_info->virtual_nexus);
               break;
             }
             case RandomVirtualPixelMethod:
@@ -3414,7 +3414,7 @@ static MagickBooleanType MaskPixelCacheNexus(Image *image,NexusInfo *nexus_info,
   if (cache_info == (Cache) NULL)
     return(MagickFalse);
   p=GetAuthenticPixelCacheNexus(image,nexus_info->region.x,nexus_info->region.y,
-    nexus_info->region.width,nexus_info->region.height,nexus_info->pixel_nexus,
+    nexus_info->region.width,nexus_info->region.height,nexus_info->virtual_nexus,
     exception);
   q=nexus_info->pixels;
   number_pixels=(MagickSizeType) nexus_info->region.width*