/external/ImageMagick/MagickCore/ |
D | color-private.h | 74 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() 507 rows=MagickMax(image->rows,reconstruct_image->rows); in GetFuzzDistortion() 508 columns=MagickMax(image->columns,reconstruct_image->columns); in GetFuzzDistortion() 622 rows=MagickMax(image->rows,reconstruct_image->rows); in GetMeanAbsoluteDistortion() 623 columns=MagickMax(image->columns,reconstruct_image->columns); in GetMeanAbsoluteDistortion() 738 rows=MagickMax(image->rows,reconstruct_image->rows); in GetMeanErrorPerPixel() 739 columns=MagickMax(image->columns,reconstruct_image->columns); in GetMeanErrorPerPixel() [all …]
|
D | thread-private.h | 64 return((int) MagickMax(MagickMin(GetMagickResourceLimit(ThreadResource),2),1)); in GetMagickNumberThreads() 65 return((int) MagickMax(MagickMin((ssize_t) GetMagickResourceLimit( in GetMagickNumberThreads()
|
D | gem.c | 870 max=MagickMax(red,MagickMax(green,blue)); in ConvertRGBToHCL() 931 max=MagickMax(red,MagickMax(green,blue)); in ConvertRGBToHCLp() 1119 max=MagickMax(QuantumScale*red,MagickMax(QuantumScale*green, in ConvertRGBToHSL() 1191 max=MagickMax(QuantumScale*red,MagickMax(QuantumScale*green, in ConvertRGBToHSV() 1262 v=MagickMax(red,MagickMax(green,blue)); in ConvertRGBToHWB()
|
D | accelerate-kernels-private.h | 51 OPENCL_DEFINE(MagickMax(x,y), (((x) > (y)) ? (x) : (y))) 505 intensity=MagickMax(MagickMax(red,green),blue); 511 MagickMax(MagickMax(red,green),blue))/2.0; 1022 float tmax=MagickMax(MagickMax(pixel.x,pixel.y),pixel.z); 1979 tmax=MagickMax(QuantumScale*red,MagickMax(QuantumScale*green, QuantumScale*blue)); 2467 float scale = MagickMax(1.0f/xFactor+MagickEpsilon ,1.0f); 2468 const float support = MagickMax(scale*resizeFilterSupport,0.5f); 2471 …const int cacheRangeStartX = MagickMax((int)((startX+0.5f)/xFactor+MagickEpsilon-support+0.5f),(in… 2506 const unsigned int start = (unsigned int)MagickMax(bisect-support+0.5f,0.0f); 2629 float scale = MagickMax(1.0f/yFactor+MagickEpsilon ,1.0f); [all …]
|
D | image-private.h | 36 #define MagickMax(x,y) (((x) > (y)) ? (x) : (y)) macro
|
D | colormap.c | 125 image->colors=MagickMax(colors,1); in AcquireImageColormap() 145 pixel=(double) (i*(QuantumRange/MagickMax(colors-1,1))); in AcquireImageColormap()
|
D | statistic.c | 150 rows=MagickMax(GetImageListLength(images),(size_t) in DestroyPixelThreadSet() 176 rows=MagickMax(number_images,(size_t) GetMagickResourceLimit(ThreadResource)); in AcquirePixelThreadSet() 181 columns=MagickMax(number_images,MaxPixelChannels); in AcquirePixelThreadSet() 183 columns=MagickMax(next->columns,columns); in AcquirePixelThreadSet() 2934 pixel_list=AcquirePixelListThreadSet(MagickMax(width,1),MagickMax(height,1)); in StatisticImage() 2943 center=(ssize_t) GetPixelChannels(image)*(image->columns+MagickMax(width,1))* in StatisticImage() 2944 (MagickMax(height,1)/2L)+GetPixelChannels(image)*(MagickMax(width,1)/2L); in StatisticImage() 2969 p=GetCacheViewVirtualPixels(image_view,-((ssize_t) MagickMax(width,1)/2L),y- in StatisticImage() 2970 (ssize_t) (MagickMax(height,1)/2L),image->columns+MagickMax(width,1), in StatisticImage() 2971 MagickMax(height,1),exception); in StatisticImage() [all …]
|
D | quantum.c | 695 extent=MagickMax(image->columns,image->rows)*quantum; in SetQuantumDepth() 696 if ((MagickMax(image->columns,image->rows) != 0) && in SetQuantumDepth() 697 (quantum != (extent/MagickMax(image->columns,image->rows)))) in SetQuantumDepth()
|
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 | paint.c | 556 gradient->radii.x=(double) MagickMax((image->columns-1.0),(image->rows-1.0))/ in GradientImage() 564 gradient->radii.x=(double) MagickMax((image->columns-1.0), in GradientImage() 581 gradient->radii.x=(double) MagickMax((image->columns-1.0), in GradientImage() 596 gradient->radius=MagickMax(gradient->radii.x,gradient->radii.y); in GradientImage()
|
D | widget.c | 79 #define QuantumMargin MagickMax(font_info->max_bounds.width,12) 2434 MagickMax(event.xconfigure.width,(int) windows->widget.min_width); in XColorBrowserWidget() 2436 MagickMax(event.xconfigure.height,(int) windows->widget.min_height); in XColorBrowserWidget() 3064 MagickMax(event->xconfigure.width,(int) windows->command.min_width); in XCommandWidget() 3066 MagickMax(event->xconfigure.height,(int) windows->command.min_height); in XCommandWidget() 3498 MagickMax(event.xconfigure.width,(int) windows->widget.min_width); in XConfirmWidget() 3500 MagickMax(event.xconfigure.height,(int) windows->widget.min_height); in XConfirmWidget() 3702 windows->widget.width=(unsigned int) MagickMax((int) (2*width),(int) in XDialogWidget() 3957 MagickMax(event.xconfigure.width,(int) windows->widget.min_width); in XDialogWidget() 3959 MagickMax(event.xconfigure.height,(int) windows->widget.min_height); in XDialogWidget() [all …]
|
/external/ImageMagick/coders/ |
D | dcm.c | 3625 graymap=(int *) AcquireQuantumMemory(MagickMax(colors,65536), in ReadDCMImage() 3629 (void) memset(graymap,0,MagickMax(colors,65536)* in ReadDCMImage() 3652 redmap=(int *) AcquireQuantumMemory(MagickMax(colors,65536), in ReadDCMImage() 3656 (void) memset(redmap,0,MagickMax(colors,65536)* in ReadDCMImage() 3684 greenmap=(int *) AcquireQuantumMemory(MagickMax(colors,65536), in ReadDCMImage() 3688 (void) memset(greenmap,0,MagickMax(colors,65536)* in ReadDCMImage() 3716 bluemap=(int *) AcquireQuantumMemory(MagickMax(colors,65536), in ReadDCMImage() 3720 (void) memset(bluemap,0,MagickMax(colors,65536)* in ReadDCMImage() 3771 for (i=0; i < (ssize_t) MagickMax(length,4); i++) in ReadDCMImage() 3792 for (i=0; i < (ssize_t) MagickMax(length,4); i++) in ReadDCMImage() [all …]
|
D | video.c | 545 delay=100.0*p->delay/MagickMax(1.0*p->ticks_per_second,1.0); in WriteVIDEOImage() 546 for (i=0; i < (ssize_t) MagickMax((1.0*delay+1.0)/3.0,1.0); i++) in WriteVIDEOImage() 628 delay=100.0*p->delay/MagickMax(1.0*p->ticks_per_second,1.0); in WriteVIDEOImage() 629 for (i=0; i < (ssize_t) MagickMax((1.0*delay+1.0)/3.0,1.0); i++) in WriteVIDEOImage()
|
D | txt.c | 568 MagickMax(red+0.5,0.0),range); in ReadTXTImage() 570 MagickMax(green+0.5,0.0),range); in ReadTXTImage() 572 MagickMax(blue+0.5,0.0),range); in ReadTXTImage() 574 MagickMax(black+0.5,0.0),range); in ReadTXTImage() 576 MagickMax(alpha+0.5,0.0),range); in ReadTXTImage()
|
D | dds.c | 871 min = MagickMax(0, (ssize_t) max - steps) 899 value->x = MagickMin(1.0f,MagickMax(0.0f,value->x)); in VectorClamp() 900 value->y = MagickMin(1.0f,MagickMax(0.0f,value->y)); in VectorClamp() 901 value->z = MagickMin(1.0f,MagickMax(0.0f,value->z)); in VectorClamp() 902 value->w = MagickMin(1.0f,MagickMax(0.0f,value->w)); in VectorClamp() 907 value->x = MagickMin(1.0f,MagickMax(0.0f,value->x)); in VectorClamp3() 908 value->y = MagickMin(1.0f,MagickMax(0.0f,value->y)); in VectorClamp3() 909 value->z = MagickMin(1.0f,MagickMax(0.0f,value->z)); in VectorClamp3() 2852 a = (float) PerceptibleReciprocal(MagickMax(w.x,MagickMax(w.y,w.z))); in ComputePrincipleComponent() 3379 (void) WriteBlobLSBLong(image,(unsigned int) (MagickMax(1, in WriteDDSInfo() [all …]
|
D | caption.c | 307 (void) FormatLocaleString(geometry,MagickPathExtent,"%+g%+g",MagickMax( in ReadCAPTIONImage() 310 UndefinedGravity ? MagickMax(metrics.ascent,metrics.bounds.y2) : 0.0)); in ReadCAPTIONImage()
|
D | gif.c | 1041 MagickMax(global_colors,256),3UL*sizeof(*global_colormap)); in ReadGIFImage() 1044 (void) memset(global_colormap,0,3*MagickMax(global_colors,256)* in ReadGIFImage() 1318 MagickMax(local_colors,256),3UL*sizeof(*colormap)); in ReadGIFImage() 1321 (void) memset(colormap,0,3*MagickMax(local_colors,256)* in ReadGIFImage() 1723 delay=(size_t) (100*image->delay/MagickMax((size_t) in WriteGIFImage() 1921 c=(int) MagickMax(bits_per_pixel,2); in WriteGIFImage() 1923 status=EncodeImage(write_info,image,(size_t) MagickMax(bits_per_pixel,2)+1, in WriteGIFImage()
|
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() 936 ((one << bits_per_pixel)-1)/MagickMax(1*image->colors-1,1)); in WritePALMImage()
|
D | pcx.c | 409 scanline=(unsigned char *) AcquireQuantumMemory(MagickMax(image->columns, in ReadPCXImage() 410 pcx_info.bytes_per_line),MagickMax(pcx_info.planes,8)*sizeof(*scanline)); in ReadPCXImage() 421 (void) memset(scanline,0,(size_t) MagickMax(image->columns, in ReadPCXImage() 422 pcx_info.bytes_per_line)*MagickMax(pcx_info.planes,8)*sizeof(*scanline)); in ReadPCXImage()
|
D | plasma.c | 209 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 | histogram.c | 241 length=MagickMax((size_t) ScaleQuantumToChar(QuantumRange)+1UL, in WriteHISTOGRAMImage()
|
D | label.c | 264 MagickMax(metrics.ascent,metrics.bounds.y2) : 0.0)); in ReadLABELImage()
|
/external/ImageMagick/filters/ |
D | analyze.c | 97 #define MagickMax(x,y) (((x) > (y)) ? (x) : (y)) in GetMagickNumberThreads() macro 111 return(MagickMax(MagickMin(GetMagickResourceLimit(ThreadResource),2),1)); in GetMagickNumberThreads() 112 return(MagickMax(MagickMin((ssize_t) GetMagickResourceLimit(ThreadResource), in GetMagickNumberThreads()
|