Home
last modified time | relevance | path

Searched refs:gauss (Results 1 – 25 of 30) sorted by relevance

12

/external/skia/src/core/
DSkGaussFilter.cpp20 static void normalize(int n, double* gauss) { in normalize() argument
24 sum += 2 * gauss[i]; in normalize()
26 sum += gauss[0]; in normalize()
30 gauss[i] /= sum; in normalize()
37 sum += 2 * gauss[i]; in normalize()
40 gauss[0] = 1 - sum; in normalize()
43 static int calculate_bessel_factors(double sigma, double *gauss) { in calculate_bessel_factors() argument
84 gauss[0] = b[0]/d; in calculate_bessel_factors()
85 gauss[1] = b[1]/d; in calculate_bessel_factors()
94 while (gauss[n] > kGoodEnough) { in calculate_bessel_factors()
[all …]
DSkMaskBlurFilter.cpp594 uint16_t* gauss, in blur_x_rect() argument
598 Sk8h g0{gauss[0]}, in blur_x_rect()
599 g1{gauss[1]}, in blur_x_rect()
600 g2{gauss[2]}, in blur_x_rect()
601 g3{gauss[3]}, in blur_x_rect()
602 g4{gauss[4]}; in blur_x_rect()
612 static void direct_blur_x(int radius, uint16_t* gauss, in direct_blur_x() argument
618 blur_x_rect(blur_x_radius_1, gauss, src, srcStride, srcW, dst, dstStride, dstW, dstH); in direct_blur_x()
622 blur_x_rect(blur_x_radius_2, gauss, src, srcStride, srcW, dst, dstStride, dstW, dstH); in direct_blur_x()
626 blur_x_rect(blur_x_radius_3, gauss, src, srcStride, srcW, dst, dstStride, dstW, dstH); in direct_blur_x()
[all …]
/external/skqp/src/core/
DSkGaussFilter.cpp20 static void normalize(int n, double* gauss) { in normalize() argument
24 sum += 2 * gauss[i]; in normalize()
26 sum += gauss[0]; in normalize()
30 gauss[i] /= sum; in normalize()
37 sum += 2 * gauss[i]; in normalize()
40 gauss[0] = 1 - sum; in normalize()
43 static int calculate_bessel_factors(double sigma, double *gauss) { in calculate_bessel_factors() argument
84 gauss[0] = b[0]/d; in calculate_bessel_factors()
85 gauss[1] = b[1]/d; in calculate_bessel_factors()
94 while (gauss[n] > kGoodEnough) { in calculate_bessel_factors()
[all …]
DSkMaskBlurFilter.cpp592 uint16_t* gauss, in blur_x_rect() argument
596 Sk8h g0{gauss[0]}, in blur_x_rect()
597 g1{gauss[1]}, in blur_x_rect()
598 g2{gauss[2]}, in blur_x_rect()
599 g3{gauss[3]}, in blur_x_rect()
600 g4{gauss[4]}; in blur_x_rect()
610 static void direct_blur_x(int radius, uint16_t* gauss, in direct_blur_x() argument
616 blur_x_rect(blur_x_radius_1, gauss, src, srcStride, srcW, dst, dstStride, dstW, dstH); in direct_blur_x()
620 blur_x_rect(blur_x_radius_2, gauss, src, srcStride, srcW, dst, dstStride, dstW, dstH); in direct_blur_x()
624 blur_x_rect(blur_x_radius_3, gauss, src, srcStride, srcW, dst, dstStride, dstW, dstH); in direct_blur_x()
[all …]
/external/python/cpython2/Demo/tkinter/guido/
Dbrownian2.py21 x = random.gauss(WIDTH/2.0, SIGMA)
22 y = random.gauss(HEIGHT/2.0, SIGMA)
25 dx = random.gauss(0, BUZZ)
26 dy = random.gauss(0, BUZZ)
Dbrownian.py21 x = random.gauss(WIDTH/2.0, SIGMA)
22 y = random.gauss(HEIGHT/2.0, SIGMA)
25 dx = random.gauss(0, BUZZ)
26 dy = random.gauss(0, BUZZ)
/external/skqp/tests/
DSkGaussFilterTest.cpp18 static double careful_add(int n, double* gauss) { in careful_add() argument
22 sum += 2.0 * gauss[i]; in careful_add()
24 sum += gauss[0]; in careful_add()
/external/skia/tests/
DSkGaussFilterTest.cpp18 static double careful_add(int n, double* gauss) { in careful_add() argument
22 sum += 2.0 * gauss[i]; in careful_add()
24 sum += gauss[0]; in careful_add()
/external/ltp/testcases/misc/math/fptests/
Dfptest02.c80 static double gauss(void);
255 return (gauss()); in dtwork()
333 static double gauss(void) in gauss() function
Dfptest01.c80 static double gauss(void);
274 return (gauss()); in dtwork()
351 static double gauss(void) in gauss() function
/external/python/cpython2/Lib/test/
Dtest_random.py133 y1 = self.gen.gauss(0, 1)
137 y2 = self.gen.gauss(0, 1)
190 y1 = self.gen.gauss(0, 1)
194 y2 = self.gen.gauss(0, 1)
525 g.random = x[:].pop; g.gauss(0.0, 1.0)
575 (g.gauss, (10.0, 0.0), 10.0),
Dtest_math.py535 from random import random, gauss, shuffle
540 v = gauss(0, random()) ** 7 - s
/external/python/cpython3/Lib/
Drandom.py616 def gauss(self, mu, sigma): member in Random
776 _test_generator(N, gauss, (0.0, 1.0))
802 gauss = _inst.gauss variable
Dstatistics.py924 gauss = random.gauss if seed is None else random.Random(seed).gauss
926 return [gauss(mu, sigma) for i in range(n)]
/external/python/cpython2/Lib/
Drandom.py564 def gauss(self, mu, sigma): member in Random
877 _test_generator(N, gauss, (0.0, 1.0))
902 gauss = _inst.gauss variable
/external/flac/libFLAC/include/protected/
Dstream_encoder.h72 } gauss; member
/external/python/cpython3/Lib/test/
Dtest_random.py246 y1 = self.gen.gauss(0, 1)
250 y2 = self.gen.gauss(0, 1)
768 g.random = x[:].pop; g.gauss(0.0, 1.0)
818 (g.gauss, (10.0, 0.0), 10.0),
Dtest_math.py683 from random import random, gauss, shuffle
688 v = gauss(0, random()) ** 7 - s
/external/python/cpython3/Doc/library/
Drandom.rst272 .. function:: gauss(mu, sigma)
450 from random import expovariate, gauss
469 service_time = gauss(average_service_time, stdev_service_time)
490 (gauss, uniform, sample, betavariate, choice, triangular, and randrange).
/external/scapy/scapy/asn1/
Dasn1.py34 return o(int(random.gauss(0,1000)))
48 return ASN1_INTEGER(int(random.gauss(0,1000)))
/external/scapy/scapy/
Dvolatile.py142 return int(round(random.gauss(self.mu, self.sigma)))
/external/python/cpython2/Doc/library/
Drandom.rst249 .. function:: gauss(mu, sigma)
/external/flac/libFLAC/
Dstream_encoder.c1688 …encoder->protected_->apodizations[encoder->protected_->num_apodizations].parameters.gauss.stddev =… in FLAC__stream_encoder_set_apodization()
2512 …>private_->window[i], new_blocksize, encoder->protected_->apodizations[i].parameters.gauss.stddev); in resize_buffers_()
/external/hyphenation-patterns/en-US/
Dhyph-en-us.hyp.txt1312 gauss-ian
/external/python/cpython2/Misc/
DHISTORY5581 - random.gauss() uses a piece of hidden state used by nothing else,
5584 results produced by random.gauss(). It does now. Programs repeatedly
5585 mixing calls to a seed method with calls to gauss() may see different
11594 - Add some semi-thread-safety to random.gauss() (it used to be able to
12141 - Fixed some bugs in the random module; gauss() was subtly wrong, and
12143 Lambert Meertens (gauss()), and Magnus Kessler (vonmisesvariate()).
15525 * Module random contains various random distributions, e.g. gauss().

12