Lines Matching refs:packet_size
125 packet_size, in ReadMAPImage() local
164 packet_size=(size_t) (depth/8); in ReadMAPImage()
165 pixels=(unsigned char *) AcquireQuantumMemory(image->columns,packet_size* in ReadMAPImage()
167 packet_size=(size_t) (image->colors > 256 ? 6UL : 3UL); in ReadMAPImage()
168 colormap=(unsigned char *) AcquireQuantumMemory(image->colors,packet_size* in ReadMAPImage()
176 count=ReadBlob(image,packet_size*image->colors,colormap); in ReadMAPImage()
177 if (count != (ssize_t) (packet_size*image->colors)) in ReadMAPImage()
212 packet_size=(size_t) (depth/8); in ReadMAPImage()
219 count=ReadBlob(image,(size_t) packet_size*image->columns,pixels); in ReadMAPImage()
220 if (count != (ssize_t) (packet_size*image->columns)) in ReadMAPImage()
356 packet_size; in WriteMAPImage() local
386 packet_size=(size_t) (depth/8); in WriteMAPImage()
387 pixels=(unsigned char *) AcquireQuantumMemory(image->columns,packet_size* in WriteMAPImage()
389 packet_size=(size_t) (image->colors > 256 ? 6UL : 3UL); in WriteMAPImage()
390 colormap=(unsigned char *) AcquireQuantumMemory(image->colors,packet_size* in WriteMAPImage()
416 (void) WriteBlob(image,packet_size*image->colors,colormap); in WriteMAPImage()