Home | History | Annotate | Download | only in refocus

Lines Matching refs:MAX_DEPTH

65   private static final int MAX_DEPTH = 64;
70 private static final int DEPTH_SCALE = 256 / MAX_DEPTH;
73 * For each depth value {@code d} within [MIN_DEPTH,MAX_DEPTH], its blur disc
75 * {@code diskRadius} is {@code MAX_DEPTH-MIN_DEPTH+1}.
173 if (numBlendingLayers >= MAX_DEPTH) {
178 + blurStack.getDiskRadius(MAX_DEPTH)) / numBlendingLayers;
191 String s = "disparity range: " + MAX_DEPTH + ", " + MIN_DEPTH + "\n";
213 * 1(far) to MAX_DEPTH(near). Converts from openglDepth to stackDepth.
219 return MAX_DEPTH - (openglDepth / DEPTH_SCALE);
224 * 1(far) to MAX_DEPTH(near). Converts from stackDepth to openglDepth.
230 return (MAX_DEPTH - stackDepth) * DEPTH_SCALE;
240 * Quantizes the depth range into MAX_DEPTH levels in inverse depth space, and
252 int numLevels = MAX_DEPTH - MIN_DEPTH + 1;
260 for (int depth = MIN_DEPTH; depth <= MAX_DEPTH; ++depth) {
286 MAX_DEPTH - MIN_DEPTH + 1 - (frontFocalDepth - backFocalDepth);
291 for (int depth = MAX_DEPTH; depth > frontFocalDepth; --depth, ++layer) {
420 if (frontFocalDepth == MAX_DEPTH) {
435 while (d < MAX_DEPTH) {