• Home
  • Raw
  • Download

Lines Matching full:image

13 %                     Read/Write Raw YCbCr Image Format                       %
51 #include "MagickCore/image.h"
52 #include "MagickCore/image-private.h"
70 WriteYCBCRImage(const ImageInfo *,Image *,ExceptionInfo *);
83 % ReadYCBCRImage() reads an image of raw YCbCr or YCbCrA samples and returns
84 % it. It allocates the memory necessary for the new Image structure and
85 % returns a pointer to the new image.
89 % Image *ReadYCBCRImage(const ImageInfo *image_info,
94 % o image_info: the image info.
99 static Image *ReadYCBCRImage(const ImageInfo *image_info, in ReadYCBCRImage()
105 Image in ReadYCBCRImage()
107 *image; in ReadYCBCRImage() local
135 Open image file. in ReadYCBCRImage()
144 image=AcquireImage(image_info,exception); in ReadYCBCRImage()
145 if ((image->columns == 0) || (image->rows == 0)) in ReadYCBCRImage()
147 status=SetImageExtent(image,image->columns,image->rows,exception); in ReadYCBCRImage()
149 return(DestroyImageList(image)); in ReadYCBCRImage()
150 (void) SetImageColorspace(image,YCbCrColorspace,exception); in ReadYCBCRImage()
153 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadYCBCRImage()
156 image=DestroyImageList(image); in ReadYCBCRImage()
157 return((Image *) NULL); in ReadYCBCRImage()
159 if (DiscardBlobBytes(image,(MagickSizeType) image->offset) == MagickFalse) in ReadYCBCRImage()
161 image->filename); in ReadYCBCRImage()
164 Create virtual canvas to support cropping (i.e. image.rgb[100x100+10+20]). in ReadYCBCRImage()
166 canvas_image=CloneImage(image,image->extract_info.width,1,MagickFalse, in ReadYCBCRImage()
168 if (canvas_image == (Image *) NULL) in ReadYCBCRImage()
182 image->alpha_trait=BlendPixelTrait; in ReadYCBCRImage()
186 while (image->scene < image_info->scene) in ReadYCBCRImage()
189 Skip to next image. in ReadYCBCRImage()
191 image->scene++; in ReadYCBCRImage()
193 for (y=0; y < (ssize_t) image->rows; y++) in ReadYCBCRImage()
195 stream=ReadBlobStream(image,length,pixels,&count); in ReadYCBCRImage()
208 Read pixels to virtual canvas image then push to image. in ReadYCBCRImage()
211 if (image->scene >= (image_info->scene+image_info->number_scenes-1)) in ReadYCBCRImage()
213 status=SetImageExtent(image,image->columns,image->rows,exception); in ReadYCBCRImage()
216 if (SetImageColorspace(image,YCbCrColorspace,exception) == MagickFalse) in ReadYCBCRImage()
229 stream=ReadBlobStream(image,length,pixels,&count); in ReadYCBCRImage()
231 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadYCBCRImage()
246 "UnexpectedEndOfFile",image->filename); in ReadYCBCRImage()
257 if (((y-image->extract_info.y) >= 0) && in ReadYCBCRImage()
258 ((y-image->extract_info.y) < (ssize_t) image->rows)) in ReadYCBCRImage()
262 q=QueueAuthenticPixels(image,0,y-image->extract_info.y, in ReadYCBCRImage()
263 image->columns,1,exception); in ReadYCBCRImage()
267 for (x=0; x < (ssize_t) image->columns; x++) in ReadYCBCRImage()
269 SetPixelRed(image,GetPixelRed(canvas_image,p),q); in ReadYCBCRImage()
270 SetPixelGreen(image,GetPixelGreen(canvas_image,p),q); in ReadYCBCRImage()
271 SetPixelBlue(image,GetPixelBlue(canvas_image,p),q); in ReadYCBCRImage()
272 if (image->alpha_trait != UndefinedPixelTrait) in ReadYCBCRImage()
273 SetPixelAlpha(image,GetPixelAlpha(canvas_image,p),q); in ReadYCBCRImage()
275 q+=GetPixelChannels(image); in ReadYCBCRImage()
277 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadYCBCRImage()
280 if (image->previous == (Image *) NULL) in ReadYCBCRImage()
282 status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, in ReadYCBCRImage()
283 image->rows); in ReadYCBCRImage()
287 stream=ReadBlobStream(image,length,pixels,&count); in ReadYCBCRImage()
308 stream=ReadBlobStream(image,length,pixels,&count); in ReadYCBCRImage()
310 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadYCBCRImage()
312 for (i=0; i < (ssize_t) (image->alpha_trait != UndefinedPixelTrait ? 4 : 3); i++) in ReadYCBCRImage()
327 "UnexpectedEndOfFile",image->filename); in ReadYCBCRImage()
339 if (((y-image->extract_info.y) >= 0) && in ReadYCBCRImage()
340 ((y-image->extract_info.y) < (ssize_t) image->rows)) in ReadYCBCRImage()
344 q=GetAuthenticPixels(image,0,y-image->extract_info.y, in ReadYCBCRImage()
345 image->columns,1,exception); in ReadYCBCRImage()
349 for (x=0; x < (ssize_t) image->columns; x++) in ReadYCBCRImage()
355 SetPixelRed(image,GetPixelRed(canvas_image,p),q); in ReadYCBCRImage()
360 SetPixelGreen(image,GetPixelGreen(canvas_image,p),q); in ReadYCBCRImage()
365 SetPixelBlue(image,GetPixelBlue(canvas_image,p),q); in ReadYCBCRImage()
370 SetPixelAlpha(image,GetPixelAlpha(canvas_image,p),q); in ReadYCBCRImage()
377 q+=GetPixelChannels(image); in ReadYCBCRImage()
379 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadYCBCRImage()
382 stream=ReadBlobStream(image,length,pixels,&count); in ReadYCBCRImage()
384 if (image->previous == (Image *) NULL) in ReadYCBCRImage()
386 status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, in ReadYCBCRImage()
387 image->rows); in ReadYCBCRImage()
402 stream=ReadBlobStream(image,length,pixels,&count); in ReadYCBCRImage()
404 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadYCBCRImage()
419 "UnexpectedEndOfFile",image->filename); in ReadYCBCRImage()
430 if (((y-image->extract_info.y) >= 0) && in ReadYCBCRImage()
431 ((y-image->extract_info.y) < (ssize_t) image->rows)) in ReadYCBCRImage()
435 q=GetAuthenticPixels(image,0,y-image->extract_info.y, in ReadYCBCRImage()
436 image->columns,1,exception); in ReadYCBCRImage()
440 for (x=0; x < (ssize_t) image->columns; x++) in ReadYCBCRImage()
442 SetPixelRed(image,GetPixelRed(canvas_image,p),q); in ReadYCBCRImage()
444 q+=GetPixelChannels(image); in ReadYCBCRImage()
446 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadYCBCRImage()
449 stream=ReadBlobStream(image,length,pixels,&count); in ReadYCBCRImage()
451 if (image->previous == (Image *) NULL) in ReadYCBCRImage()
453 status=SetImageProgress(image,LoadImageTag,1,5); in ReadYCBCRImage()
457 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadYCBCRImage()
472 "UnexpectedEndOfFile",image->filename); in ReadYCBCRImage()
483 if (((y-image->extract_info.y) >= 0) && in ReadYCBCRImage()
484 ((y-image->extract_info.y) < (ssize_t) image->rows)) in ReadYCBCRImage()
488 q=GetAuthenticPixels(image,0,y-image->extract_info.y, in ReadYCBCRImage()
489 image->columns,1,exception); in ReadYCBCRImage()
493 for (x=0; x < (ssize_t) image->columns; x++) in ReadYCBCRImage()
495 SetPixelGreen(image,GetPixelGreen(canvas_image,p),q); in ReadYCBCRImage()
497 q+=GetPixelChannels(image); in ReadYCBCRImage()
499 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadYCBCRImage()
502 stream=ReadBlobStream(image,length,pixels,&count); in ReadYCBCRImage()
504 if (image->previous == (Image *) NULL) in ReadYCBCRImage()
506 status=SetImageProgress(image,LoadImageTag,2,5); in ReadYCBCRImage()
510 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadYCBCRImage()
525 "UnexpectedEndOfFile",image->filename); in ReadYCBCRImage()
536 if (((y-image->extract_info.y) >= 0) && in ReadYCBCRImage()
537 ((y-image->extract_info.y) < (ssize_t) image->rows)) in ReadYCBCRImage()
541 q=GetAuthenticPixels(image,0,y-image->extract_info.y, in ReadYCBCRImage()
542 image->columns,1,exception); in ReadYCBCRImage()
546 for (x=0; x < (ssize_t) image->columns; x++) in ReadYCBCRImage()
548 SetPixelBlue(image,GetPixelBlue(canvas_image,p),q); in ReadYCBCRImage()
550 q+=GetPixelChannels(image); in ReadYCBCRImage()
552 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadYCBCRImage()
555 stream=ReadBlobStream(image,length,pixels,&count); in ReadYCBCRImage()
557 if (image->previous == (Image *) NULL) in ReadYCBCRImage()
559 status=SetImageProgress(image,LoadImageTag,3,5); in ReadYCBCRImage()
563 if (image->alpha_trait != UndefinedPixelTrait) in ReadYCBCRImage()
565 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadYCBCRImage()
580 "UnexpectedEndOfFile",image->filename); in ReadYCBCRImage()
591 if (((y-image->extract_info.y) >= 0) && in ReadYCBCRImage()
592 ((y-image->extract_info.y) < (ssize_t) image->rows)) in ReadYCBCRImage()
597 q=GetAuthenticPixels(image,0,y-image->extract_info.y, in ReadYCBCRImage()
598 image->columns,1,exception); in ReadYCBCRImage()
602 for (x=0; x < (ssize_t) image->columns; x++) in ReadYCBCRImage()
604 SetPixelAlpha(image,GetPixelAlpha(canvas_image,p),q); in ReadYCBCRImage()
606 q+=GetPixelChannels(image); in ReadYCBCRImage()
608 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadYCBCRImage()
611 stream=ReadBlobStream(image,length,pixels,&count); in ReadYCBCRImage()
613 if (image->previous == (Image *) NULL) in ReadYCBCRImage()
615 status=SetImageProgress(image,LoadImageTag,4,5); in ReadYCBCRImage()
620 if (image->previous == (Image *) NULL) in ReadYCBCRImage()
622 status=SetImageProgress(image,LoadImageTag,5,5); in ReadYCBCRImage()
633 AppendImageFormat("Y",image->filename); in ReadYCBCRImage()
634 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadYCBCRImage()
637 if (DiscardBlobBytes(image,(MagickSizeType) image->offset) == MagickFalse) in ReadYCBCRImage()
641 "UnexpectedEndOfFile",image->filename); in ReadYCBCRImage()
647 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadYCBCRImage()
649 stream=ReadBlobStream(image,length,pixels,&count); in ReadYCBCRImage()
656 stream=ReadBlobStream(image,length,pixels,&count); in ReadYCBCRImage()
657 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadYCBCRImage()
672 "UnexpectedEndOfFile",image->filename); in ReadYCBCRImage()
683 if (((y-image->extract_info.y) >= 0) && in ReadYCBCRImage()
684 ((y-image->extract_info.y) < (ssize_t) image->rows)) in ReadYCBCRImage()
688 q=GetAuthenticPixels(image,0,y-image->extract_info.y, in ReadYCBCRImage()
689 image->columns,1,exception); in ReadYCBCRImage()
693 for (x=0; x < (ssize_t) image->columns; x++) in ReadYCBCRImage()
695 SetPixelRed(image,GetPixelRed(canvas_image,p),q); in ReadYCBCRImage()
697 q+=GetPixelChannels(image); in ReadYCBCRImage()
699 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadYCBCRImage()
702 stream=ReadBlobStream(image,length,pixels,&count); in ReadYCBCRImage()
704 if (image->previous == (Image *) NULL) in ReadYCBCRImage()
706 status=SetImageProgress(image,LoadImageTag,1,5); in ReadYCBCRImage()
710 (void) CloseBlob(image); in ReadYCBCRImage()
711 AppendImageFormat("Cb",image->filename); in ReadYCBCRImage()
712 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadYCBCRImage()
718 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadYCBCRImage()
720 stream=ReadBlobStream(image,length,pixels,&count); in ReadYCBCRImage()
727 stream=ReadBlobStream(image,length,pixels,&count); in ReadYCBCRImage()
728 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadYCBCRImage()
743 "UnexpectedEndOfFile",image->filename); in ReadYCBCRImage()
754 if (((y-image->extract_info.y) >= 0) && in ReadYCBCRImage()
755 ((y-image->extract_info.y) < (ssize_t) image->rows)) in ReadYCBCRImage()
759 q=GetAuthenticPixels(image,0,y-image->extract_info.y, in ReadYCBCRImage()
760 image->columns,1,exception); in ReadYCBCRImage()
764 for (x=0; x < (ssize_t) image->columns; x++) in ReadYCBCRImage()
766 SetPixelGreen(image,GetPixelGreen(canvas_image,p),q); in ReadYCBCRImage()
768 q+=GetPixelChannels(image); in ReadYCBCRImage()
770 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadYCBCRImage()
773 stream=ReadBlobStream(image,length,pixels,&count); in ReadYCBCRImage()
775 if (image->previous == (Image *) NULL) in ReadYCBCRImage()
777 status=SetImageProgress(image,LoadImageTag,2,5); in ReadYCBCRImage()
781 (void) CloseBlob(image); in ReadYCBCRImage()
782 AppendImageFormat("Cr",image->filename); in ReadYCBCRImage()
783 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadYCBCRImage()
789 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadYCBCRImage()
791 stream=ReadBlobStream(image,length,pixels,&count); in ReadYCBCRImage()
798 stream=ReadBlobStream(image,length,pixels,&count); in ReadYCBCRImage()
799 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadYCBCRImage()
814 "UnexpectedEndOfFile",image->filename); in ReadYCBCRImage()
825 if (((y-image->extract_info.y) >= 0) && in ReadYCBCRImage()
826 ((y-image->extract_info.y) < (ssize_t) image->rows)) in ReadYCBCRImage()
830 q=GetAuthenticPixels(image,0,y-image->extract_info.y, in ReadYCBCRImage()
831 image->columns,1,exception); in ReadYCBCRImage()
835 for (x=0; x < (ssize_t) image->columns; x++) in ReadYCBCRImage()
837 SetPixelBlue(image,GetPixelBlue(canvas_image,p),q); in ReadYCBCRImage()
839 q+=GetPixelChannels(image); in ReadYCBCRImage()
841 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadYCBCRImage()
844 stream=ReadBlobStream(image,length,pixels,&count); in ReadYCBCRImage()
846 if (image->previous == (Image *) NULL) in ReadYCBCRImage()
848 status=SetImageProgress(image,LoadImageTag,3,5); in ReadYCBCRImage()
852 if (image->alpha_trait != UndefinedPixelTrait) in ReadYCBCRImage()
854 (void) CloseBlob(image); in ReadYCBCRImage()
855 AppendImageFormat("A",image->filename); in ReadYCBCRImage()
856 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadYCBCRImage()
862 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadYCBCRImage()
864 stream=ReadBlobStream(image,length,pixels,&count); in ReadYCBCRImage()
871 stream=ReadBlobStream(image,length,pixels,&count); in ReadYCBCRImage()
872 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadYCBCRImage()
887 "UnexpectedEndOfFile",image->filename); in ReadYCBCRImage()
898 if (((y-image->extract_info.y) >= 0) && in ReadYCBCRImage()
899 ((y-image->extract_info.y) < (ssize_t) image->rows)) in ReadYCBCRImage()
904 q=GetAuthenticPixels(image,0,y-image->extract_info.y, in ReadYCBCRImage()
905 image->columns,1,exception); in ReadYCBCRImage()
909 for (x=0; x < (ssize_t) image->columns; x++) in ReadYCBCRImage()
911 SetPixelAlpha(image,GetPixelAlpha(canvas_image,p),q); in ReadYCBCRImage()
913 q+=GetPixelChannels(image); in ReadYCBCRImage()
915 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadYCBCRImage()
918 stream=ReadBlobStream(image,length,pixels,&count); in ReadYCBCRImage()
920 if (image->previous == (Image *) NULL) in ReadYCBCRImage()
922 status=SetImageProgress(image,LoadImageTag,4,5); in ReadYCBCRImage()
927 if (image->previous == (Image *) NULL) in ReadYCBCRImage()
929 status=SetImageProgress(image,LoadImageTag,5,5); in ReadYCBCRImage()
938 SetQuantumImageType(image,quantum_type); in ReadYCBCRImage()
940 Proceed to next image. in ReadYCBCRImage()
943 if (image->scene >= (image_info->scene+image_info->number_scenes-1)) in ReadYCBCRImage()
948 Allocate next image structure. in ReadYCBCRImage()
950 AcquireNextImage(image_info,image,exception); in ReadYCBCRImage()
951 if (GetNextImageInList(image) == (Image *) NULL) in ReadYCBCRImage()
956 image=SyncNextImageInList(image); in ReadYCBCRImage()
957 status=SetImageProgress(image,LoadImagesTag,TellBlob(image), in ReadYCBCRImage()
958 GetBlobSize(image)); in ReadYCBCRImage()
966 (void) CloseBlob(image); in ReadYCBCRImage()
968 return(DestroyImageList(image)); in ReadYCBCRImage()
969 return(GetFirstImageInList(image)); in ReadYCBCRImage()
983 % RegisterYCBCRImage() adds attributes for the YCbCr or YCbCrA image format to
984 % the list of supported formats. The attributes include the image format
1051 % WriteYCBCRImage() writes an image to a file in the YCbCr or YCbCrA
1057 % Image *image,ExceptionInfo *exception)
1061 % o image_info: the image info.
1063 % o image: The image.
1069 Image *image,ExceptionInfo *exception) in WriteYCBCRImage() argument
1102 assert(image != (Image *) NULL); in WriteYCBCRImage()
1103 assert(image->signature == MagickCoreSignature); in WriteYCBCRImage()
1104 if (image->debug != MagickFalse) in WriteYCBCRImage()
1105 (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); in WriteYCBCRImage()
1109 Open output image file. in WriteYCBCRImage()
1113 status=OpenBlob(image_info,image,WriteBinaryBlobMode,exception); in WriteYCBCRImage()
1121 image->alpha_trait=BlendPixelTrait; in WriteYCBCRImage()
1124 imageListLength=GetImageListLength(image); in WriteYCBCRImage()
1130 if (image->colorspace != YCbCrColorspace) in WriteYCBCRImage()
1131 (void) TransformImageColorspace(image,YCbCrColorspace,exception); in WriteYCBCRImage()
1133 (image->alpha_trait == UndefinedPixelTrait)) in WriteYCBCRImage()
1134 (void) SetImageAlphaChannel(image,OpaqueAlphaChannel,exception); in WriteYCBCRImage()
1135 quantum_info=AcquireQuantumInfo(image_info,image); in WriteYCBCRImage()
1147 for (y=0; y < (ssize_t) image->rows; y++) in WriteYCBCRImage()
1149 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteYCBCRImage()
1152 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteYCBCRImage()
1154 count=WriteBlob(image,length,pixels); in WriteYCBCRImage()
1157 if (image->previous == (Image *) NULL) in WriteYCBCRImage()
1159 status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, in WriteYCBCRImage()
1160 image->rows); in WriteYCBCRImage()
1172 for (y=0; y < (ssize_t) image->rows; y++) in WriteYCBCRImage()
1174 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteYCBCRImage()
1177 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteYCBCRImage()
1179 count=WriteBlob(image,length,pixels); in WriteYCBCRImage()
1182 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteYCBCRImage()
1184 count=WriteBlob(image,length,pixels); in WriteYCBCRImage()
1187 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteYCBCRImage()
1189 count=WriteBlob(image,length,pixels); in WriteYCBCRImage()
1194 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteYCBCRImage()
1196 count=WriteBlob(image,length,pixels); in WriteYCBCRImage()
1200 if (image->previous == (Image *) NULL) in WriteYCBCRImage()
1202 status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, in WriteYCBCRImage()
1203 image->rows); in WriteYCBCRImage()
1215 for (y=0; y < (ssize_t) image->rows; y++) in WriteYCBCRImage()
1217 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteYCBCRImage()
1220 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteYCBCRImage()
1222 count=WriteBlob(image,length,pixels); in WriteYCBCRImage()
1226 if (image->previous == (Image *) NULL) in WriteYCBCRImage()
1228 status=SetImageProgress(image,SaveImageTag,1,5); in WriteYCBCRImage()
1232 for (y=0; y < (ssize_t) image->rows; y++) in WriteYCBCRImage()
1234 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteYCBCRImage()
1237 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteYCBCRImage()
1239 count=WriteBlob(image,length,pixels); in WriteYCBCRImage()
1243 if (image->previous == (Image *) NULL) in WriteYCBCRImage()
1245 status=SetImageProgress(image,SaveImageTag,2,5); in WriteYCBCRImage()
1249 for (y=0; y < (ssize_t) image->rows; y++) in WriteYCBCRImage()
1251 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteYCBCRImage()
1254 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteYCBCRImage()
1256 count=WriteBlob(image,length,pixels); in WriteYCBCRImage()
1260 if (image->previous == (Image *) NULL) in WriteYCBCRImage()
1262 status=SetImageProgress(image,SaveImageTag,3,5); in WriteYCBCRImage()
1268 for (y=0; y < (ssize_t) image->rows; y++) in WriteYCBCRImage()
1270 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteYCBCRImage()
1273 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteYCBCRImage()
1275 count=WriteBlob(image,length,pixels); in WriteYCBCRImage()
1281 (void) CopyMagickString(image->filename,image_info->filename, in WriteYCBCRImage()
1283 if (image->previous == (Image *) NULL) in WriteYCBCRImage()
1285 status=SetImageProgress(image,SaveImageTag,5,5); in WriteYCBCRImage()
1296 AppendImageFormat("Y",image->filename); in WriteYCBCRImage()
1297 status=OpenBlob(image_info,image,scene == 0 ? WriteBinaryBlobMode : in WriteYCBCRImage()
1301 for (y=0; y < (ssize_t) image->rows; y++) in WriteYCBCRImage()
1303 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteYCBCRImage()
1306 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteYCBCRImage()
1308 count=WriteBlob(image,length,pixels); in WriteYCBCRImage()
1312 if (image->previous == (Image *) NULL) in WriteYCBCRImage()
1314 status=SetImageProgress(image,SaveImageTag,1,5); in WriteYCBCRImage()
1318 (void) CloseBlob(image); in WriteYCBCRImage()
1319 AppendImageFormat("Cb",image->filename); in WriteYCBCRImage()
1320 status=OpenBlob(image_info,image,scene == 0 ? WriteBinaryBlobMode : in WriteYCBCRImage()
1324 for (y=0; y < (ssize_t) image->rows; y++) in WriteYCBCRImage()
1326 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteYCBCRImage()
1329 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteYCBCRImage()
1331 count=WriteBlob(image,length,pixels); in WriteYCBCRImage()
1335 if (image->previous == (Image *) NULL) in WriteYCBCRImage()
1337 status=SetImageProgress(image,SaveImageTag,2,5); in WriteYCBCRImage()
1341 (void) CloseBlob(image); in WriteYCBCRImage()
1342 AppendImageFormat("Cr",image->filename); in WriteYCBCRImage()
1343 status=OpenBlob(image_info,image,scene == 0 ? WriteBinaryBlobMode : in WriteYCBCRImage()
1347 for (y=0; y < (ssize_t) image->rows; y++) in WriteYCBCRImage()
1349 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteYCBCRImage()
1352 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteYCBCRImage()
1354 count=WriteBlob(image,length,pixels); in WriteYCBCRImage()
1358 if (image->previous == (Image *) NULL) in WriteYCBCRImage()
1360 status=SetImageProgress(image,SaveImageTag,3,5); in WriteYCBCRImage()
1366 (void) CloseBlob(image); in WriteYCBCRImage()
1367 AppendImageFormat("A",image->filename); in WriteYCBCRImage()
1368 status=OpenBlob(image_info,image,scene == 0 ? WriteBinaryBlobMode : in WriteYCBCRImage()
1372 for (y=0; y < (ssize_t) image->rows; y++) in WriteYCBCRImage()
1374 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteYCBCRImage()
1377 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteYCBCRImage()
1379 count=WriteBlob(image,length,pixels); in WriteYCBCRImage()
1383 if (image->previous == (Image *) NULL) in WriteYCBCRImage()
1385 status=SetImageProgress(image,SaveImageTag,4,5); in WriteYCBCRImage()
1390 (void) CloseBlob(image); in WriteYCBCRImage()
1391 (void) CopyMagickString(image->filename,image_info->filename, in WriteYCBCRImage()
1393 if (image->previous == (Image *) NULL) in WriteYCBCRImage()
1395 status=SetImageProgress(image,SaveImageTag,5,5); in WriteYCBCRImage()
1403 if (GetNextImageInList(image) == (Image *) NULL) in WriteYCBCRImage()
1405 image=SyncNextImageInList(image); in WriteYCBCRImage()
1406 status=SetImageProgress(image,SaveImagesTag,scene++,imageListLength); in WriteYCBCRImage()
1410 (void) CloseBlob(image); in WriteYCBCRImage()