/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
intrinsic_blur.rs | 28 static float gaussian[MAX_RADIUS * 2 + 1]; 62 gaussian[r + radius] = coeff1 * pow(e, floatR * floatR * coeff2); 63 normalizeFactor += gaussian[r + radius]; 69 gaussian[r + radius] *= normalizeFactor; 79 blurredPixel += i * gaussian[gi++]; 91 blurredPixel += i * gaussian[gi++];
|
/external/chromium_org/third_party/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...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/ |
vp9_postproc.c | 308 static double gaussian(double sigma, double mu, double x) { function 324 * a gaussian distribution with sigma determined by q. 333 int a = (int)(0.5 + 256 * gaussian(sigma, 0, i));
|
/external/chromium_org/third_party/skia/tests/ |
BlurTest.cpp | 201 // Implement a Gaussian function with 0 mean and std.dev. of 'sigma'. 202 static float gaussian(int x, SkScalar sigma) { function 208 // Perform a brute force convolution of a step function with a Gaussian. 219 sum += gaussian(j, gaussianSigma) * step(i-j, stepMin, stepMax);
|
/external/chromium_org/third_party/skia/src/effects/ |
SkBlurMask.cpp | 498 // 6*rad+1 while the full Gaussian width is 6*sigma. 502 // Gaussian blur area (1.5*sigma on each side). The single pass box 508 // to approximate a Gaussian blur 851 // gaussian kernel. It's "ground truth" in a sense; too slow to be used, but very 875 float gaussian = expf(-x*x / (2*variance)); local 876 gaussWindow[halfWindow + x] = gaussWindow[halfWindow-x] = gaussian; 877 windowSum += 2*gaussian; [all...] |
/external/libvpx/libvpx/vp9/common/ |
vp9_postproc.c | 374 static double gaussian(double sigma, double mu, double x) { function 390 * a gaussian distribution with sigma determined by q. 399 int a = (int)(0.5 + 256 * gaussian(sigma, 0, i));
|