i;
assert(2*sizeof(size_t) > (size_t) (~SizeMask));
- (void) ResetMagickMemory(&memory_pool,0,sizeof(memory_pool));
+ (void) memset(&memory_pool,0,sizeof(memory_pool));
memory_pool.allocation=SegmentSize;
memory_pool.blocks[MaxBlocks]=(void *) (-1);
for (i=0; i < MaxSegments; i++)
sizeof(*memory_info)));
if (memory_info == (MemoryInfo *) NULL)
ThrowFatalException(ResourceLimitFatalError,"MemoryAllocationFailed");
- (void) ResetMagickMemory(memory_info,0,sizeof(*memory_info));
+ (void) memset(memory_info,0,sizeof(*memory_info));
extent=count*quantum;
memory_info->length=extent;
memory_info->signature=MagickCoreSignature;
(void) UnmapBlob(memory_pool.segments[i]->allocation,
memory_pool.segments[i]->length);
free_segments=(DataSegmentInfo *) NULL;
- (void) ResetMagickMemory(&memory_pool,0,sizeof(memory_pool));
+ (void) memset(&memory_pool,0,sizeof(memory_pool));
UnlockSemaphoreInfo(memory_semaphore);
RelinquishSemaphoreInfo(&memory_semaphore);
#endif
default:
{
/*
- No interlacing: GRAYGRAYGRAYGRAYGRAYGRAY...
+ No interlacing: GGG...
*/
if (scene == 0)
{
};
/*
- Line interlacing: GGG...
+ Line interlacing: G...G...G...
*/
if (scene == 0)
{
case PlaneInterlace:
{
/*
- Plane interlacing: GGG...
+ Plane interlacing: G...G...G...
*/
if (scene == 0)
{
case PartitionInterlace:
{
/*
- Partition interlacing: GGG...
+ Partition interlacing: G..., G..., G...
*/
AppendImageFormat("R",image->filename);
status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception);
case LineInterlace:
{
/*
- Line interlacing: GGG...
+ Line interlacing: G...G...G...
*/
for (y=0; y < (ssize_t) image->rows; y++)
{
case PlaneInterlace:
{
/*
- Plane interlacing: GGG...
+ Plane interlacing: G...G...G...
*/
for (y=0; y < (ssize_t) image->rows; y++)
{
case PartitionInterlace:
{
/*
- Partition interlacing: GGG...
+ Partition interlacing: G..., G..., G...
*/
AppendImageFormat("G",image->filename);
status=OpenBlob(image_info,image,scene == 0 ? WriteBinaryBlobMode :