Searched refs:sigma (Results 1 – 2 of 2) sorted by relevance
374 static double gaussian(double sigma, double mu, double x) { in gaussian() argument375 return 1 / (sigma * sqrt(2.0 * 3.14159265)) * in gaussian()376 (exp(-(x - mu) * (x - mu) / (2 * sigma * sigma))); in gaussian()382 double sigma; in fillrd() local387 sigma = ai + .5 + .6 * (63 - qi) / 63.0; in fillrd()399 int a = (int)(0.5 + 256 * gaussian(sigma, 0, i)); in fillrd()
426 double vp8_gaussian(double sigma, double mu, double x) in vp8_gaussian() argument428 return 1 / (sigma * sqrt(2.0 * 3.14159265)) * in vp8_gaussian()429 (exp(-(x - mu) * (x - mu) / (2 * sigma * sigma))); in vp8_gaussian()436 double sigma; in fillrd() local442 sigma = a + .5 + .6 * (63 - q) / 63.0; in fillrd()454 const int v = (int)(.5 + 256 * vp8_gaussian(sigma, 0, i)); in fillrd()