/external/ImageMagick/MagickCore/ |
D | color-private.h | 41 fuzz=(double) MagickMax(MagickMax(p->fuzz,q->fuzz),(MagickRealType) in GetFuzzyColorDistance()
|
D | compare.c | 179 columns=MagickMax(image->columns,reconstruct_image->columns); in CompareImages() 180 rows=MagickMax(image->rows,reconstruct_image->rows); in CompareImages() 389 rows=MagickMax(image->rows,reconstruct_image->rows); in GetAbsoluteDistortion() 390 columns=MagickMax(image->columns,reconstruct_image->columns); in GetAbsoluteDistortion() 508 rows=MagickMax(image->rows,reconstruct_image->rows); in GetFuzzDistortion() 509 columns=MagickMax(image->columns,reconstruct_image->columns); in GetFuzzDistortion() 623 rows=MagickMax(image->rows,reconstruct_image->rows); in GetMeanAbsoluteDistortion() 624 columns=MagickMax(image->columns,reconstruct_image->columns); in GetMeanAbsoluteDistortion() 739 rows=MagickMax(image->rows,reconstruct_image->rows); in GetMeanErrorPerPixel() 740 columns=MagickMax(image->columns,reconstruct_image->columns); in GetMeanErrorPerPixel() [all …]
|
D | gem.c | 864 max=MagickMax(red,MagickMax(green,blue)); in ConvertRGBToHCL() 925 max=MagickMax(red,MagickMax(green,blue)); in ConvertRGBToHCLp() 1113 max=MagickMax(QuantumScale*red,MagickMax(QuantumScale*green, in ConvertRGBToHSL() 1185 max=MagickMax(QuantumScale*red,MagickMax(QuantumScale*green, in ConvertRGBToHSV() 1256 v=MagickMax(red,MagickMax(green,blue)); in ConvertRGBToHWB()
|
D | thread-private.h | 40 MagickMax(MagickMin(GetMagickResourceLimit(ThreadResource),2),1) : \ 41 MagickMax(MagickMin((ssize_t) GetMagickResourceLimit(ThreadResource),(ssize_t) (chunk)/64),1))
|
D | accelerate-kernels-private.h | 51 OPENCL_DEFINE(MagickMax(x,y), (((x) > (y)) ? (x) : (y))) 512 intensity=MagickMax(MagickMax(red,green),blue); 518 MagickMax(MagickMax(red,green),blue))/2.0; 1029 float tmax=MagickMax(MagickMax(pixel.x,pixel.y),pixel.z); 1986 tmax=MagickMax(QuantumScale*red,MagickMax(QuantumScale*green, QuantumScale*blue)); 2474 float scale = MagickMax(1.0f/xFactor+MagickEpsilon ,1.0f); 2475 const float support = MagickMax(scale*resizeFilterSupport,0.5f); 2478 …const int cacheRangeStartX = MagickMax((int)((startX+0.5f)/xFactor+MagickEpsilon-support+0.5f),(in… 2513 const unsigned int start = (unsigned int)MagickMax(bisect-support+0.5f,0.0f); 2636 float scale = MagickMax(1.0f/yFactor+MagickEpsilon ,1.0f); [all …]
|
D | colormap.c | 117 image->colors=MagickMax(colors,1); in AcquireImageColormap() 137 pixel=(double) (i*(QuantumRange/MagickMax(colors-1,1))); in AcquireImageColormap()
|
D | image-private.h | 26 #define MagickMax(x,y) (((x) > (y)) ? (x) : (y)) macro
|
D | quantum.c | 692 extent=MagickMax(image->columns,image->rows)*quantum; in SetQuantumDepth() 693 if ((MagickMax(image->columns,image->rows) != 0) && in SetQuantumDepth() 694 (quantum != (extent/MagickMax(image->columns,image->rows)))) in SetQuantumDepth()
|
D | statistic.c | 2885 pixel_list=AcquirePixelListThreadSet(MagickMax(width,1),MagickMax(height,1)); in StatisticImage() 2894 center=(ssize_t) GetPixelChannels(image)*(image->columns+MagickMax(width,1))* in StatisticImage() 2895 (MagickMax(height,1)/2L)+GetPixelChannels(image)*(MagickMax(width,1)/2L); in StatisticImage() 2920 p=GetCacheViewVirtualPixels(image_view,-((ssize_t) MagickMax(width,1)/2L),y- in StatisticImage() 2921 (ssize_t) (MagickMax(height,1)/2L),image->columns+MagickMax(width,1), in StatisticImage() 2922 MagickMax(height,1),exception); in StatisticImage() 2965 for (v=0; v < (ssize_t) MagickMax(height,1); v++) in StatisticImage() 2967 for (u=0; u < (ssize_t) MagickMax(width,1); u++) in StatisticImage()
|
D | montage.c | 509 bevel_width=(ssize_t) MagickMax(frame_info.inner_bevel, in MontageImageList() 511 border_width=(size_t) MagickMax((ssize_t) frame_info.width, in MontageImageList() 624 montage->columns=(size_t) MagickMax((ssize_t) bounds.width,1); in MontageImageList() 625 montage->rows=(size_t) MagickMax((ssize_t) bounds.height,1); in MontageImageList()
|
D | geometry.c | 1416 *width=(size_t) MagickMax(floor(scale.x*former_width/100.0+0.5),1.0); in ParseMetaGeometry() 1417 *height=(size_t) MagickMax(floor(scale.y*former_height/100.0+0.5),1.0); in ParseMetaGeometry() 1498 *width=MagickMax((size_t) floor(scale_factor*former_width+0.5),1UL); in ParseMetaGeometry() 1499 *height=MagickMax((size_t) floor(scale_factor*former_height+0.5),1UL); in ParseMetaGeometry()
|
D | paint.c | 557 gradient->radii.x=(double) MagickMax((image->columns-1.0),(image->rows-1.0))/ in GradientImage() 565 gradient->radii.x=(double) MagickMax((image->columns-1.0), in GradientImage() 582 gradient->radii.x=(double) MagickMax((image->columns-1.0), in GradientImage() 597 gradient->radius=MagickMax(gradient->radii.x,gradient->radii.y); in GradientImage()
|
D | widget.c | 78 #define QuantumMargin MagickMax(font_info->max_bounds.width,12) 2431 MagickMax(event.xconfigure.width,(int) windows->widget.min_width); in XColorBrowserWidget() 2433 MagickMax(event.xconfigure.height,(int) windows->widget.min_height); in XColorBrowserWidget() 3061 MagickMax(event->xconfigure.width,(int) windows->command.min_width); in XCommandWidget() 3063 MagickMax(event->xconfigure.height,(int) windows->command.min_height); in XCommandWidget() 3495 MagickMax(event.xconfigure.width,(int) windows->widget.min_width); in XConfirmWidget() 3497 MagickMax(event.xconfigure.height,(int) windows->widget.min_height); in XConfirmWidget() 3699 windows->widget.width=(unsigned int) MagickMax((int) (2*width),(int) in XDialogWidget() 3954 MagickMax(event.xconfigure.width,(int) windows->widget.min_width); in XDialogWidget() 3956 MagickMax(event.xconfigure.height,(int) windows->widget.min_height); in XDialogWidget() [all …]
|
/external/ImageMagick/coders/ |
D | dcm.c | 3580 graymap=(int *) AcquireQuantumMemory(MagickMax(colors,65536), in ReadDCMImage() 3584 (void) memset(graymap,0,MagickMax(colors,65536)* in ReadDCMImage() 3607 redmap=(int *) AcquireQuantumMemory(MagickMax(colors,65536), in ReadDCMImage() 3611 (void) memset(redmap,0,MagickMax(colors,65536)* in ReadDCMImage() 3639 greenmap=(int *) AcquireQuantumMemory(MagickMax(colors,65536), in ReadDCMImage() 3643 (void) memset(greenmap,0,MagickMax(colors,65536)* in ReadDCMImage() 3671 bluemap=(int *) AcquireQuantumMemory(MagickMax(colors,65536), in ReadDCMImage() 3675 (void) memset(bluemap,0,MagickMax(colors,65536)* in ReadDCMImage() 3726 for (i=0; i < (ssize_t) MagickMax(length,4); i++) in ReadDCMImage() 3747 for (i=0; i < (ssize_t) MagickMax(length,4); i++) in ReadDCMImage() [all …]
|
D | mpeg.c | 534 delay=100.0*p->delay/MagickMax(1.0*p->ticks_per_second,1.0); in WriteMPEGImage() 535 for (i=0; i < (ssize_t) MagickMax((1.0*delay+1.0)/3.0,1.0); i++) in WriteMPEGImage() 617 delay=100.0*p->delay/MagickMax(1.0*p->ticks_per_second,1.0); in WriteMPEGImage() 618 for (i=0; i < (ssize_t) MagickMax((1.0*delay+1.0)/3.0,1.0); i++) in WriteMPEGImage()
|
D | dds.c | 735 min = MagickMax(0, (ssize_t) max - steps) 795 value->x = MagickMin(1.0f,MagickMax(0.0f,value->x)); in VectorClamp() 796 value->y = MagickMin(1.0f,MagickMax(0.0f,value->y)); in VectorClamp() 797 value->z = MagickMin(1.0f,MagickMax(0.0f,value->z)); in VectorClamp() 798 value->w = MagickMin(1.0f,MagickMax(0.0f,value->w)); in VectorClamp() 803 value->x = MagickMin(1.0f,MagickMax(0.0f,value->x)); in VectorClamp3() 804 value->y = MagickMin(1.0f,MagickMax(0.0f,value->y)); in VectorClamp3() 805 value->z = MagickMin(1.0f,MagickMax(0.0f,value->z)); in VectorClamp3() 1430 a = (float) PerceptibleReciprocal(MagickMax(w.x,MagickMax(w.y,w.z))); in ComputePrincipleComponent() 2931 (void) WriteBlobLSBLong(image,(unsigned int) (MagickMax(1, in WriteDDSInfo() [all …]
|
D | gif.c | 1038 MagickMax(global_colors,256),3UL*sizeof(*global_colormap)); in ReadGIFImage() 1041 (void) memset(global_colormap,0,3*MagickMax(global_colors,256)* in ReadGIFImage() 1316 MagickMax(local_colors,256),3UL*sizeof(*colormap)); in ReadGIFImage() 1319 (void) memset(colormap,0,3*MagickMax(local_colors,256)* in ReadGIFImage() 1724 delay=(size_t) (100*image->delay/MagickMax((size_t) in WriteGIFImage() 1922 c=(int) MagickMax(bits_per_pixel,2); in WriteGIFImage() 1924 status=EncodeImage(write_info,image,(size_t) MagickMax(bits_per_pixel,2)+1, in WriteGIFImage()
|
D | caption.c | 296 (void) FormatLocaleString(geometry,MagickPathExtent,"%+g%+g",MagickMax( in ReadCAPTIONImage() 299 UndefinedGravity ? MagickMax(metrics.ascent,metrics.bounds.y2) : 0.0); in ReadCAPTIONImage()
|
D | palm.c | 409 extent=MagickMax(bytes_per_row,2*image->columns); in ReadPALMImage() 417 last_row=(unsigned char *) AcquireQuantumMemory(MagickMax(bytes_per_row, in ReadPALMImage() 424 (void) memset(last_row,0,MagickMax(bytes_per_row,2*image->columns)* in ReadPALMImage() 934 ((one << bits_per_pixel)-1)/MagickMax(1*image->colors-1,1)); in WritePALMImage()
|
D | pcx.c | 413 scanline=(unsigned char *) AcquireQuantumMemory(MagickMax(image->columns, in ReadPCXImage() 414 pcx_info.bytes_per_line),MagickMax(pcx_info.planes,8)*sizeof(*scanline)); in ReadPCXImage() 425 (void) memset(scanline,0,(size_t) MagickMax(image->columns, in ReadPCXImage() 426 pcx_info.bytes_per_line)*MagickMax(pcx_info.planes,8)*sizeof(*scanline)); in ReadPCXImage()
|
D | plasma.c | 199 i=(size_t) MagickMax(image->columns,image->rows)/2; in ReadPlasmaImage()
|
D | rle.c | 355 MagickMax(number_planes_filled,4)*sizeof(*pixels)); in ReadRLEImage() 359 MagickMax(number_planes_filled,4); in ReadRLEImage()
|
D | tiff.c | 1790 number_pixels=MagickMax(TIFFScanlineSize(tiff),MagickMax((ssize_t) in ReadTIFFImage() 1805 pad=(size_t) MagickMax((ssize_t) samples_per_pixel-1,0); in ReadTIFFImage() 1812 pad=(size_t) MagickMax((ssize_t) samples_per_pixel-2,0); in ReadTIFFImage() 1817 pad=(size_t) MagickMax((ssize_t) samples_per_pixel-2,0); in ReadTIFFImage() 1824 pad=(size_t) MagickMax((ssize_t) samples_per_pixel-1,0); in ReadTIFFImage() 1860 pad=(size_t) MagickMax((size_t) samples_per_pixel-3,0); in ReadTIFFImage() 1865 pad=(size_t) MagickMax((size_t) samples_per_pixel-4,0); in ReadTIFFImage() 1869 pad=(size_t) MagickMax((size_t) samples_per_pixel-4,0); in ReadTIFFImage() 1874 pad=(size_t) MagickMax((size_t) samples_per_pixel-5,0); in ReadTIFFImage()
|
D | histogram.c | 241 length=MagickMax((size_t) ScaleQuantumToChar(QuantumRange)+1UL, in WriteHISTOGRAMImage()
|
D | label.c | 260 MagickMax(metrics.ascent,metrics.bounds.y2) : 0.0); in ReadLABELImage()
|