Searched refs:gaussian (Results 1 – 5 of 5) sorted by relevance
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
D | threshold.rs | 31 static float gaussian[MAX_RADIUS * 2 + 1]; 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[gi++]; 112 blurredPixel += i * gaussian[gi++];
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
D | threshold.rs | 31 static float gaussian[MAX_RADIUS * 2 + 1]; 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[gi++]; 112 blurredPixel += i * gaussian[gi++];
|
D | threshold_half.rs | 31 static half gaussian[MAX_RADIUS * 2 + 1]; 61 gaussian[r + radius] = coeff1 * pow(e, halfR * halfR * 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[gi++]; 112 blurredPixel += i * gaussian[gi++];
|
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
D | threshold.rs | 31 static float gaussian[MAX_RADIUS * 2 + 1]; 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[gi++]; 112 blurredPixel += i * gaussian[gi++];
|
/frameworks/base/libs/hwui/ |
D | FontRenderer.cpp | 719 std::unique_ptr<float[]> gaussian(new float[2 * intRadius + 1]); in blurImage() local 720 Blur::generateGaussianWeights(gaussian.get(), radius); in blurImage() 723 Blur::horizontal(gaussian.get(), intRadius, *image, scratch.get(), width, height); in blurImage() 724 Blur::vertical(gaussian.get(), intRadius, scratch.get(), *image, width, height); in blurImage()
|