Lines Matching refs:clone_info
481 static Image *decompress_block(Image *orig, unsigned int *Size, ImageInfo *clone_info, ExceptionInf… in decompress_block() argument
496 if(clone_info==NULL) return NULL; in decompress_block()
497 if(clone_info->file) /* Close file opened from previous transaction. */ in decompress_block()
499 fclose(clone_info->file); in decompress_block()
500 clone_info->file = NULL; in decompress_block()
501 (void) remove_utf8(clone_info->filename); in decompress_block()
514 file = AcquireUniqueFileResource(clone_info->filename); in decompress_block()
534 "UnableToUncompressImage","`%s'",clone_info->filename); in decompress_block()
536 RelinquishUniqueFileResource(clone_info->filename); in decompress_block()
577 if((clone_info->file=fopen(clone_info->filename,"rb"))==NULL) goto UnlinkFile; in decompress_block()
578 if( (image2 = AcquireImage(clone_info,exception))==NULL ) goto EraseFile; in decompress_block()
579 status = OpenBlob(clone_info,image2,ReadBinaryBlobMode,exception); in decompress_block()
584 fclose(clone_info->file); in decompress_block()
585 clone_info->file = NULL; in decompress_block()
587 RelinquishUniqueFileResource(clone_info->filename); in decompress_block()
884 ImageInfo *clone_info; in ReadMATImage() local
923 clone_info=(ImageInfo *) NULL; in ReadMATImage()
933 if (clone_info != (ImageInfo *) NULL) in ReadMATImage()
934 clone_info=DestroyImageInfo(clone_info); in ReadMATImage()
967 if (clone_info != (ImageInfo *) NULL) in ReadMATImage()
968 clone_info=DestroyImageInfo(clone_info); in ReadMATImage()
989 if (clone_info != (ImageInfo *) NULL) in ReadMATImage()
990 clone_info=DestroyImageInfo(clone_info); in ReadMATImage()
991 clone_info=CloneImageInfo(image_info); in ReadMATImage()
998 image2 = decompress_block(image,&MATLAB_HDR.ObjectSize,clone_info,exception); in ReadMATImage()
1006 clone_info=DestroyImageInfo(clone_info); in ReadMATImage()
1037 if (clone_info != (ImageInfo *) NULL) in ReadMATImage()
1038 clone_info=DestroyImageInfo(clone_info); in ReadMATImage()
1048 if (clone_info != (ImageInfo *) NULL) in ReadMATImage()
1049 clone_info=DestroyImageInfo(clone_info); in ReadMATImage()
1058 if (clone_info != (ImageInfo *) NULL) in ReadMATImage()
1059 clone_info=DestroyImageInfo(clone_info); in ReadMATImage()
1066 if (clone_info != (ImageInfo *) NULL) in ReadMATImage()
1067 clone_info=DestroyImageInfo(clone_info); in ReadMATImage()
1074 if (clone_info != (ImageInfo *) NULL) in ReadMATImage()
1075 clone_info=DestroyImageInfo(clone_info); in ReadMATImage()
1103 if (clone_info != (ImageInfo *) NULL) in ReadMATImage()
1104 clone_info=DestroyImageInfo(clone_info); in ReadMATImage()
1167 (void) SetImageOption(clone_info,"quantum:format","floating-point"); in ReadMATImage()
1176 (void) SetImageOption(clone_info,"quantum:format","floating-point"); in ReadMATImage()
1181 if (clone_info != (ImageInfo *) NULL) in ReadMATImage()
1182 clone_info=DestroyImageInfo(clone_info); in ReadMATImage()
1195 if (clone_info) in ReadMATImage()
1196 clone_info=DestroyImageInfo(clone_info); in ReadMATImage()
1230 if (clone_info != (ImageInfo *) NULL) in ReadMATImage()
1231 clone_info=DestroyImageInfo(clone_info); in ReadMATImage()
1237 quantum_info=AcquireQuantumInfo(clone_info,image); in ReadMATImage()
1240 if (clone_info != (ImageInfo *) NULL) in ReadMATImage()
1241 clone_info=DestroyImageInfo(clone_info); in ReadMATImage()
1251 if (clone_info != (ImageInfo *) NULL) in ReadMATImage()
1252 clone_info=DestroyImageInfo(clone_info); in ReadMATImage()
1290 if (clone_info != (ImageInfo *) NULL) in ReadMATImage()
1291 clone_info=DestroyImageInfo(clone_info); in ReadMATImage()
1393 if(clone_info) in ReadMATImage()
1395 if(clone_info->file) in ReadMATImage()
1397 fclose(clone_info->file); in ReadMATImage()
1398 clone_info->file = NULL; in ReadMATImage()
1399 (void) remove_utf8(clone_info->filename); in ReadMATImage()
1433 if(clone_info) in ReadMATImage()
1435 if(clone_info->file) in ReadMATImage()
1437 fclose(clone_info->file); in ReadMATImage()
1438 clone_info->file = NULL; in ReadMATImage()
1439 (void) remove_utf8(clone_info->filename); in ReadMATImage()
1444 if (clone_info) in ReadMATImage()
1445 clone_info=DestroyImageInfo(clone_info); in ReadMATImage()
1485 if(clone_info != NULL) /* cleanup garbage file from compression */ in ReadMATImage()
1487 if(clone_info->file) in ReadMATImage()
1489 fclose(clone_info->file); in ReadMATImage()
1490 clone_info->file = NULL; in ReadMATImage()
1491 (void) remove_utf8(clone_info->filename); in ReadMATImage()
1493 DestroyImageInfo(clone_info); in ReadMATImage()
1494 clone_info = NULL; in ReadMATImage()