/external/ImageMagick/MagickCore/ |
D | color-private.h | 41 fuzz=(double) MagickMax(MagickMax(p->fuzz,q->fuzz),(MagickRealType) in GetFuzzyColorDistance()
|
D | compare.c | 176 columns=MagickMax(image->columns,reconstruct_image->columns); in CompareImages() 177 rows=MagickMax(image->rows,reconstruct_image->rows); in CompareImages() 371 rows=MagickMax(image->rows,reconstruct_image->rows); in GetAbsoluteDistortion() 372 columns=MagickMax(image->columns,reconstruct_image->columns); in GetAbsoluteDistortion() 480 rows=MagickMax(image->rows,reconstruct_image->rows); in GetFuzzDistortion() 481 columns=MagickMax(image->columns,reconstruct_image->columns); in GetFuzzDistortion() 584 rows=MagickMax(image->rows,reconstruct_image->rows); in GetMeanAbsoluteDistortion() 585 columns=MagickMax(image->columns,reconstruct_image->columns); in GetMeanAbsoluteDistortion() 692 rows=MagickMax(image->rows,reconstruct_image->rows); in GetMeanErrorPerPixel() 693 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 | image-private.h | 26 #define MagickMax(x,y) (((x) > (y)) ? (x) : (y)) macro
|
D | accelerate-kernels-private.h | 65 OPENCL_DEFINE(MagickMax(x,y), (((x) > (y)) ? (x) : (y))) 512 intensity=MagickMax(MagickMax(red,green),blue); 518 MagickMax(MagickMax(red,green),blue))/2.0; 1039 float tmax=MagickMax(MagickMax(r,g),b); 1973 tmax=MagickMax(QuantumScale*red,MagickMax(QuantumScale*green, QuantumScale*blue)); 2461 float scale = MagickMax(1.0f/xFactor+MagickEpsilon ,1.0f); 2462 const float support = MagickMax(scale*resizeFilterSupport,0.5f); 2465 …const int cacheRangeStartX = MagickMax((int)((startX+0.5f)/xFactor+MagickEpsilon-support+0.5f),(in… 2500 const unsigned int start = (unsigned int)MagickMax(bisect-support+0.5f,0.0f); 2623 float scale = MagickMax(1.0f/yFactor+MagickEpsilon ,1.0f); [all …]
|
D | colormap.c | 117 image->colors=MagickMax(colors,1); in AcquireImageColormap() 136 pixel=(double) (i*(QuantumRange/MagickMax(colors-1,1))); in AcquireImageColormap()
|
D | quantum.c | 689 extent=MagickMax(image->columns,image->rows)*quantum; in SetQuantumDepth() 690 if ((MagickMax(image->columns,image->rows) != 0) && in SetQuantumDepth() 691 (quantum != (extent/MagickMax(image->columns,image->rows)))) in SetQuantumDepth()
|
D | montage.c | 508 bevel_width=(size_t) MagickMax(frame_info.inner_bevel, in MontageImageList() 510 border_width=(size_t) MagickMax((ssize_t) frame_info.width, in MontageImageList() 623 montage->columns=(size_t) MagickMax((ssize_t) bounds.width,1); in MontageImageList() 624 montage->rows=(size_t) MagickMax((ssize_t) bounds.height,1); in MontageImageList()
|
D | statistic.c | 2998 pixel_list=AcquirePixelListThreadSet(MagickMax(width,1),MagickMax(height,1)); in StatisticImage() 3007 center=(ssize_t) GetPixelChannels(image)*(image->columns+MagickMax(width,1))* in StatisticImage() 3008 (MagickMax(height,1)/2L)+GetPixelChannels(image)*(MagickMax(width,1)/2L); in StatisticImage() 3033 p=GetCacheViewVirtualPixels(image_view,-((ssize_t) MagickMax(width,1)/2L),y- in StatisticImage() 3034 (ssize_t) (MagickMax(height,1)/2L),image->columns+MagickMax(width,1), in StatisticImage() 3035 MagickMax(height,1),exception); in StatisticImage() 3076 for (v=0; v < (ssize_t) MagickMax(height,1); v++) in StatisticImage() 3078 for (u=0; u < (ssize_t) MagickMax(width,1); u++) in StatisticImage()
|
D | paint.c | 561 gradient->radii.x=(double) MagickMax(image->columns,image->rows)/2.0; in GradientImage() 568 gradient->radii.x=(double) MagickMax(image->columns,image->rows)/2.0; in GradientImage() 584 gradient->radii.x=(double) MagickMax(image->columns,image->rows)/2.0; in GradientImage() 598 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 …]
|
D | resize.c | 2418 scale=MagickMax(1.0/x_factor+MagickEpsilon,1.0); in HorizontalFilter() 2475 start=(ssize_t) MagickMax(bisect-support+0.5,0.0); in HorizontalFilter() 2543 j=(ssize_t) (MagickMin(MagickMax(bisect,(double) start),(double) in HorizontalFilter() 2633 scale=MagickMax(1.0/y_factor+MagickEpsilon,1.0); in VerticalFilter() 2690 start=(ssize_t) MagickMax(bisect-support+0.5,0.0); in VerticalFilter() 2759 j=(ssize_t) (MagickMin(MagickMax(bisect,(double) start),(double) in VerticalFilter()
|
D | type.c | 467 score+=(16*(800-((ssize_t) MagickMax(MagickMin(font_weight,900),p->weight)- in GetTypeInfoByFamily() 474 score+=(8*(range-((ssize_t) MagickMax(stretch,p->stretch)- in GetTypeInfoByFamily()
|
D | compress.c | 624 image->rows=(size_t) MagickMax((size_t) y-3,1); in HuffmanDecodeImage() 746 width=(size_t) MagickMax(inject_image->columns,1728); in HuffmanEncodeImage()
|
/external/ImageMagick/coders/ |
D | mpeg.c | 509 delay=100.0*p->delay/MagickMax(1.0*p->ticks_per_second,1.0); in WriteMPEGImage() 510 for (i=0; i < (ssize_t) MagickMax((1.0*delay+1.0)/3.0,1.0); i++) in WriteMPEGImage() 591 delay=100.0*p->delay/MagickMax(1.0*p->ticks_per_second,1.0); in WriteMPEGImage() 592 for (i=0; i < (ssize_t) MagickMax((1.0*delay+1.0)/3.0,1.0); i++) in WriteMPEGImage()
|
D | dds.c | 731 min = MagickMax(0, max - steps) 785 value->x = MagickMin(1.0f,MagickMax(0.0f,value->x)); in VectorClamp() 786 value->y = MagickMin(1.0f,MagickMax(0.0f,value->y)); in VectorClamp() 787 value->z = MagickMin(1.0f,MagickMax(0.0f,value->z)); in VectorClamp() 788 value->w = MagickMin(1.0f,MagickMax(0.0f,value->w)); in VectorClamp() 793 value->x = MagickMin(1.0f,MagickMax(0.0f,value->x)); in VectorClamp3() 794 value->y = MagickMin(1.0f,MagickMax(0.0f,value->y)); in VectorClamp3() 795 value->z = MagickMin(1.0f,MagickMax(0.0f,value->z)); in VectorClamp3() 1420 a = 1.0f / MagickMax(w.x,MagickMax(w.y,w.z)); in ComputePrincipleComponent() 2720 (void) WriteBlobLSBLong(image,(unsigned int) (MagickMax(1, in WriteDDSInfo() [all …]
|
D | plasma.c | 199 i=(size_t) MagickMax(image->columns,image->rows)/2; in ReadPlasmaImage()
|
D | palm.c | 407 one_row=(unsigned char *) AcquireQuantumMemory(MagickMax(bytes_per_row, in ReadPALMImage() 413 lastrow=(unsigned char *) AcquireQuantumMemory(MagickMax(bytes_per_row, in ReadPALMImage() 898 ((one << bits_per_pixel)-1)/MagickMax(1*image->colors-1,1)); in WritePALMImage()
|
D | rle.c | 319 MagickMax(number_planes_filled,4)*sizeof(*pixels)); in ReadRLEImage() 323 MagickMax(number_planes_filled,4); in ReadRLEImage()
|
D | histogram.c | 241 length=MagickMax((size_t) ScaleQuantumToChar(QuantumRange)+1UL, in WriteHISTOGRAMImage()
|
D | pict.c | 1449 (double) MagickMax(image->columns,tile_image->columns), in ReadPICTImage() 1450 (double) MagickMax(image->rows,tile_image->rows)); in ReadPICTImage() 1452 MagickMax(image->columns,tile_image->columns), in ReadPICTImage() 1453 MagickMax(image->rows,tile_image->rows),exception); in ReadPICTImage()
|
D | gif.c | 1018 MagickMax(global_colors,256),3UL*sizeof(*global_colormap)); in ReadGIFImage() 1679 delay=(size_t) (100*image->delay/MagickMax((size_t) in WriteGIFImage() 1877 c=(int) MagickMax(bits_per_pixel,2); in WriteGIFImage() 1879 status=EncodeImage(write_info,image,(size_t) MagickMax(bits_per_pixel,2)+1, in WriteGIFImage()
|
D | caption.c | 274 (void) FormatLocaleString(geometry,MagickPathExtent,"%+g%+g",MagickMax( in ReadCAPTIONImage()
|
D | tiff.c | 1611 pad=(size_t) MagickMax((size_t) samples_per_pixel-1,0); in ReadTIFFImage() 1618 pad=(size_t) MagickMax((size_t) samples_per_pixel-2,0); in ReadTIFFImage() 1623 pad=(size_t) MagickMax((size_t) samples_per_pixel-2,0); in ReadTIFFImage() 1630 pad=(size_t) MagickMax((size_t) samples_per_pixel-1,0); in ReadTIFFImage() 1673 pad=(size_t) MagickMax((size_t) samples_per_pixel-3,0); in ReadTIFFImage() 1678 pad=(size_t) MagickMax((size_t) samples_per_pixel-4,0); in ReadTIFFImage() 1682 pad=(size_t) MagickMax((size_t) samples_per_pixel-4,0); in ReadTIFFImage() 1687 pad=(size_t) MagickMax((size_t) samples_per_pixel-5,0); in ReadTIFFImage()
|
D | pcx.c | 398 scanline=(unsigned char *) AcquireQuantumMemory(MagickMax(image->columns, in ReadPCXImage() 399 pcx_info.bytes_per_line),MagickMax(8,pcx_info.planes)*sizeof(*scanline)); in ReadPCXImage()
|