Home
last modified time | relevance | path

Searched refs:pixel_info (Results 1 – 25 of 26) sorted by relevance

12

/external/ImageMagick/coders/
Dps3.c239 Image *image,MemoryInfo **pixel_info,size_t *length,ExceptionInfo *exception) in SerializeImage() argument
263 *pixel_info=AcquireVirtualMemory(*length,sizeof(*q)); in SerializeImage()
264 if (*pixel_info == (MemoryInfo *) NULL) in SerializeImage()
266 q=(unsigned char *) GetVirtualMemoryBlob(*pixel_info); in SerializeImage()
298 *pixel_info=RelinquishVirtualMemory(*pixel_info); in SerializeImage()
303 Image *image,MemoryInfo **pixel_info,size_t *length,ExceptionInfo *exception) in SerializeImageChannel() argument
336 *pixel_info=AcquireVirtualMemory(*length,sizeof(*q)); in SerializeImageChannel()
337 if (*pixel_info == (MemoryInfo *) NULL) in SerializeImageChannel()
339 q=(unsigned char *) GetVirtualMemoryBlob(*pixel_info); in SerializeImageChannel()
375 *pixel_info=RelinquishVirtualMemory(*pixel_info); in SerializeImageChannel()
[all …]
Davs.c104 *pixel_info; in ReadAVSImage() local
167 pixel_info=AcquireVirtualMemory(image->columns,4*sizeof(*pixels)); in ReadAVSImage()
168 if (pixel_info == (MemoryInfo *) NULL) in ReadAVSImage()
170 pixels=(unsigned char *) GetVirtualMemoryBlob(pixel_info); in ReadAVSImage()
201 pixel_info=RelinquishVirtualMemory(pixel_info); in ReadAVSImage()
333 *pixel_info; in WriteAVSImage() local
377 pixel_info=AcquireVirtualMemory(image->columns,4*sizeof(*pixels)); in WriteAVSImage()
378 if (pixel_info == (MemoryInfo *) NULL) in WriteAVSImage()
380 pixels=(unsigned char *) GetVirtualMemoryBlob(pixel_info); in WriteAVSImage()
410 pixel_info=RelinquishVirtualMemory(pixel_info); in WriteAVSImage()
Dps2.c774 *pixel_info; in WritePS2Image() local
783 pixel_info=AcquireVirtualMemory(length,sizeof(*pixels)); in WritePS2Image()
784 if (pixel_info == (MemoryInfo *) NULL) in WritePS2Image()
786 pixels=(unsigned char *) GetVirtualMemoryBlob(pixel_info); in WritePS2Image()
811 pixel_info=RelinquishVirtualMemory(pixel_info); in WritePS2Image()
873 *pixel_info; in WritePS2Image() local
882 pixel_info=AcquireVirtualMemory(length,4*sizeof(*pixels)); in WritePS2Image()
883 if (pixel_info == (MemoryInfo *) NULL) in WritePS2Image()
886 pixels=(unsigned char *) GetVirtualMemoryBlob(pixel_info); in WritePS2Image()
936 pixel_info=RelinquishVirtualMemory(pixel_info); in WritePS2Image()
[all …]
Drle.c154 *pixel_info; in ReadRLEImage() local
318 pixel_info=AcquireVirtualMemory(image->columns,image->rows* in ReadRLEImage()
320 if (pixel_info == (MemoryInfo *) NULL) in ReadRLEImage()
324 pixels=(unsigned char *) GetVirtualMemoryBlob(pixel_info); in ReadRLEImage()
397 pixel_info=RelinquishVirtualMemory(pixel_info); in ReadRLEImage()
429 pixel_info=RelinquishVirtualMemory(pixel_info); in ReadRLEImage()
479 pixel_info=RelinquishVirtualMemory(pixel_info); in ReadRLEImage()
624 pixel_info=RelinquishVirtualMemory(pixel_info); in ReadRLEImage()
Dpcx.c208 pixel_info=RelinquishVirtualMemory(pixel_info); \ in ReadPCXImage()
228 *pixel_info; in ReadPCXImage() local
400 pixel_info=AcquireVirtualMemory(pcx_packets,2*sizeof(*pixels)); in ReadPCXImage()
402 (pixel_info == (MemoryInfo *) NULL)) in ReadPCXImage()
406 if (pixel_info != (MemoryInfo *) NULL) in ReadPCXImage()
407 pixel_info=RelinquishVirtualMemory(pixel_info); in ReadPCXImage()
410 pixels=(unsigned char *) GetVirtualMemoryBlob(pixel_info); in ReadPCXImage()
643 pixel_info=RelinquishVirtualMemory(pixel_info); in ReadPCXImage()
855 *pixel_info; in WritePCXImage() local
998 pixel_info=AcquireVirtualMemory(length,pcx_info.planes*sizeof(*pixels)); in WritePCXImage()
[all …]
Dpdf.c1843 *pixel_info; in WritePDFImage() local
1849 pixel_info=AcquireVirtualMemory(length,sizeof(*pixels)); in WritePDFImage()
1850 if (pixel_info == (MemoryInfo *) NULL) in WritePDFImage()
1852 pixels=(unsigned char *) GetVirtualMemoryBlob(pixel_info); in WritePDFImage()
1884 pixel_info=RelinquishVirtualMemory(pixel_info); in WritePDFImage()
1952 *pixel_info; in WritePDFImage() local
1959 pixel_info=AcquireVirtualMemory(length,sizeof(*pixels)); in WritePDFImage()
1960 if (pixel_info == (MemoryInfo *) NULL) in WritePDFImage()
1962 pixels=(unsigned char *) GetVirtualMemoryBlob(pixel_info); in WritePDFImage()
1998 pixel_info=RelinquishVirtualMemory(pixel_info); in WritePDFImage()
[all …]
Dbmp.c502 *pixel_info; in ReadBMPImage() local
926 pixel_info=AcquireVirtualMemory((size_t) image->rows, in ReadBMPImage()
928 if (pixel_info == (MemoryInfo *) NULL) in ReadBMPImage()
930 pixels=(unsigned char *) GetVirtualMemoryBlob(pixel_info); in ReadBMPImage()
940 pixel_info=RelinquishVirtualMemory(pixel_info); in ReadBMPImage()
953 pixel_info=RelinquishVirtualMemory(pixel_info); in ReadBMPImage()
1181 pixel_info=RelinquishVirtualMemory(pixel_info); in ReadBMPImage()
1282 pixel_info=RelinquishVirtualMemory(pixel_info); in ReadBMPImage()
1341 pixel_info=RelinquishVirtualMemory(pixel_info); in ReadBMPImage()
1345 pixel_info=RelinquishVirtualMemory(pixel_info); in ReadBMPImage()
[all …]
Djbig.c420 *pixel_info; in WriteJBIGImage() local
468 pixel_info=AcquireVirtualMemory(number_packets,image->rows*sizeof(*pixels)); in WriteJBIGImage()
469 if (pixel_info == (MemoryInfo *) NULL) in WriteJBIGImage()
471 pixels=(unsigned char *) GetVirtualMemoryBlob(pixel_info); in WriteJBIGImage()
554 pixel_info=RelinquishVirtualMemory(pixel_info); in WriteJBIGImage()
Dpango.c130 *pixel_info; in ReadPANGOImage() local
386 pixel_info=AcquireVirtualMemory(image->rows,stride*sizeof(*pixels)); in ReadPANGOImage()
387 if (pixel_info == (MemoryInfo *) NULL) in ReadPANGOImage()
393 pixels=(unsigned char *) GetVirtualMemoryBlob(pixel_info); in ReadPANGOImage()
460 pixel_info=RelinquishVirtualMemory(pixel_info); in ReadPANGOImage()
Dsgi.c268 *pixel_info; in ReadSGIImage() local
378 pixel_info=AcquireVirtualMemory(iris_info.columns,iris_info.rows*4* in ReadSGIImage()
380 if (pixel_info == (MemoryInfo *) NULL) in ReadSGIImage()
382 pixels=(unsigned char *) GetVirtualMemoryBlob(pixel_info); in ReadSGIImage()
682 pixel_info=RelinquishVirtualMemory(pixel_info); in ReadSGIImage()
879 *pixel_info; in WriteSGIImage() local
984 pixel_info=AcquireVirtualMemory((size_t) number_pixels,4* in WriteSGIImage()
986 if (pixel_info == (MemoryInfo *) NULL) in WriteSGIImage()
988 pixels=(unsigned char *) GetVirtualMemoryBlob(pixel_info); in WriteSGIImage()
1137 pixel_info=RelinquishVirtualMemory(pixel_info); in WriteSGIImage()
Dwebp.c514 *pixel_info; in WriteWEBPImage() local
650 pixel_info=AcquireVirtualMemory(image->columns,image->rows* in WriteWEBPImage()
652 if (pixel_info == (MemoryInfo *) NULL) in WriteWEBPImage()
654 picture.argb=(uint32_t *) GetVirtualMemoryBlob(pixel_info); in WriteWEBPImage()
755 pixel_info=RelinquishVirtualMemory(pixel_info); in WriteWEBPImage()
Ddib.c448 *pixel_info; in ReadDIBImage() local
641 pixel_info=AcquireVirtualMemory((size_t) image->rows,MagickMax( in ReadDIBImage()
643 if (pixel_info == (MemoryInfo *) NULL) in ReadDIBImage()
645 pixels=(unsigned char *) GetVirtualMemoryBlob(pixel_info); in ReadDIBImage()
882 pixel_info=RelinquishVirtualMemory(pixel_info); in ReadDIBImage()
Dviff.c932 *pixel_info; in WriteVIFFImage() local
1088 pixel_info=AcquireVirtualMemory((size_t) packets,sizeof(*pixels)); in WriteVIFFImage()
1089 if (pixel_info == (MemoryInfo *) NULL) in WriteVIFFImage()
1091 pixels=(unsigned char *) GetVirtualMemoryBlob(pixel_info); in WriteVIFFImage()
1241 pixel_info=RelinquishVirtualMemory(pixel_info); in WriteVIFFImage()
Dsvg.c2925 *pixel_info; in ReadSVGImage() local
3002 pixel_info=(MemoryInfo *) NULL; in ReadSVGImage()
3033 pixel_info=AcquireVirtualMemory(stride,image->rows*sizeof(*pixels)); in ReadSVGImage()
3034 if (pixel_info == (MemoryInfo *) NULL) in ReadSVGImage()
3040 pixels=(unsigned char *) GetVirtualMemoryBlob(pixel_info); in ReadSVGImage()
3049 pixel_info=RelinquishVirtualMemory(pixel_info); in ReadSVGImage()
3114 if (pixel_info != (MemoryInfo *) NULL) in ReadSVGImage()
3115 pixel_info=RelinquishVirtualMemory(pixel_info); in ReadSVGImage()
Dpng.c1954 *volatile pixel_info; in ReadOnePNGImage() local
2162 pixel_info=(MemoryInfo *) NULL; in ReadOnePNGImage()
2175 if (pixel_info != (MemoryInfo *) NULL) in ReadOnePNGImage()
2176 pixel_info=RelinquishVirtualMemory(pixel_info); in ReadOnePNGImage()
3154 pixel_info=AcquireVirtualMemory(image->rows,ping_rowbytes* in ReadOnePNGImage()
3157 pixel_info=AcquireVirtualMemory(ping_rowbytes,sizeof(*ping_pixels)); in ReadOnePNGImage()
3159 if (pixel_info == (MemoryInfo *) NULL) in ReadOnePNGImage()
3161 ping_pixels=(unsigned char *) GetVirtualMemoryBlob(pixel_info); in ReadOnePNGImage()
3515 pixel_info=RelinquishVirtualMemory(pixel_info); in ReadOnePNGImage()
3927 pixel_info=RelinquishVirtualMemory(pixel_info); in ReadOnePNGImage()
[all …]
Dtiff.c2002 *pixel_info; in ReadTIFFImage() local
2019 pixel_info=AcquireVirtualMemory(image->columns,image->rows* in ReadTIFFImage()
2021 if (pixel_info == (MemoryInfo *) NULL) in ReadTIFFImage()
2026 pixels=(uint32 *) GetVirtualMemoryBlob(pixel_info); in ReadTIFFImage()
2069 pixel_info=RelinquishVirtualMemory(pixel_info); in ReadTIFFImage()
/external/ImageMagick/MagickCore/
Dpixel-accessor.h200 const PixelInfo *magick_restrict pixel_info,const PixelChannel channel) in GetPixelInfoChannel() argument
204 case RedPixelChannel: return(pixel_info->red); in GetPixelInfoChannel()
205 case GreenPixelChannel: return(pixel_info->green); in GetPixelInfoChannel()
206 case BluePixelChannel: return(pixel_info->blue); in GetPixelInfoChannel()
207 case BlackPixelChannel: return(pixel_info->black); in GetPixelInfoChannel()
208 case AlphaPixelChannel: return(pixel_info->alpha); in GetPixelInfoChannel()
209 case IndexPixelChannel: return(pixel_info->index); in GetPixelInfoChannel()
377 const Quantum *magick_restrict pixel,PixelInfo *magick_restrict pixel_info) in GetPixelInfoPixel() argument
379 pixel_info->storage_class=image->storage_class; in GetPixelInfoPixel()
380 pixel_info->colorspace=image->colorspace; in GetPixelInfoPixel()
[all …]
Dxwindow.c374 if (windows->pixel_info != (XPixelInfo *) NULL) in DestroyXResources()
376 if (windows->pixel_info->pixels != (unsigned long *) NULL) in DestroyXResources()
377 windows->pixel_info->pixels=(unsigned long *) in DestroyXResources()
378 RelinquishMagickMemory(windows->pixel_info->pixels); in DestroyXResources()
379 if (windows->pixel_info->annotate_context != (GC) NULL) in DestroyXResources()
380 XFreeGC(windows->display,windows->pixel_info->annotate_context); in DestroyXResources()
381 if (windows->pixel_info->widget_context != (GC) NULL) in DestroyXResources()
382 XFreeGC(windows->display,windows->pixel_info->widget_context); in DestroyXResources()
383 if (windows->pixel_info->highlight_context != (GC) NULL) in DestroyXResources()
384 XFreeGC(windows->display,windows->pixel_info->highlight_context); in DestroyXResources()
[all …]
Dxwindow-private.h351 *pixel_info; member
448 *pixel_info, member
Dresize.c1859 *pixel_info; in LiquidRescaleImage() local
1882 pixel_info=AcquireVirtualMemory(image->columns,image->rows* in LiquidRescaleImage()
1884 if (pixel_info == (MemoryInfo *) NULL) in LiquidRescaleImage()
1886 pixels=(gfloat *) GetVirtualMemoryBlob(pixel_info); in LiquidRescaleImage()
1921 pixel_info=RelinquishVirtualMemory(pixel_info); in LiquidRescaleImage()
1932 pixel_info=RelinquishVirtualMemory(pixel_info); in LiquidRescaleImage()
1937 pixel_info=RelinquishVirtualMemory(pixel_info); in LiquidRescaleImage()
1977 pixel_info=RelinquishVirtualMemory(pixel_info); in LiquidRescaleImage()
Dpixel.c173 *pixel_info; in ClonePixelInfo() local
175 pixel_info=(PixelInfo *) MagickAssumeAligned(AcquireAlignedMemory(1, in ClonePixelInfo()
176 sizeof(*pixel_info))); in ClonePixelInfo()
177 if (pixel_info == (PixelInfo *) NULL) in ClonePixelInfo()
179 *pixel_info=(*pixel); in ClonePixelInfo()
180 return(pixel_info); in ClonePixelInfo()
5534 const Quantum *pixel,PixelInfo *pixel_info,double *alpha) in AlphaBlendPixelInfo() argument
5539 pixel_info->red=(double) GetPixelRed(image,pixel); in AlphaBlendPixelInfo()
5540 pixel_info->green=(double) GetPixelGreen(image,pixel); in AlphaBlendPixelInfo()
5541 pixel_info->blue=(double) GetPixelBlue(image,pixel); in AlphaBlendPixelInfo()
[all …]
Ddisplay.c2040 windows->pixel_info->pen_colors[pen_number]=color; in XAnnotateEditImage()
2085 windows->pixel_info->pen_colors[pen_number]=color; in XAnnotateEditImage()
2285 windows->pixel_info->pen_colors[box_id].pixel); in XAnnotateEditImage()
2287 windows->pixel_info->pen_colors[pen_id].pixel); in XAnnotateEditImage()
2317 windows->pixel_info->background_color.pixel); in XAnnotateEditImage()
2319 windows->pixel_info->foreground_color.pixel); in XAnnotateEditImage()
2322 windows->pixel_info->pen_colors[box_id].pixel); in XAnnotateEditImage()
2324 windows->pixel_info->pen_colors[pen_id].pixel); in XAnnotateEditImage()
2693 windows->pixel_info->box_color=windows->pixel_info->pen_colors[box_id]; in XAnnotateEditImage()
2694 if (windows->pixel_info->colors != 0) in XAnnotateEditImage()
[all …]
Deffect.c989 *pixel_info; in DespeckleImage() local
1032 pixel_info=AcquireVirtualMemory(length,sizeof(*pixels)); in DespeckleImage()
1034 if ((pixel_info == (MemoryInfo *) NULL) || in DespeckleImage()
1039 if (pixel_info != (MemoryInfo *) NULL) in DespeckleImage()
1040 pixel_info=RelinquishVirtualMemory(pixel_info); in DespeckleImage()
1044 pixels=(Quantum *) GetVirtualMemoryBlob(pixel_info); in DespeckleImage()
1149 pixel_info=RelinquishVirtualMemory(pixel_info); in DespeckleImage()
Dwidget.c341 window_info->pixel_info->trough_color.pixel); in XDrawBeveledButton()
468 window_info->pixel_info->trough_color.pixel); in XDrawMatte()
1456 window_info->pixel_info->highlight_color.pixel); in XSetBevelColor()
1459 window_info->pixel_info->shadow_color.pixel); in XSetBevelColor()
1507 window_info->pixel_info->alpha_color.pixel); in XSetMatteColor()
1510 window_info->pixel_info->depth_color.pixel); in XSetMatteColor()
1562 &window_info->pixel_info->foreground_color); in XSetTextColor()
1563 matte=(ssize_t) XPixelIntensity(&window_info->pixel_info->alpha_color); in XSetTextColor()
1566 window_info->pixel_info->foreground_color.pixel); in XSetTextColor()
1569 window_info->pixel_info->background_color.pixel); in XSetTextColor()
[all …]
/external/syslinux/efi/
Dconsole.c80 EFI_PIXEL_BITMASK pixel_info; in setup_gop() local
128 pixel_info = info->PixelInformation; in setup_gop()
177 bit_mask(pixel_info.RedMask, &si->red_pos, in setup_gop()
179 bit_mask(pixel_info.GreenMask, &si->green_pos, in setup_gop()
181 bit_mask(pixel_info.BlueMask, &si->blue_pos, in setup_gop()
183 bit_mask(pixel_info.ReservedMask, &si->rsvd_pos, in setup_gop()

12