Home
last modified time | relevance | path

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

/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
DBlurStack.java150 int frontFocalDepth = openglDepthToStackDepth( in createFromDepthTransform() local
155 blurStack.computeDiskRadius(depthTransform, frontFocalDepth, backFocalDepth, in createFromDepthTransform()
159 blurStack.generateOneLayerForEachDepth(frontFocalDepth, backFocalDepth); in createFromDepthTransform()
168 blurStack.groupDepthLevelsIntoLayers(frontFocalDepth, backFocalDepth, in createFromDepthTransform()
236 int frontFocalDepth, int backFocalDepth, float blurInfinity) { in computeDiskRadius() argument
240 depthTransform.reconstruct(stackDepthToOpenglDepth(frontFocalDepth)); in computeDiskRadius()
268 private void generateOneLayerForEachDepth(int frontFocalDepth, in generateOneLayerForEachDepth() argument
271 MAX_DEPTH - MIN_DEPTH + 1 - (frontFocalDepth - backFocalDepth); in generateOneLayerForEachDepth()
276 for (int depth = MAX_DEPTH; depth > frontFocalDepth; --depth, ++layer) { in generateOneLayerForEachDepth()
282 layerInfo[layer] = new LayerInfo(frontFocalDepth, backFocalDepth); in generateOneLayerForEachDepth()
[all …]