Lines Matching refs:pixels
291 % AcquirePixelCachePixels() returns the pixels associated with the specified
325 return((const void *) cache_info->pixels);
593 (void) memcpy(clone_info->pixels,cache_info->pixels,
595 sizeof(*cache_info->pixels));
631 *pixels;
647 pixels=SetPixelCacheNexusPixels(cache_info,ReadMode,®ion,
649 if (pixels == (Quantum *) NULL)
655 pixels=SetPixelCacheNexusPixels(clone_info,WriteMode,®ion,
657 if (pixels == (Quantum *) NULL)
659 (void) ResetMagickMemory(clone_nexus[id]->pixels,0,(size_t)
662 (void) memcpy(clone_nexus[id]->pixels,cache_nexus[id]->pixels,length*
675 p=cache_nexus[id]->pixels;
676 q=clone_nexus[id]->pixels;
721 *pixels;
734 pixels=SetPixelCacheNexusPixels(cache_info,ReadMode,®ion,
736 if (pixels == (Quantum *) NULL)
742 pixels=SetPixelCacheNexusPixels(clone_info,WriteMode,®ion,
744 if (pixels == (Quantum *) NULL)
895 pixels=(Quantum *) NULL;
900 cache_info->pixels=RelinquishAlignedMemory(cache_info->pixels);
902 (void) UnmapBlob(cache_info->pixels,(size_t) cache_info->length);
908 (void) UnmapBlob(cache_info->pixels,(size_t) cache_info->length);
909 cache_info->pixels=(Quantum *) NULL;
1021 nexus_info->pixels=(Quantum *) NULL;
1059 % returned if the associated pixels are not available.
1189 assert(cache_info->pixels != (Quantum *) NULL);
1190 cache_info->opencl=AcquireMagickCLCacheInfo(device,cache_info->pixels,
1195 assert(cache_info->opencl->pixels == cache_info->pixels);
1212 % GetAuthenticPixelCacheNexus() gets authentic pixels from the in-memory or
1214 % pixels is returned if the pixels are transferred, otherwise a NULL is
1228 % pixels.
1244 *magick_restrict pixels;
1247 Transfer pixels from the cache.
1251 pixels=QueueAuthenticPixelCacheNexus(image,x,y,columns,rows,MagickTrue,
1253 if (pixels == (Quantum *) NULL)
1258 return(pixels);
1264 return(pixels);
1279 % GetAuthenticPixelsFromCache() returns the pixels associated with the last
1305 return(cache_info->nexus_info[id]->pixels);
1320 % GetAuthenticPixelQueue() returns the authentic pixels associated
1350 return(cache_info->nexus_info[id]->pixels);
1369 % The returned pointer may point to a temporary working copy of the pixels
1370 % or it may point to the original pixels in memory. Performance is maximized
1372 % then there is opportunity to access the pixels in-place (without a copy)
1376 % Pixels accessed via the returned pointer represent a simple array of type
1394 % pixels.
1410 *pixels;
1420 pixels=cache_info->methods.get_authentic_pixels_handler(image,x,y,columns,
1422 return(pixels);
1425 pixels=GetAuthenticPixelCacheNexus(image,x,y,columns,rows,
1427 return(pixels);
1442 % GetAuthenticPixelsCache() gets pixels from the in-memory or disk pixel cache
1443 % as defined by the geometry parameters. A pointer to the pixels is returned
1444 % if the pixels are transferred, otherwise a NULL is returned.
1457 % pixels.
1473 *magick_restrict pixels;
1483 pixels=GetAuthenticPixelCacheNexus(image,x,y,columns,rows,
1485 return(pixels);
1500 % GetImageExtent() returns the extent of the pixels associated corresponding
1556 % o clone: any value other than MagickFalse clones the cache pixels.
2145 % GetPixelCacheNexusExtent() returns the extent of the pixels associated
2189 pixels associated with the specified image.
2223 return((void *) cache_info->pixels);
2288 % o width: the optimize cache tile width in pixels.
2290 % o height: the optimize cache tile height in pixels.
2323 % GetPixelCacheVirtualMethod() gets the "virtual pixels" method for the
2498 % GetVirtualPixelsFromNexus() gets virtual pixels from the in-memory or disk
2499 % pixel cache as defined by the geometry parameters. A pointer to the pixels
2500 % is returned if the pixels are transferred, otherwise a NULL is returned.
2516 % pixels.
2630 *magick_restrict pixels,
2659 Acquire pixels.
2672 pixels=SetPixelCacheNexusPixels(cache_info,ReadMode,®ion,nexus_info,
2674 if (pixels == (Quantum *) NULL)
2676 q=pixels;
2980 Transfer a run of pixels.
3006 return(pixels);
3021 % GetVirtualPixelCache() get virtual pixels from the in-memory or disk pixel
3022 % cache as defined by the geometry parameters. A pointer to the pixels
3023 % is returned if the pixels are transferred, otherwise a NULL is returned.
3039 % pixels.
3080 % GetVirtualPixelQueue() returns the virtual pixels associated corresponding
3127 % copy of the pixels or it may point to the original pixels in memory.
3129 % or more full rows, since there is opportunity to access the pixels in-place
3133 % Pixels accessed via the returned pointer represent a simple array of type
3139 % If you plan to modify the pixels, use GetAuthenticPixels() instead.
3156 % pixels.
3201 % GetVirtualPixelsCache() returns the pixels associated corresponding with the
3242 % GetVirtualPixelsNexus() returns the pixels associated with the specified
3254 % o nexus_info: the cache nexus to return the colormap pixels.
3268 return((const Quantum *) nexus_info->pixels);
3284 % dimensions, allocating space for the image pixels and optionally the
3534 cache_info->pixels=(Quantum *) MagickAssumeAligned(
3536 if (cache_info->pixels == (Quantum *) NULL)
3537 cache_info->pixels=source_info.pixels;
3546 cache_info->metacontent=(void *) (cache_info->pixels+
3676 cache_info->pixels=(Quantum *) MapBlob(cache_info->file,mode,
3678 if (cache_info->pixels == (Quantum *) NULL)
3681 cache_info->pixels=source_info.pixels;
3693 cache_info->metacontent=(void *) (cache_info->pixels+
3777 % o offset: the offset in the persistent cache to store pixels.
3888 % QueueAuthenticPixelCacheNexus() allocates an region to store image pixels as
3891 % SyncAuthenticPixelsCache(). A pointer to the pixels is returned if the
3892 % pixels are transferred, otherwise a NULL is returned.
3906 % pixels.
3929 *magick_restrict pixels;
3966 pixels=SetPixelCacheNexusPixels(cache_info,WriteMode,®ion,nexus_info,
3968 return(pixels);
3983 % QueueAuthenticPixelsCache() allocates an region to store image pixels as
3986 % SyncAuthenticPixelsCache(). A pointer to the pixels is returned if the
3987 % pixels are transferred, otherwise a NULL is returned.
4000 % pixels.
4016 *magick_restrict pixels;
4024 pixels=QueueAuthenticPixelCacheNexus(image,x,y,columns,rows,MagickFalse,
4026 return(pixels);
4044 % point to a temporary working buffer for the pixels or it may point to the
4045 % final location of the pixels in memory.
4058 % pixels in-place (without a copy) if the image is in memory, or in a
4062 % Pixels accessed via the returned pointer represent a simple array of type
4081 % pixels.
4097 *magick_restrict pixels;
4107 pixels=cache_info->methods.queue_authentic_pixels_handler(image,x,y,
4109 return(pixels);
4112 pixels=QueueAuthenticPixelCacheNexus(image,x,y,columns,rows,MagickFalse,
4114 return(pixels);
4336 % ReadPixelCachePixels() reads pixels from the specified region of the pixel
4348 % o nexus_info: the cache nexus to read the pixels.
4391 q=nexus_info->pixels;
4401 Read pixels from memory.
4409 p=cache_info->pixels+offset*cache_info->number_channels;
4421 Read pixels from disk.
4457 Read pixels from distributed cache.
4723 Does nexus pixels point directly to in-core cache pixels or is it buffered?
4729 status=nexus_info->pixels == (cache_info->pixels+offset*
4739 MagickCachePrefetch((unsigned char *) nexus_info->pixels,0,1);
4742 MagickCachePrefetch((unsigned char *) nexus_info->pixels,1,1);
4779 Pixels are accessed directly from memory.
4783 nexus_info->pixels=cache_info->pixels+cache_info->number_channels*
4792 return(nexus_info->pixels);
4796 Pixels are stored in a staging region until they are synced to the cache.
4825 nexus_info->pixels=nexus_info->cache;
4828 nexus_info->metacontent=(void *) (nexus_info->pixels+number_pixels*
4833 return(nexus_info->pixels);
4848 % SetPixelCacheVirtualMethod() sets the "virtual pixels" method for the
5029 % SyncAuthenticPixelCacheNexus() saves the authentic image pixels to the
5057 Transfer pixels to the cache.
5094 % SyncAuthenticPixelsCache() saves the authentic image pixels to the in-memory
5145 % SyncAuthenticPixels() saves the image pixels to the in-memory or disk cache.
5203 % SyncImagePixelCache() saves the image pixels to the in-memory or disk cache.
5301 Write associated pixels to memory.
5322 Write associated pixels to disk.
5414 % WritePixelCachePixels() writes image pixels to the specified region of the
5426 % o nexus_info: the cache nexus to write the pixels.
5461 p=nexus_info->pixels;
5471 Write pixels to memory.
5479 q=cache_info->pixels+offset*cache_info->number_channels;
5491 Write pixels to disk.
5528 Write pixels to distributed cache.