Home
last modified time | relevance | path

Searched refs:gauss (Results 1 – 25 of 34) 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.cpp595 uint16_t* gauss, in blur_x_rect() argument
599 Sk8h g0{gauss[0]}, in blur_x_rect()
600 g1{gauss[1]}, in blur_x_rect()
601 g2{gauss[2]}, in blur_x_rect()
602 g3{gauss[3]}, in blur_x_rect()
603 g4{gauss[4]}; in blur_x_rect()
613 static void direct_blur_x(int radius, uint16_t* gauss, in direct_blur_x() argument
619 blur_x_rect(blur_x_radius_1, gauss, src, srcStride, srcW, dst, dstStride, dstW, dstH); in direct_blur_x()
623 blur_x_rect(blur_x_radius_2, gauss, src, srcStride, srcW, dst, dstStride, dstW, dstH); in direct_blur_x()
627 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/
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)
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)
/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/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/oboe/samples/RhythmGame/third_party/glm/gtc/
Dfunctions.hpp35 GLM_FUNC_DECL T gauss(
44 GLM_FUNC_DECL T gauss(
Dfunctions.inl9 GLM_FUNC_QUALIFIER T gauss function
20 GLM_FUNC_QUALIFIER T gauss function
/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/flac/oss-fuzz/
Dfuzz-encoder.dict7 "gauss()"
/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.py548 def gauss(self, mu, sigma): member in Random
830 gauss = _inst.gauss variable
874 _test_generator(N, gauss, (0.0, 1.0))
Dstatistics.py931 gauss = random.gauss if seed is None else random.Random(seed).gauss
933 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/src/libFLAC/include/protected/
Dstream_encoder.h72 } gauss; member
/external/scapy/scapy/asn1/
Dasn1.py34 return o(int(random.gauss(0,1000)))
48 return ASN1_INTEGER(int(random.gauss(0,1000)))
/external/python/cpython3/Lib/test/
Dtest_random.py335 y1 = self.gen.gauss(0, 1)
339 y2 = self.gen.gauss(0, 1)
921 g.random = x[:].pop; g.gauss(0.0, 1.0)
971 (g.gauss, (10.0, 0.0), 10.0),
/external/python/cpython3/Doc/library/
Drandom.rst316 .. function:: gauss(mu, sigma)
505 from random import expovariate, gauss
521 service_duration = gauss(average_service_time, stdev_service_time)
541 (gauss, uniform, sample, betavariate, choice, triangular, and randrange).
/external/skia/tools/svg/
Dsvgs.txt58 https://www.w3.org/Graphics/SVG/Test/20110816/svg/filters-gauss-01-b.svg
59 https://www.w3.org/Graphics/SVG/Test/20110816/svg/filters-gauss-02-f.svg
60 https://www.w3.org/Graphics/SVG/Test/20110816/svg/filters-gauss-03-f.svg
/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)

12