Home
last modified time | relevance | path

Searched refs:CastDoubleToLong (Results 1 – 17 of 17) sorted by relevance

/external/ImageMagick/coders/
Dhistogram.c298 y=CastDoubleToLong(ceil((double) histogram_image->rows-scale* in WriteHISTOGRAMImage()
309 y=CastDoubleToLong(ceil((double) histogram_image->rows-scale* in WriteHISTOGRAMImage()
320 y=CastDoubleToLong(ceil((double) histogram_image->rows-scale* in WriteHISTOGRAMImage()
Dtxt.c276 page.y=CastDoubleToLong(ceil((double) page.y+metrics.ascent-0.5)); in ReadTEXTImage()
577 q=GetAuthenticPixels(image,CastDoubleToLong(x_offset), in ReadTXTImage()
578 CastDoubleToLong(y_offset),1,1,exception); in ReadTXTImage()
Dtiff.c1509 image->page.x=CastDoubleToLong(ceil(x_position* in ReadTIFFImage()
1511 image->page.y=CastDoubleToLong(ceil(y_position* in ReadTIFFImage()
/external/ImageMagick/MagickCore/
Dshear.c166 geometry.x=CastDoubleToLong(ceil(min.x-0.5)); in CropToFitImage()
167 geometry.y=CastDoubleToLong(ceil(min.y-0.5)); in CropToFitImage()
168 geometry.width=(size_t) CastDoubleToLong(floor(max.x-min.x+0.5)); in CropToFitImage()
169 geometry.height=(size_t) CastDoubleToLong(floor(max.y-min.y+0.5)); in CropToFitImage()
1220 step=CastDoubleToLong(floor((double) displacement)); in XShearImage()
1437 step=CastDoubleToLong(floor((double) displacement)); in YShearImage()
1620 bounds.width=image->columns+CastDoubleToLong(floor(fabs(shear.x)* in ShearImage()
1622 bounds.x=CastDoubleToLong(ceil((double) image->columns+((fabs(shear.x)* in ShearImage()
1624 bounds.y=CastDoubleToLong(ceil((double) image->rows+((fabs(shear.y)* in ShearImage()
1773 bounds.x=CastDoubleToLong(floor((double) ((shear_width > bounds.width) ? in ShearRotateImage()
[all …]
Dimage-private.h53 static inline ssize_t CastDoubleToLong(const double value) in CastDoubleToLong() function
Dvisual-effects.c1442 x_mid=CastDoubleToLong(ceil((segment->x1+segment->x2)/2-0.5)); in PlasmaImageProxy()
1443 y_mid=CastDoubleToLong(ceil((segment->y1+segment->y2)/2-0.5)); in PlasmaImageProxy()
1466 x_mid=CastDoubleToLong(ceil((segment->x1+segment->x2)/2-0.5)); in PlasmaImageProxy()
1467 y_mid=CastDoubleToLong(ceil((segment->y1+segment->y2)/2-0.5)); in PlasmaImageProxy()
1484 x=CastDoubleToLong(ceil(segment->x1-0.5)); in PlasmaImageProxy()
1485 u=GetCacheViewVirtualPixels(u_view,x,CastDoubleToLong(ceil( in PlasmaImageProxy()
1487 v=GetCacheViewVirtualPixels(v_view,x,CastDoubleToLong(ceil( in PlasmaImageProxy()
1507 x=CastDoubleToLong(ceil(segment->x2-0.5)); in PlasmaImageProxy()
1508 u=GetCacheViewVirtualPixels(u_view,x,CastDoubleToLong(ceil( in PlasmaImageProxy()
1510 v=GetCacheViewVirtualPixels(v_view,x,CastDoubleToLong(ceil( in PlasmaImageProxy()
[all …]
Ddraw.c1236 start=CastDoubleToLong(ceil(edge.y1-0.5)); in DrawAffineImage()
1237 stop=CastDoubleToLong(floor(edge.y2+0.5)); in DrawAffineImage()
1270 q=GetCacheViewAuthenticPixels(image_view,CastDoubleToLong( in DrawAffineImage()
1271 ceil(inverse_edge.x1-0.5)),y,(size_t) CastDoubleToLong(floor( in DrawAffineImage()
1278 for (x=CastDoubleToLong(ceil(inverse_edge.x1-0.5)); in DrawAffineImage()
1279 x <= CastDoubleToLong(floor(inverse_edge.x2+0.5)); x++) in DrawAffineImage()
2093 if ((x != CastDoubleToLong(ceil(gradient_vector->x1-0.5))) || in DrawGradientImage()
2094 (y != CastDoubleToLong(ceil(gradient_vector->y1-0.5)))) in DrawGradientImage()
2121 if ((x != CastDoubleToLong(ceil(gradient_vector->x1-0.5))) || in DrawGradientImage()
2122 (y != CastDoubleToLong(ceil(gradient_vector->y1-0.5)))) in DrawGradientImage()
[all …]
Dimage.c285 image->delay=(size_t) CastDoubleToLong(floor( in AcquireImage()
292 image->ticks_per_second=CastDoubleToLong(floor( in AcquireImage()
296 image->delay=(size_t) CastDoubleToLong(floor( in AcquireImage()
299 image->ticks_per_second=CastDoubleToLong(floor( in AcquireImage()
884 clone_image->page.width=(size_t) CastDoubleToLong(floor(scale* in CloneImage()
886 clone_image->page.x=CastDoubleToLong(ceil(scale*image->page.x-0.5)); in CloneImage()
887 clone_image->tile_offset.x=CastDoubleToLong(ceil(scale* in CloneImage()
892 clone_image->page.height=(size_t) CastDoubleToLong(floor(scale* in CloneImage()
894 clone_image->page.y=CastDoubleToLong(ceil(scale*image->page.y-0.5)); in CloneImage()
895 clone_image->tile_offset.y=CastDoubleToLong(ceil(scale* in CloneImage()
Dpixel.c4518 x_offset=CastDoubleToLong(floor(x)); in InterpolatePixelChannel()
4519 y_offset=CastDoubleToLong(floor(y)); in InterpolatePixelChannel()
4536 x_offset=CastDoubleToLong(floor(x+0.5)-1.0); in InterpolatePixelChannel()
4537 y_offset=CastDoubleToLong(floor(y+0.5)-1.0); in InterpolatePixelChannel()
4720 x_offset=CastDoubleToLong(floor(x+0.5)); in InterpolatePixelChannel()
4721 y_offset=CastDoubleToLong(floor(y+0.5)); in InterpolatePixelChannel()
4938 x_offset=CastDoubleToLong(floor(x)); in InterpolatePixelChannels()
4939 y_offset=CastDoubleToLong(floor(y)); in InterpolatePixelChannels()
4956 x_offset=CastDoubleToLong(floor(x+0.5)-1.0); in InterpolatePixelChannels()
4957 y_offset=CastDoubleToLong(floor(y+0.5)-1.0); in InterpolatePixelChannels()
[all …]
Dprofile.c2187 WriteProfileLong(MSBEndian,(unsigned int) CastDoubleToLong( in Sync8BimProfile()
2190 WriteProfileLong(MSBEndian,(unsigned int) CastDoubleToLong( in Sync8BimProfile()
2194 WriteProfileLong(MSBEndian,(unsigned int) CastDoubleToLong( in Sync8BimProfile()
2197 WriteProfileLong(MSBEndian,(unsigned int) CastDoubleToLong( in Sync8BimProfile()
Dannotate.c1737 x_offset=CastDoubleToLong(ceil(point.x-0.5)); in RenderFreetype()
1738 y_offset=CastDoubleToLong(ceil(point.y+y-0.5)); in RenderFreetype()
1753 x_offset=CastDoubleToLong(ceil(point.x+x-0.5)); in RenderFreetype()
2105 crop_info.y=CastDoubleToLong(ceil((resolution.y/DefaultResolution)* in RenderPostscript()
Dconstitute.c837 next->ticks_per_second=CastDoubleToLong(floor( in ReadImage()
843 next->ticks_per_second=CastDoubleToLong(floor( in ReadImage()
Deffect.c291 j=CastDoubleToLong(ceil((double) width*(1.0-QuantumScale* in AdaptiveBlurImage()
612 j=CastDoubleToLong(ceil((double) width*(1.0-QuantumScale* in AdaptiveSharpenImage()
2405 offset[i].x=CastDoubleToLong(ceil((double) (i*point.y)/ in MotionBlurImage()
2407 offset[i].y=CastDoubleToLong(ceil((double) (i*point.x)/ in MotionBlurImage()
Dgem.c695 i=CastDoubleToLong(floor(6.0*hue)); in ConvertHWBToRGB()
Dtransform.c776 return(CastDoubleToLong(floor(x))); in PixelRoundOffset()
777 return(CastDoubleToLong(ceil(x))); in PixelRoundOffset()
Dproperty.c4361 image->delay=CastDoubleToLong( in SetImageProperty()
4367 image->ticks_per_second=CastDoubleToLong(floor( in SetImageProperty()
/external/ImageMagick/MagickWand/
Ddrawing-wand.c4288 wand->pattern_bounds.x=CastDoubleToLong(ceil(x-0.5)); in DrawPushPattern()
4289 wand->pattern_bounds.y=CastDoubleToLong(ceil(y-0.5)); in DrawPushPattern()
4290 wand->pattern_bounds.width=(size_t) CastDoubleToLong(floor(width+0.5)); in DrawPushPattern()
4291 wand->pattern_bounds.height=(size_t) CastDoubleToLong(floor(height+0.5)); in DrawPushPattern()