Lines Matching refs:chroma_image

102     *chroma_image,  in ReadYUVImage()  local
207 chroma_image=CloneImage(image,(image->columns+horizontal_factor-1)/ in ReadYUVImage()
210 if (chroma_image == (Image *) NULL) in ReadYUVImage()
258 chroma_pixels=QueueAuthenticPixels(chroma_image,0,y, in ReadYUVImage()
259 chroma_image->columns,1,exception); in ReadYUVImage()
264 SetPixelRed(chroma_image,0,chroma_pixels); in ReadYUVImage()
266 SetPixelGreen(chroma_image,ScaleCharToQuantum(*p++), in ReadYUVImage()
270 SetPixelGreen(chroma_image,ScaleShortToQuantum(((*p) << 8) | in ReadYUVImage()
287 SetPixelBlue(chroma_image,ScaleCharToQuantum(*p++),chroma_pixels); in ReadYUVImage()
290 SetPixelBlue(chroma_image,ScaleShortToQuantum(((*p) << 8) | in ReadYUVImage()
301 chroma_pixels+=GetPixelChannels(chroma_image); in ReadYUVImage()
340 if (SyncAuthenticPixels(chroma_image,exception) == MagickFalse) in ReadYUVImage()
364 for (y=0; y < (ssize_t) chroma_image->rows; y++) in ReadYUVImage()
366 length=quantum*chroma_image->columns; in ReadYUVImage()
376 q=QueueAuthenticPixels(chroma_image,0,y,chroma_image->columns,1, in ReadYUVImage()
380 for (x=0; x < (ssize_t) chroma_image->columns; x++) in ReadYUVImage()
382 SetPixelRed(chroma_image,0,q); in ReadYUVImage()
384 SetPixelGreen(chroma_image,ScaleCharToQuantum(*p++),q); in ReadYUVImage()
387 SetPixelGreen(chroma_image,ScaleShortToQuantum(((*p) << 8) | in ReadYUVImage()
391 SetPixelBlue(chroma_image,0,q); in ReadYUVImage()
392 q+=GetPixelChannels(chroma_image); in ReadYUVImage()
394 if (SyncAuthenticPixels(chroma_image,exception) == MagickFalse) in ReadYUVImage()
409 for (y=0; y < (ssize_t) chroma_image->rows; y++) in ReadYUVImage()
411 length=quantum*chroma_image->columns; in ReadYUVImage()
421 q=GetAuthenticPixels(chroma_image,0,y,chroma_image->columns,1, in ReadYUVImage()
425 for (x=0; x < (ssize_t) chroma_image->columns; x++) in ReadYUVImage()
428 SetPixelBlue(chroma_image,ScaleCharToQuantum(*p++),q); in ReadYUVImage()
431 SetPixelBlue(chroma_image,ScaleShortToQuantum(((*p) << 8) | in ReadYUVImage()
435 q+=GetPixelChannels(chroma_image); in ReadYUVImage()
437 if (SyncAuthenticPixels(chroma_image,exception) == MagickFalse) in ReadYUVImage()
444 resize_image=ResizeImage(chroma_image,image->columns,image->rows, in ReadYUVImage()
446 chroma_image=DestroyImage(chroma_image); in ReadYUVImage()
614 *chroma_image, in WriteYUVImage() local
714 chroma_image=ResizeImage(image,width/horizontal_factor, in WriteYUVImage()
716 if (chroma_image == (Image *) NULL) in WriteYUVImage()
721 (void) TransformImageColorspace(chroma_image,YCbCrColorspace,exception); in WriteYUVImage()
732 s=GetVirtualPixels(chroma_image,0,y,chroma_image->columns,1, in WriteYUVImage()
821 for (y=0; y < (ssize_t) chroma_image->rows; y++) in WriteYUVImage()
823 p=GetVirtualPixels(chroma_image,0,y,chroma_image->columns,1, in WriteYUVImage()
827 for (x=0; x < (ssize_t) chroma_image->columns; x++) in WriteYUVImage()
831 GetPixelGreen(chroma_image,p))); in WriteYUVImage()
834 GetPixelGreen(chroma_image,p))); in WriteYUVImage()
835 p+=GetPixelChannels(chroma_image); in WriteYUVImage()
855 for (y=0; y < (ssize_t) chroma_image->rows; y++) in WriteYUVImage()
857 p=GetVirtualPixels(chroma_image,0,y,chroma_image->columns,1, in WriteYUVImage()
861 for (x=0; x < (ssize_t) chroma_image->columns; x++) in WriteYUVImage()
865 GetPixelBlue(chroma_image,p))); in WriteYUVImage()
868 GetPixelBlue(chroma_image,p))); in WriteYUVImage()
869 p+=GetPixelChannels(chroma_image); in WriteYUVImage()
879 chroma_image=DestroyImage(chroma_image); in WriteYUVImage()