/external/libvpx/libvpx/third_party/libyuv/source/ |
H A D | planar_functions.cc | 1851 // aligned to 16 byte boundary. height can be radius * 2 + 2 to save memory 1857 int width, int height, int radius) { 1875 if (radius > height) { 1876 radius = height; 1878 if (radius > (width / 2 - 1)) { 1879 radius = width / 2 - 1; 1881 if (radius <= 0) { 1894 width, radius); 1896 src_argb = src_argb + radius * src_stride_argb; 1897 cumsum_bot_row = &dst_cumsum[(radius 1854 ARGBBlur(const uint8* src_argb, int src_stride_argb, uint8* dst_argb, int dst_stride_argb, int32* dst_cumsum, int dst_stride32_cumsum, int width, int height, int radius) argument [all...] |
/external/libyuv/files/source/ |
H A D | planar_functions.cc | 2178 // aligned to 16 byte boundary. height can be radius * 2 + 2 to save memory 2189 int radius) { 2209 if (radius > height) { 2210 radius = height; 2212 if (radius > (width / 2 - 1)) { 2213 radius = width / 2 - 1; 2215 if (radius <= 0) { 2227 dst_stride32_cumsum, width, radius); 2229 src_argb = src_argb + radius * src_stride_argb; 2230 cumsum_bot_row = &dst_cumsum[(radius 2181 ARGBBlur(const uint8* src_argb, int src_stride_argb, uint8* dst_argb, int dst_stride_argb, int32* dst_cumsum, int dst_stride32_cumsum, int width, int height, int radius) argument [all...] |
/external/ImageMagick/MagickCore/ |
H A D | accelerate-kernels-private.h | 916 const unsigned int radius = (width-1)/2; 926 int cx = ClampToCanvas(i + groupX - radius, columns); 973 unsigned int radius = (width-1)/2; 985 temp[i] = blurRowData[ClampToCanvas(i+groupY-radius, rows) * columns + groupX]; 1845 const int radius, 1860 int j = i - radius; 1873 while ((j + 7) < radius + i) { 1879 while (j < radius + i) { 1885 tmpImage[i + y * imageWidth] = sum / ((radius + 1) * (radius [all...] |
H A D | gem.c | 1596 % GetOptimalKernelWidth() computes the optimal kernel radius for a convolution 1602 % size_t GetOptimalKernelWidth(const double radius, 1610 % o radius: the radius of the Gaussian, in pixels, not counting the center 1616 MagickPrivate size_t GetOptimalKernelWidth1D(const double radius, 1636 if (radius > MagickEpsilon) 1637 return((size_t) (2.0*ceil(radius)+1.0)); 1657 MagickPrivate size_t GetOptimalKernelWidth2D(const double radius, 1676 if (radius > MagickEpsilon) argument 1677 return((size_t) (2.0*ceil(radius) 1594 GetOptimalKernelWidth1D(const double radius, const double sigma) argument 1635 GetOptimalKernelWidth2D(const double radius, const double sigma) argument [all...] |
H A D | draw.h | 174 radius, member in struct:_GradientInfo
|
/external/ImageMagick/www/api/ |
H A D | feature.php | 64 Image *CannyEdgeImage(const Image *image,const double radius, 80 <dt>radius</dt> 81 <dd>the radius of the gaussian smoothing filter. </dd> 176 <p>MeanShiftImage() delineate arbitrarily shaped clusters in the image. For each pixel, it visits all the pixels in the neighborhood specified by the window centered at the pixel and excludes those that are outside the radius=(window-1)/2 surrounding the pixel. From those pixels, it finds those that are within the specified color distance from the current mean, and computes a new x,y centroid from those coordinates and a new mean. This new x,y centroid is used as the center for a new window. This process iterates until it converges and the final mean is replaces the (original window center) pixel value. It repeats this process for the next pixel, etc., until it processes all pixels in the image. Results are typically better with colorspaces other than sRGB. We recommend YIQ, YUV or YCbCr.</p>
|
H A D | fx.php | 134 Image *CharcoalImage(const Image *image,const double radius, 149 <dt>radius</dt> 150 <dd>the radius of the pixel neighborhood. </dd> 489 <p>SketchImage() simulates a pencil sketch. We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, radius should be larger than sigma. Use a radius of 0 and SketchImage() selects a suitable radius for you. Angle gives the angle of the sketch.</p> 494 Image *SketchImage(const Image *image,const double radius, 509 <dt>radius</dt> 510 <dd>the radius o [all...] |
H A D | paint.php | 106 <p>OilPaintImage() applies a special effect filter that simulates an oil painting. Each pixel is replaced by the most frequent color occurring in a circular region defined by radius.</p> 111 Image *OilPaintImage(const Image *image,const double radius, 126 <dt>radius</dt> 127 <dd>the radius of the circular neighborhood. </dd>
|
H A D | magick-image.php | 81 <p>MagickAdaptiveBlurImage() adaptively blurs the image by blurring less intensely near image edges and more intensely far from edges. We blur the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, radius should be larger than sigma. Use a radius of 0 and MagickAdaptiveBlurImage() selects a suitable radius for you.</p> 87 const double radius,const double sigma) 101 <dt>radius</dt> 102 <dd>the radius of the Gaussian, in pixels, not counting the center pixel. </dd> 138 <p>MagickAdaptiveSharpenImage() adaptively sharpens the image by sharpening more intensely near image edges and less intensely far from edges. We sharpen the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, radius should be larger than sigma. Use a radius o [all...] |
/external/skia/gm/ |
H A D | OverStroke.cpp | 86 SkPath ribs_path(SkPath path, SkScalar radius) { argument 98 tan.scale(radius);
|
H A D | blurrect.cpp | 197 float radius = radii[j]; local 202 if (!SkBlurMask::BlurRect(SkBlurMask::ConvertRadiusToSigma(radius),
|
H A D | rrect.cpp | 76 static SkScalar prop(SkScalar radius, SkScalar newSize, SkScalar oldSize) { argument 77 return newSize * radius / oldSize;
|
H A D | image.cpp | 45 SkScalar radius = (size.fWidth - stroke) / 2; local 51 canvas->drawCircle(size.fWidth/2, size.fHeight/2, radius, paint); 56 canvas->drawCircle(size.fWidth/2, size.fHeight/2, radius, paint);
|
H A D | convexpolyclip.cpp | 26 SkScalar radius = 3 * SkMaxScalar(wScalar, hScalar); local 48 pt, radius,
|
H A D | drawbitmaprect.cpp | 54 SkScalar radius = 4 * SkMaxScalar(wScalar, hScalar); local 74 pt, radius,
|
H A D | gradients.cpp | 527 SkScalar radius = SkIntToScalar(dim.width())/2; variable 532 paint.setShader(SkGradientShader::MakeRadial(center, radius, colors, pos, 572 const SkScalar cx = 200, cy = 200, radius = 150; variable 584 paint2.setShader(SkGradientShader::MakeRadial(center, radius, colors1, 588 paint3.setShader(SkGradientShader::MakeRadial(center, radius, colors2, 596 canvas->drawCircle(cx, cy, radius, paint1); 597 canvas->drawCircle(cx, cy, radius, paint3); 598 canvas->drawCircle(cx, cy, radius, paint2);
|
/external/skia/samplecode/ |
H A D | ClockFaceView.cpp | 70 Dot2DPathEffect(SkScalar radius, const SkMatrix& matrix, argument 72 : Sk2DPathEffect(matrix), fRadius(radius), fPts(pts) {}
|
H A D | SampleAAGeometry.cpp | 1299 SkScalar radius = fWidthControl.fValLo; 1307 return -radius; 1310 return SkTMax(-radius, SkTMin(radius, rotated.fY)); 1315 SkScalar radius = fWidthControl.fValLo; 1316 int minX = SkTMax(0, (int) (SkTMin(s.fX, e.fX) - radius)); 1317 int minY = SkTMax(0, (int) (SkTMin(s.fY, e.fY) - radius)); 1318 int maxX = SkTMin(w, (int) (SkTMax(s.fX, e.fX) + radius) + 1); 1319 int maxY = SkTMin(h, (int) (SkTMax(s.fY, e.fY) + radius) + 1); 1323 if (ptToLineDist > -radius [all...] |
/external/wpa_supplicant_8/hostapd/ |
H A D | config_file.c | 19 #include "radius/radius_client.h" 884 bss->radius = os_zalloc(sizeof(*bss->radius)); 885 if (bss->radius == NULL) { 2338 if (hostapd_parse_ip_addr(pos, &bss->radius->client_addr)) { 2344 bss->radius->force_client_addr = 1; 2347 &bss->radius->auth_servers, 2348 &bss->radius->num_auth_servers, pos, 1812, 2349 &bss->radius->auth_server)) { 2355 } else if (bss->radius [all...] |
/external/speex/libspeex/ |
H A D | mdf.c | 193 static inline void filter_dc_notch16(const spx_int16_t *in, spx_word16_t radius, spx_word16_t *out, int len, spx_mem_t *mem, int stride) argument 198 den2 = MULT16_16_Q15(radius,radius) + MULT16_16_Q15(QCONST16(.7,15),MULT16_16_Q15(32767-radius,32767-radius)); 200 den2 = radius*radius + .7*(1-radius)*(1-radius); 208 mem[0] = mem[1] + SHL32(SHL32(-EXTEND32(vin),15) + MULT16_32_Q15(radius,vou [all...] |
/external/autotest/client/deps/webgl_mpd/src/resources/ |
H A D | J3DI.js | 240 // Create a sphere with the passed number of latitude and longitude bands and the passed radius. 250 function makeSphere(ctx, radius, lats, longs) 277 geometryData.push(radius * x); 278 geometryData.push(radius * y); 279 geometryData.push(radius * z);
|
/external/skia/include/core/ |
H A D | SkPath.h | 556 void arcTo(SkScalar x1, SkScalar y1, SkScalar x2, SkScalar y2, SkScalar radius); 561 void arcTo(const SkPoint p1, const SkPoint p2, SkScalar radius) { argument 562 this->arcTo(p1.fX, p1.fY, p2.fX, p2.fY, radius); 763 * @param radius The radius of a circle to add as a closed contour to the 767 void addCircle(SkScalar x, SkScalar y, SkScalar radius, 781 * @param rx The x-radius of the rounded corners on the round-rectangle 782 * @param ry The y-radius of the rounded corners on the round-rectangle 790 * two radius values [X, Y]. The corners are ordered top-left, top-right,
|
/external/vulkan-validation-layers/demos/smoke/ |
H A D | Simulation.cpp | 185 CircleCurve(float radius, glm::vec3 axis) argument 186 : r_(radius)
|
/external/v8/benchmarks/ |
H A D | raytrace.js | 420 initialize : function(pos, radius, material) { 421 this.radius = radius; 433 var C = dst.dot(dst) - (this.radius * this.radius); 459 return 'Sphere [position=' + this.position + ', radius=' + this.radius + ']';
|
/external/deqp/modules/gles2/functional/ |
H A D | es2fClippingTests.cpp | 139 * Kernel radius defines maximum allowed distance. If radius is 0, only 170 const int radius = kernelRadius; local 175 if (y < radius || x < radius || y + radius >= height || x + radius >= width) 183 for (int kY = y - radius; kY <= y + radius; kY++) 184 for (int kX = x - radius; k 1187 const float radius = 40000.0f; local 1223 const float radius = 70000.0f; local [all...] |