Home
last modified time | relevance | path

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

12

/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/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.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/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/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.py576 def gauss(self, mu, sigma): member in Random
738 _test_generator(N, gauss, (0.0, 1.0))
764 gauss = _inst.gauss variable
/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/libxcam/modules/soft/
Dsoft_blender.cpp113 const SmartPtr<VideoBuffer> &gauss,
388 SmartPtr<VideoBuffer> gauss = scale_args->out_buf; in start_lap_task() local
407 args->gauss_luma = new UcharImage (gauss, 0); in start_lap_task()
408 args->gauss_uv = new Uchar2Image (gauss, 1); in start_lap_task()
554 const SmartPtr<VideoBuffer> &gauss, in start_reconstruct_task_by_gauss() argument
569 args->gauss_luma = new UcharImage (gauss, 0); in start_reconstruct_task_by_gauss()
570 args->gauss_uv = new Uchar2Image (gauss, 1); in start_reconstruct_task_by_gauss()
Dsoft_blender_tasks_priv.cpp253 minus_array_8 (float *orig, float *gauss, Uchar *ret) in minus_array_8() argument
255 #define ORG_MINUS_GAUSS(i) ret[i] = convert_to_uchar<float> ((orig[i] - gauss[i]) * 0.5f + 128.0f) in minus_array_8()
321 minus_array_uv_4 (Float2 *orig, Float2 *gauss, Uchar2 *ret) in minus_array_uv_4() argument
323 #define ORG_MINUS_GAUSS_UV(i) orig[i] -= gauss[i]; orig[i] *= 0.5f; orig[i] += 128.0f in minus_array_uv_4()
/external/tensorflow/tensorflow/contrib/specs/python/
Dparams_ops.py84 return min(max(random.gauss(mu, sigma), mu-limit*sigma), mu+limit*sigma)
/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)
756 g.random = x[:].pop; g.gauss(0.0, 1.0)
806 (g.gauss, (10.0, 0.0), 10.0),
Dtest_math.py666 from random import random, gauss, shuffle
671 v = gauss(0, random()) ** 7 - s
/external/libxcam/tests/
Dtest-cl-image.cpp390 … SmartPtr<CLGaussImageHandler> gauss = image_handler.dynamic_cast_ptr<CLGaussImageHandler> (); in main() local
391 XCAM_ASSERT (gauss.ptr ()); in main()
/external/python/cpython3/Doc/library/
Drandom.rst271 .. function:: gauss(mu, sigma)
444 from random import expovariate, gauss
463 service_time = gauss(average_service_time, stdev_service_time)
484 (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)

12