/external/ImageMagick/MagickCore/ |
D | quantum-import.c | 257 const MagickSizeType number_pixels,const unsigned char *magick_restrict p, in ImportAlphaQuantum() argument 278 for (x=0; x < (ssize_t) number_pixels; x++) in ImportAlphaQuantum() 294 for (x=0; x < (ssize_t) number_pixels; x++) in ImportAlphaQuantum() 304 for (x=0; x < (ssize_t) number_pixels; x++) in ImportAlphaQuantum() 323 for (x=0; x < (ssize_t) number_pixels; x++) in ImportAlphaQuantum() 332 for (x=0; x < (ssize_t) number_pixels; x++) in ImportAlphaQuantum() 348 for (x=0; x < (ssize_t) number_pixels; x++) in ImportAlphaQuantum() 361 for (x=0; x < (ssize_t) number_pixels; x++) in ImportAlphaQuantum() 374 const MagickSizeType number_pixels,const unsigned char *magick_restrict p, in ImportBGRQuantum() argument 398 for (x=0; x < (ssize_t) number_pixels; x++) in ImportBGRQuantum() [all …]
|
D | quantum-export.c | 242 const MagickSizeType number_pixels,const Quantum *magick_restrict p, in ExportAlphaQuantum() argument 261 for (x=0; x < (ssize_t) number_pixels; x++) in ExportAlphaQuantum() 277 for (x=0; x < (ssize_t) number_pixels; x++) in ExportAlphaQuantum() 286 for (x=0; x < (ssize_t) number_pixels; x++) in ExportAlphaQuantum() 302 for (x=0; x < (ssize_t) number_pixels; x++) in ExportAlphaQuantum() 310 for (x=0; x < (ssize_t) number_pixels; x++) in ExportAlphaQuantum() 323 for (x=0; x < (ssize_t) number_pixels; x++) in ExportAlphaQuantum() 335 for (x=0; x < (ssize_t) number_pixels; x++) in ExportAlphaQuantum() 348 const MagickSizeType number_pixels,const Quantum *magick_restrict p, in ExportBGRQuantum() argument 366 for (x=0; x < (ssize_t) number_pixels; x++) in ExportBGRQuantum() [all …]
|
D | cache.c | 421 number_pixels; in ClipPixelCacheNexus() local 446 number_pixels=(MagickSizeType) nexus_info->region.width* in ClipPixelCacheNexus() 448 for (n=0; n < (ssize_t) number_pixels; n++) in ClipPixelCacheNexus() 476 return(n < (ssize_t) number_pixels ? MagickFalse : MagickTrue); in ClipPixelCacheNexus() 2709 number_pixels; in GetVirtualPixelCacheNexus() local 2764 number_pixels=(MagickSizeType) cache_info->columns*cache_info->rows; in GetVirtualPixelCacheNexus() 2765 if ((offset >= 0) && (((MagickSizeType) offset+length) < number_pixels)) in GetVirtualPixelCacheNexus() 3395 number_pixels; in MaskPixelCacheNexus() local 3420 number_pixels=(MagickSizeType) nexus_info->region.width* in MaskPixelCacheNexus() 3422 for (n=0; n < (ssize_t) number_pixels; n++) in MaskPixelCacheNexus() [all …]
|
D | stream.c | 746 number_pixels; in GetVirtualPixelStream() local 774 number_pixels=(MagickSizeType) columns*rows; in GetVirtualPixelStream() 775 length=(size_t) number_pixels*cache_info->number_channels*sizeof(Quantum); in GetVirtualPixelStream() 777 length=(size_t) number_pixels*sizeof(Quantum); in GetVirtualPixelStream() 779 length+=number_pixels*cache_info->metacontent_extent; in GetVirtualPixelStream() 804 cache_info->metacontent=(void *) (cache_info->pixels+number_pixels* in GetVirtualPixelStream() 892 number_pixels; in QueueAuthenticPixelsStream() local 939 number_pixels=(MagickSizeType) columns*rows; in QueueAuthenticPixelsStream() 940 length=(size_t) number_pixels*cache_info->number_channels*sizeof(Quantum); in QueueAuthenticPixelsStream() 942 length=(size_t) number_pixels*sizeof(Quantum); in QueueAuthenticPixelsStream() [all …]
|
D | threshold.c | 201 number_pixels; in AdaptiveThresholdImage() local 231 number_pixels=(MagickSizeType) width*height; in AdaptiveThresholdImage() 331 mean=(double) (channel_sum[channel]/number_pixels+bias); in AdaptiveThresholdImage()
|
D | visual-effects.c | 3514 number_pixels; in WaveletDenoiseImage() local 3564 number_pixels=(MagickSizeType) image->columns*image->rows; in WaveletDenoiseImage() 3635 low_pass=(size_t) (number_pixels*((level & 0x01)+1)); in WaveletDenoiseImage() 3689 for (i=0; i < (ssize_t) number_pixels; ++i) in WaveletDenoiseImage()
|
D | enhance.c | 455 const size_t number_bins,const size_t number_pixels,size_t *histogram) in MapCLAHEHistogram() argument 467 scale=(double) (range_info->max-range_info->min)/number_pixels; in MapCLAHEHistogram()
|
D | xwindow.c | 1969 number_pixels; in XDisplayImageInfo() local 2040 number_pixels=undo_image->list->columns*undo_image->list->rows; in XDisplayImageInfo() 2041 bytes+=number_pixels*sizeof(PixelInfo); in XDisplayImageInfo()
|
/external/ImageMagick/coders/ |
D | viff.c | 224 number_pixels; in ReadVIFFImage() local 329 number_pixels=(MagickSizeType) viff_info.columns*viff_info.rows; in ReadVIFFImage() 330 if (number_pixels > GetBlobSize(image)) in ReadVIFFImage() 332 if (number_pixels != (size_t) number_pixels) in ReadVIFFImage() 334 if (number_pixels == 0) in ReadVIFFImage() 522 …if (HeapOverflowSanityCheckGetSize((size_t) number_pixels,viff_info.number_data_bands,&max_packets… in ReadVIFFImage() 528 number_pixels,max_packets),bytes_per_pixel*sizeof(*pixels)); in ReadVIFFImage() 531 (void) memset(pixels,0,MagickMax(number_pixels,max_packets)* in ReadVIFFImage() 707 number_pixels=(MagickSizeType) image->columns*image->rows; in ReadVIFFImage() 716 SetPixelGreen(image,ScaleCharToQuantum(*(p+number_pixels)),q); in ReadVIFFImage() [all …]
|
D | sgi.c | 168 ssize_t number_packets,unsigned char *packets,ssize_t number_pixels, in SGIDecode() argument 185 for ( ; number_pixels > 0; ) in SGIDecode() 194 if (count > (ssize_t) number_pixels) in SGIDecode() 196 number_pixels-=count; in SGIDecode() 222 for ( ; number_pixels > 0; ) in SGIDecode() 230 if (count > (ssize_t) number_pixels) in SGIDecode() 232 number_pixels-=count; in SGIDecode() 266 number_pixels; in ReadSGIImage() local 387 number_pixels=(MagickSizeType) iris_info.columns*iris_info.rows; in ReadSGIImage() 388 if ((4*bytes_per_pixel*number_pixels) != ((MagickSizeType) (size_t) in ReadSGIImage() [all …]
|
D | rle.c | 159 number_pixels; in ReadRLEImage() local 275 number_pixels=(MagickSizeType) image->columns*image->rows; in ReadRLEImage() 276 if ((GetBlobSize(image) == 0) || ((((MagickSizeType) number_pixels* in ReadRLEImage() 351 if ((number_pixels*number_planes_filled) != (size_t) (number_pixels* in ReadRLEImage() 371 for (i=0; i < (ssize_t) number_pixels; i++) in ReadRLEImage() 521 for (i=0; i < (ssize_t) number_pixels; i++) in ReadRLEImage() 529 for (i=0; i < (ssize_t) number_pixels; i++) in ReadRLEImage() 537 if ((i < (ssize_t) number_pixels) || (x < (ssize_t) number_planes)) in ReadRLEImage()
|
D | uil.c | 177 number_pixels; in WriteUILImage() local 235 number_pixels=(MagickSizeType) image->columns*image->rows; in WriteUILImage() 236 if (number_pixels != ((MagickSizeType) (size_t) number_pixels)) in WriteUILImage()
|
D | pict.c | 403 number_pixels; in DecodeImage() local 477 number_pixels=bytes_per_line; in DecodeImage() 478 count=ReadBlob(blob,(size_t) number_pixels,scanline); in DecodeImage() 479 if (count != (ssize_t) number_pixels) in DecodeImage() 484 p=UnpackScanline(scanline,bits_per_pixel,unpack_buffer,&number_pixels); in DecodeImage() 485 if ((q+number_pixels) > (pixels+(*extent))) in DecodeImage() 490 (void) memcpy(q,p,(size_t) number_pixels); in DecodeImage() 522 number_pixels=length*bytes_per_pixel; in DecodeImage() 524 &number_pixels); in DecodeImage() 525 if ((q-pixels+number_pixels) <= *extent) in DecodeImage() [all …]
|
D | sun.c | 249 number_pixels; in ReadSUNImage() local 432 number_pixels=(MagickSizeType) (image->columns*image->rows); in ReadSUNImage() 434 ((number_pixels*sun_info.depth) > (8UL*sun_info.length))) in ReadSUNImage() 788 number_pixels; in WriteSUNImage() local 838 number_pixels=(MagickSizeType) image->columns*image->rows; in WriteSUNImage() 839 if ((4*number_pixels) != (size_t) (4*number_pixels)) in WriteSUNImage() 849 UndefinedPixelTrait ? 4 : 3)*number_pixels); in WriteSUNImage() 871 sun_info.length=(unsigned int) number_pixels; in WriteSUNImage()
|
D | fits.c | 180 number_pixels; in GetFITSPixelExtrema() local 188 number_pixels=(MagickSizeType) image->columns*image->rows; in GetFITSPixelExtrema() 191 for (i=1; i < (MagickOffsetType) number_pixels; i++) in GetFITSPixelExtrema() 271 number_pixels; in ReadFITSImage() local 402 number_pixels=(MagickSizeType) fits_info.columns*fits_info.rows; in ReadFITSImage() 404 (fits_info.number_axes <= 4) && (number_pixels != 0)) in ReadFITSImage() 418 number_pixels=(MagickSizeType) fits_info.columns*fits_info.rows; in ReadFITSImage() 420 (fits_info.number_axes > 4) || (number_pixels == 0)) in ReadFITSImage()
|
D | ps2.c | 408 number_pixels; in WritePS2Image() local 723 number_pixels=(MagickSizeType) image->columns*image->rows; in WritePS2Image() 724 if (number_pixels != (MagickSizeType) ((size_t) number_pixels)) in WritePS2Image() 778 length=(size_t) number_pixels; in WritePS2Image() 877 length=(size_t) number_pixels; in WritePS2Image() 1028 length=(size_t) number_pixels; in WritePS2Image()
|
D | pdf.c | 1233 number_pixels; in WritePDFImage() local 1816 number_pixels=(MagickSizeType) image->columns*image->rows; in WritePDFImage() 1817 if ((4*number_pixels) != (MagickSizeType) ((size_t) (4*number_pixels))) in WritePDFImage() 1867 length=(size_t) number_pixels; in WritePDFImage() 1979 length=(size_t) number_pixels; in WritePDFImage() 2078 length=(size_t) number_pixels; in WritePDFImage() 2341 number_pixels=(MagickSizeType) tile_image->columns*tile_image->rows; in WritePDFImage() 2393 length=(size_t) number_pixels; in WritePDFImage() 2498 length=(size_t) number_pixels; in WritePDFImage() 2591 length=(size_t) number_pixels; in WritePDFImage() [all …]
|
D | pcd.c | 504 number_pixels; in ReadPCDImage() local 624 number_pixels=(MagickSizeType) image->columns*image->rows; in ReadPCDImage() 625 if (number_pixels != (size_t) number_pixels) in ReadPCDImage()
|
D | dib.c | 153 const size_t number_pixels) in DecodeImage() argument 186 (void) memset(pixels,0,number_pixels*sizeof(*pixels)); in DecodeImage() 190 q=pixels+number_pixels; in DecodeImage()
|
D | jpeg.c | 1130 number_pixels; in ReadJPEGImage() local 1202 number_pixels=(MagickSizeType) image->columns*image->rows; in ReadJPEGImage() 1203 if (number_pixels != 0) in ReadJPEGImage() 1244 number_pixels=(MagickSizeType) image->columns*image->rows; in ReadJPEGImage() 1460 number_pixels=(MagickSizeType) image->columns*image->rows; in ReadJPEGImage() 1461 if (number_pixels != 0) in ReadJPEGImage()
|
D | tiff.c | 1292 number_pixels; in ReadTIFFImage() local 1836 number_pixels=MagickMax(TIFFScanlineSize(tiff),MagickMax((ssize_t) in ReadTIFFImage() 1839 pixel_info=AcquireVirtualMemory(number_pixels,sizeof(uint32)); in ReadTIFFImage() 1843 (void) memset(pixels,0,number_pixels*sizeof(uint32)); in ReadTIFFImage() 2155 number_pixels=(MagickSizeType) columns*rows; in ReadTIFFImage() 2232 number_pixels=(MagickSizeType) columns*rows; in ReadTIFFImage() 2336 number_pixels=(MagickSizeType) image->columns*image->rows; in ReadTIFFImage() 2337 generic_info=AcquireVirtualMemory(number_pixels,sizeof(uint32)); in ReadTIFFImage() 2346 p=pixels+number_pixels-1; in ReadTIFFImage()
|
D | bmp.c | 203 unsigned char *pixels,const size_t number_pixels) in DecodeImage() argument 225 (void) memset(pixels,0,number_pixels*sizeof(*pixels)); in DecodeImage() 229 q=pixels+number_pixels; in DecodeImage()
|
D | psd.c | 551 const size_t number_pixels,unsigned char *pixels) in DecodePSDPixels() argument 559 if (((ssize_t) i + count) > (ssize_t) number_pixels) \ in DecodePSDPixels() 577 for (i=0; (packets > 1) && (i < (ssize_t) number_pixels); ) in DecodePSDPixels()
|
/external/ImageMagick/PerlMagick/ |
D | Magick.xs | 14498 number_pixels; in SetPixels() local 14503 number_pixels=region.width*region.height; in SetPixels() 14504 while ((n < number_pixels) && (i < av_len(av))) in SetPixels()
|
/external/ImageMagick/PerlMagick/quantum/ |
D | quantum.xs.in | 14615 number_pixels; local 14620 number_pixels=region.width*region.height; 14621 while ((n < number_pixels) && (i < av_len(av)))
|