Searched refs:gaussian (Results 1 - 4 of 4) sorted by relevance
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
H A D | threshold.rs | 31 static float gaussian[MAX_RADIUS * 2 + 1]; 35 // Compute gaussian weights for the blur 45 // The larger the radius gets, the more our gaussian blur 47 // the gaussian curve begins to lose its shape 61 gaussian[r + radius] = coeff1 * pow(e, floatR * floatR * coeff2); 62 normalizeFactor += gaussian[r + radius]; 69 gaussian[r + radius] *= normalizeFactor; 84 blurredPixel += i.xyz * gaussian[gi++]; 90 blurredPixel += i.xyz * gaussian[gi++]; 105 blurredPixel += i * gaussian[g [all...] |
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
H A D | threshold.fs | 31 static float gaussian[MAX_RADIUS * 2 + 1]; 35 // Compute gaussian weights for the blur 45 // The larger the radius gets, the more our gaussian blur 47 // the gaussian curve begins to lose its shape 61 gaussian[r + radius] = coeff1 * pow(e, floatR * floatR * coeff2); 62 normalizeFactor += gaussian[r + radius]; 69 gaussian[r + radius] *= normalizeFactor; 84 blurredPixel += i.xyz * gaussian[gi++]; 90 blurredPixel += i.xyz * gaussian[gi++]; 105 blurredPixel += i * gaussian[g [all...] |
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | threshold.rs | 31 static float gaussian[MAX_RADIUS * 2 + 1]; 35 // Compute gaussian weights for the blur 45 // The larger the radius gets, the more our gaussian blur 47 // the gaussian curve begins to lose its shape 61 gaussian[r + radius] = coeff1 * pow(e, floatR * floatR * coeff2); 62 normalizeFactor += gaussian[r + radius]; 69 gaussian[r + radius] *= normalizeFactor; 84 blurredPixel += i.xyz * gaussian[gi++]; 90 blurredPixel += i.xyz * gaussian[gi++]; 105 blurredPixel += i * gaussian[g [all...] |
/frameworks/base/libs/hwui/ |
H A D | FontRenderer.cpp | 773 float *gaussian = new float[2 * intRadius + 1]; local 774 Blur::generateGaussianWeights(gaussian, intRadius); 777 Blur::horizontal(gaussian, intRadius, *image, scratch, width, height); 778 Blur::vertical(gaussian, intRadius, scratch, *image, width, height); 780 delete[] gaussian;
|
Completed in 298 milliseconds