Lines Matching refs:exception
100 ExceptionInfo *exception) in ReadYCBCRImage() argument
139 assert(exception != (ExceptionInfo *) NULL); in ReadYCBCRImage()
140 assert(exception->signature == MagickCoreSignature); in ReadYCBCRImage()
141 image=AcquireImage(image_info,exception); in ReadYCBCRImage()
144 status=SetImageExtent(image,image->columns,image->rows,exception); in ReadYCBCRImage()
147 (void) SetImageColorspace(image,YCbCrColorspace,exception); in ReadYCBCRImage()
150 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadYCBCRImage()
157 ThrowFileException(exception,CorruptImageError,"UnexpectedEndOfFile", in ReadYCBCRImage()
164 exception); in ReadYCBCRImage()
168 exception); in ReadYCBCRImage()
210 status=SetImageExtent(image,image->columns,image->rows,exception); in ReadYCBCRImage()
213 if (SetImageColorspace(image,YCbCrColorspace,exception) == MagickFalse) in ReadYCBCRImage()
243 ThrowFileException(exception,CorruptImageError, in ReadYCBCRImage()
248 exception); in ReadYCBCRImage()
252 quantum_info,quantum_type,pixels,exception); in ReadYCBCRImage()
253 if (SyncAuthenticPixels(canvas_image,exception) == MagickFalse) in ReadYCBCRImage()
259 canvas_image->columns,1,exception); in ReadYCBCRImage()
261 image->columns,1,exception); in ReadYCBCRImage()
275 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadYCBCRImage()
326 ThrowFileException(exception,CorruptImageError, in ReadYCBCRImage()
332 exception); in ReadYCBCRImage()
336 quantum_info,quantum_type,pixels,exception); in ReadYCBCRImage()
337 if (SyncAuthenticPixels(canvas_image,exception) == MagickFalse) in ReadYCBCRImage()
343 0,canvas_image->columns,1,exception); in ReadYCBCRImage()
345 image->columns,1,exception); in ReadYCBCRImage()
379 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadYCBCRImage()
420 ThrowFileException(exception,CorruptImageError, in ReadYCBCRImage()
425 exception); in ReadYCBCRImage()
429 quantum_info,RedQuantum,pixels,exception); in ReadYCBCRImage()
430 if (SyncAuthenticPixels(canvas_image,exception) == MagickFalse) in ReadYCBCRImage()
436 canvas_image->columns,1,exception); in ReadYCBCRImage()
438 image->columns,1,exception); in ReadYCBCRImage()
448 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadYCBCRImage()
474 ThrowFileException(exception,CorruptImageError, in ReadYCBCRImage()
479 exception); in ReadYCBCRImage()
483 quantum_info,GreenQuantum,pixels,exception); in ReadYCBCRImage()
484 if (SyncAuthenticPixels(canvas_image,exception) == MagickFalse) in ReadYCBCRImage()
490 canvas_image->columns,1,exception); in ReadYCBCRImage()
492 image->columns,1,exception); in ReadYCBCRImage()
502 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadYCBCRImage()
528 ThrowFileException(exception,CorruptImageError, in ReadYCBCRImage()
533 exception); in ReadYCBCRImage()
537 quantum_info,BlueQuantum,pixels,exception); in ReadYCBCRImage()
538 if (SyncAuthenticPixels(canvas_image,exception) == MagickFalse) in ReadYCBCRImage()
544 canvas_image->columns,1,exception); in ReadYCBCRImage()
546 image->columns,1,exception); in ReadYCBCRImage()
556 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadYCBCRImage()
584 ThrowFileException(exception,CorruptImageError, in ReadYCBCRImage()
589 exception); in ReadYCBCRImage()
593 quantum_info,AlphaQuantum,pixels,exception); in ReadYCBCRImage()
594 if (SyncAuthenticPixels(canvas_image,exception) == MagickFalse) in ReadYCBCRImage()
601 exception); in ReadYCBCRImage()
603 image->columns,1,exception); in ReadYCBCRImage()
613 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadYCBCRImage()
640 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadYCBCRImage()
646 ThrowFileException(exception,CorruptImageError,"UnexpectedEndOfFile", in ReadYCBCRImage()
679 ThrowFileException(exception,CorruptImageError, in ReadYCBCRImage()
684 exception); in ReadYCBCRImage()
688 quantum_info,RedQuantum,pixels,exception); in ReadYCBCRImage()
689 if (SyncAuthenticPixels(canvas_image,exception) == MagickFalse) in ReadYCBCRImage()
695 canvas_image->columns,1,exception); in ReadYCBCRImage()
697 image->columns,1,exception); in ReadYCBCRImage()
707 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadYCBCRImage()
721 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadYCBCRImage()
753 ThrowFileException(exception,CorruptImageError, in ReadYCBCRImage()
758 exception); in ReadYCBCRImage()
762 quantum_info,GreenQuantum,pixels,exception); in ReadYCBCRImage()
763 if (SyncAuthenticPixels(canvas_image,exception) == MagickFalse) in ReadYCBCRImage()
769 canvas_image->columns,1,exception); in ReadYCBCRImage()
771 image->columns,1,exception); in ReadYCBCRImage()
781 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadYCBCRImage()
795 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadYCBCRImage()
827 ThrowFileException(exception,CorruptImageError, in ReadYCBCRImage()
832 exception); in ReadYCBCRImage()
836 quantum_info,BlueQuantum,pixels,exception); in ReadYCBCRImage()
837 if (SyncAuthenticPixels(canvas_image,exception) == MagickFalse) in ReadYCBCRImage()
843 canvas_image->columns,1,exception); in ReadYCBCRImage()
845 image->columns,1,exception); in ReadYCBCRImage()
855 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadYCBCRImage()
871 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadYCBCRImage()
903 ThrowFileException(exception,CorruptImageError, in ReadYCBCRImage()
908 exception); in ReadYCBCRImage()
912 quantum_info,BlueQuantum,pixels,exception); in ReadYCBCRImage()
913 if (SyncAuthenticPixels(canvas_image,exception) == MagickFalse) in ReadYCBCRImage()
920 exception); in ReadYCBCRImage()
922 image->columns,1,exception); in ReadYCBCRImage()
932 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadYCBCRImage()
968 AcquireNextImage(image_info,image,exception); in ReadYCBCRImage()
1087 Image *image,ExceptionInfo *exception) in WriteYCBCRImage() argument
1129 assert(exception != (ExceptionInfo *) NULL); in WriteYCBCRImage()
1130 assert(exception->signature == MagickCoreSignature); in WriteYCBCRImage()
1131 status=OpenBlob(image_info,image,WriteBinaryBlobMode,exception); in WriteYCBCRImage()
1149 (void) TransformImageColorspace(image,YCbCrColorspace,exception); in WriteYCBCRImage()
1152 (void) SetImageAlphaChannel(image,OpaqueAlphaChannel,exception); in WriteYCBCRImage()
1167 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteYCBCRImage()
1171 quantum_type,pixels,exception); in WriteYCBCRImage()
1192 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteYCBCRImage()
1196 RedQuantum,pixels,exception); in WriteYCBCRImage()
1201 GreenQuantum,pixels,exception); in WriteYCBCRImage()
1206 BlueQuantum,pixels,exception); in WriteYCBCRImage()
1213 AlphaQuantum,pixels,exception); in WriteYCBCRImage()
1235 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteYCBCRImage()
1239 RedQuantum,pixels,exception); in WriteYCBCRImage()
1252 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteYCBCRImage()
1256 GreenQuantum,pixels,exception); in WriteYCBCRImage()
1269 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteYCBCRImage()
1273 BlueQuantum,pixels,exception); in WriteYCBCRImage()
1288 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteYCBCRImage()
1292 AlphaQuantum,pixels,exception); in WriteYCBCRImage()
1316 AppendBinaryBlobMode,exception); in WriteYCBCRImage()
1321 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteYCBCRImage()
1325 RedQuantum,pixels,exception); in WriteYCBCRImage()
1339 AppendBinaryBlobMode,exception); in WriteYCBCRImage()
1344 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteYCBCRImage()
1348 GreenQuantum,pixels,exception); in WriteYCBCRImage()
1362 AppendBinaryBlobMode,exception); in WriteYCBCRImage()
1367 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteYCBCRImage()
1371 BlueQuantum,pixels,exception); in WriteYCBCRImage()
1387 AppendBinaryBlobMode,exception); in WriteYCBCRImage()
1392 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteYCBCRImage()
1396 AlphaQuantum,pixels,exception); in WriteYCBCRImage()