Home
last modified time | relevance | path

Searched refs:fuzzy (Results 1 – 5 of 5) sorted by relevance

/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
Dlayered_filter_fast_f32.rscript240 FuzzyPixelF32_t *fuzzy = g_fuzzy_image + index;
241 if (fuzzy->alpha < g_kAlmostOne) {
378 FuzzyPixelF32_t *fuzzy = g_fuzzy_image + index;
379 // Because matte !=0 here, fuzzy->a < g_kAlmostOne must be true.
383 // Accumulates the filtering result to fuzzy.
384 const float capacity = 1.0f - fuzzy->alpha;
386 fuzzy->red += factor * result.red;
387 fuzzy->green += factor * result.green;
388 fuzzy->blue += factor * result.blue;
389 fuzzy->alpha += factor;
[all …]
Dlayered_filter_f32_helper.rsh141 FuzzyPixelF32_t fuzzy;
143 fuzzy.red = result.r * factor;
144 fuzzy.green = result.g * factor;
145 fuzzy.blue = result.b * factor;
146 fuzzy.alpha = 1.0f;
147 return fuzzy;
Dlayered_filter_fast_d1new.rscript507 // Because matte !=0 here, fuzzy->a < g_kAlmostOne must be true.
511 // Accumulates the filtering result to fuzzy.
560 // Because matte !=0 here, fuzzy->a < g_kAlmostOne must be true.
564 // Accumulates the filtering result to fuzzy.
614 // sharp = (1 - factor) * sharp + factor * fuzzy.
661 // sharp = (1 - factor) * sharp + factor * fuzzy.
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java2020 private static void assertEqualsFuzzy(long expected, long actual, long fuzzy) { in assertEqualsFuzzy() argument
2021 final long low = expected - fuzzy; in assertEqualsFuzzy()
2022 final long high = expected + fuzzy; in assertEqualsFuzzy()
/frameworks/ml/nn/tools/api/
DNeuralNetworks.t2369 * This is a fuzzy per-loop timeout intended to prevent infinite loops.