Commit 84a87f7a authored by Cristy's avatar Cristy

...

parent d2c3841f
......@@ -126,7 +126,7 @@ typedef struct _NexusInfo
signature;
struct _NexusInfo
*pixel_nexus;
*virtual_nexus;
} NexusInfo;
typedef struct _CacheInfo
......
......@@ -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*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment