Home
last modified time | relevance | path

Searched refs:MAX_DEPTH (Results 1 – 3 of 3) sorted by relevance

/aosp12/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
H A DBlurStack.java50 private static final int MAX_DEPTH = 64; field in BlurStack
55 private static final int DEPTH_SCALE = 256 / MAX_DEPTH;
158 if (numBlendingLayers >= MAX_DEPTH) { in createFromDepthTransform()
163 + blurStack.getDiskRadius(MAX_DEPTH)) / numBlendingLayers; in createFromDepthTransform()
204 return MAX_DEPTH - (openglDepth / DEPTH_SCALE); in openglDepthToStackDepth()
215 return (MAX_DEPTH - stackDepth) * DEPTH_SCALE; in stackDepthToOpenglDepth()
237 int numLevels = MAX_DEPTH - MIN_DEPTH + 1; in computeDiskRadius()
245 for (int depth = MIN_DEPTH; depth <= MAX_DEPTH; ++depth) { in computeDiskRadius()
271 MAX_DEPTH - MIN_DEPTH + 1 - (frontFocalDepth - backFocalDepth); in generateOneLayerForEachDepth()
405 if (frontFocalDepth == MAX_DEPTH) { in groupDepthLevelsInFrontOfFocus()
[all …]
H A Dluts_for_speedup_f32.rsh7 // g_kMaxDepthValue must be the same as BlurStack::MAX_DEPTH.
/aosp12/art/test/074-gc-thrash/src/
H A DMain.java198 private static final int MAX_DEPTH = 50; field in Deep
200 private static String strong[] = new String[MAX_DEPTH];
201 private static WeakReference weak[] = new WeakReference[MAX_DEPTH];
212 iter += MAX_DEPTH; in run()
225 for (int i = 0; i < MAX_DEPTH; i++) in run()
230 for (int i = 0; i < MAX_DEPTH; i++) { in run()
237 System.out.println("Deep: iters=" + iter / MAX_DEPTH); in run()
252 for (int i = 0; i < MAX_DEPTH; i++) { in checkStringReferences()
306 if (depth+1 < MAX_DEPTH) in dive()