Lines Matching refs:ipl_info

185     ipl_info;  in ReadIPLImage()  local
243 ipl_info.size=ReadBlobLong(image); in ReadIPLImage()
244 ipl_info.width=ReadBlobLong(image); in ReadIPLImage()
245 ipl_info.height=ReadBlobLong(image); in ReadIPLImage()
246 if((ipl_info.width == 0UL) || (ipl_info.height == 0UL)) in ReadIPLImage()
248 ipl_info.colors=ReadBlobLong(image); in ReadIPLImage()
249 if(ipl_info.colors == 3){ SetImageColorspace(image,sRGBColorspace,exception);} in ReadIPLImage()
251 ipl_info.z=ReadBlobLong(image); in ReadIPLImage()
252 ipl_info.time=ReadBlobLong(image); in ReadIPLImage()
254 ipl_info.byteType=ReadBlobLong(image); in ReadIPLImage()
259 switch (ipl_info.byteType) { in ReadIPLImage()
261 ipl_info.depth=8; in ReadIPLImage()
265 ipl_info.depth=16; in ReadIPLImage()
269 ipl_info.depth=16; in ReadIPLImage()
273 ipl_info.depth=32; in ReadIPLImage()
276 case 4: ipl_info.depth=32; in ReadIPLImage()
280 ipl_info.depth=8; in ReadIPLImage()
284 ipl_info.depth=16; in ReadIPLImage()
288 ipl_info.depth=64; in ReadIPLImage()
292 ipl_info.depth=16; in ReadIPLImage()
296 extent=ipl_info.width*ipl_info.height*ipl_info.z*ipl_info.depth/8; in ReadIPLImage()
303 SetHeaderFromIPL(image, &ipl_info); in ReadIPLImage()
315 SetHeaderFromIPL(image, &ipl_info); in ReadIPLImage()
334 if(image->columns != ipl_info.width){ in ReadIPLImage()
345 if(ipl_info.colors == 1){ in ReadIPLImage()
400 if (t_count < (size_t) (ipl_info.z*ipl_info.time)) in ReadIPLImage()
417 } while (t_count < (size_t) (ipl_info.z*ipl_info.time)); in ReadIPLImage()
510 ipl_info; in WriteIPLImage() local
557 ipl_info.byteType = 0; in WriteIPLImage()
561 ipl_info.byteType = 2; in WriteIPLImage()
564 ipl_info.byteType = 1; in WriteIPLImage()
569 ipl_info.byteType = 3; in WriteIPLImage()
572 ipl_info.byteType = 4; in WriteIPLImage()
576 ipl_info.byteType = 10; in WriteIPLImage()
579 ipl_info.byteType = 2; in WriteIPLImage()
584 ipl_info.z = (unsigned int) imageListLength; in WriteIPLImage()
586 ipl_info.time = 1; in WriteIPLImage()
587 ipl_info.width = (unsigned int) image->columns; in WriteIPLImage()
588 ipl_info.height = (unsigned int) image->rows; in WriteIPLImage()
590 if(IssRGBCompatibleColorspace(image->colorspace) != MagickFalse) { ipl_info.colors = 3; } in WriteIPLImage()
591 else{ ipl_info.colors = 1; } in WriteIPLImage()
593 ipl_info.size = (unsigned int) (28 + in WriteIPLImage()
594 ((image->depth)/8)*ipl_info.height*ipl_info.width*ipl_info.colors*ipl_info.z); in WriteIPLImage()
614 (void) WriteBlobLong(image, ipl_info.size); in WriteIPLImage()
615 (void) WriteBlobLong(image, ipl_info.width); in WriteIPLImage()
616 (void) WriteBlobLong(image, ipl_info.height); in WriteIPLImage()
617 (void) WriteBlobLong(image, ipl_info.colors); in WriteIPLImage()
621 (void) WriteBlobLong(image, ipl_info.z); in WriteIPLImage()
622 (void) WriteBlobLong(image, ipl_info.time); in WriteIPLImage()
623 (void) WriteBlobLong(image, ipl_info.byteType); in WriteIPLImage()
631 if(ipl_info.colors == 1){ in WriteIPLImage()
633 for(y = 0; y < (ssize_t) ipl_info.height; y++){ in WriteIPLImage()
643 if(ipl_info.colors == 3){ in WriteIPLImage()
645 for(y = 0; y < (ssize_t) ipl_info.height; y++){ in WriteIPLImage()
655 for(y = 0; y < (ssize_t) ipl_info.height; y++){ in WriteIPLImage()
664 for(y = 0; y < (ssize_t) ipl_info.height; y++){ in WriteIPLImage()