/external/libvpx/libvpx/vpx_dsp/ |
add_noise.c | 40 static double gaussian(double sigma, double mu, double x) { function 49 // set up a 256 entry lookup that matches gaussian distribution 51 const int a_i = (int)(0.5 + 256 * gaussian(sigma, 0, i));
|
/external/eigen/unsupported/test/ |
cxx11_tensor_generator.cpp | 76 float gaussian = expf(-g_rows - g_cols); local 77 VERIFY_IS_EQUAL(result(i, j), gaussian); local
|
/external/skia/src/effects/ |
SkBlurMask.cpp | 497 // 6*rad+1 while the full Gaussian width is 6*sigma. 501 // Gaussian blur area (1.5*sigma on each side). The single pass box 507 // to approximate a Gaussian blur 848 // gaussian kernel. It's "ground truth" in a sense; too slow to be used, but very 872 float gaussian = expf(-x*x / (2*variance)); local 873 gaussWindow[halfWindow + x] = gaussWindow[halfWindow-x] = gaussian; 874 windowSum += 2*gaussian; [all...] |
/external/skia/tests/ |
BlurTest.cpp | 199 // Implement a Gaussian function with 0 mean and std.dev. of 'sigma'. 200 static float gaussian(int x, SkScalar sigma) { function 206 // Perform a brute force convolution of a step function with a Gaussian. 217 sum += gaussian(j, gaussianSigma) * step(i-j, stepMin, stepMax);
|
/external/webrtc/webrtc/common_audio/vad/ |
vad_core.c | 35 // Start values for the Gaussian models, Q7 114 // Gaussian Mixture Models (GMM). A hypothesis-test is performed to decide which 134 int gaussian; local 185 gaussian = channel + k * kNumChannels; 189 self->noise_means[gaussian], 190 self->noise_stds[gaussian], 191 &deltaN[gaussian]); 192 noise_probability[k] = kNoiseDataWeights[gaussian] * tmp1_s32; 198 self->speech_means[gaussian], 199 self->speech_stds[gaussian], [all...] |