Searched refs:blurStack (Results 1 – 8 of 8) sorted by relevance
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
D | RefocusFilter.java | 68 protected Bitmap compute(Bitmap inputImage, BlurStack blurStack) { in compute() argument 73 blurStack.getLayerInfo(blurStack.getFocusLayer())); in compute() 77 if (!processLayersFromBackToFocus(blurStack)) { in compute() 83 if (!processLayersFromFrontToFocus(blurStack)) { in compute() 98 protected boolean processLayersFromBackToFocus(BlurStack blurStack) { in processLayersFromBackToFocus() argument 99 for (int targetLayer = blurStack.getNumLayers() - 1; in processLayersFromBackToFocus() 100 targetLayer >= blurStack.getFocusLayer(); --targetLayer) { in processLayersFromBackToFocus() 102 LayerInfo layerInfo = blurStack.getLayerInfo(targetLayer); in processLayersFromBackToFocus() 108 int dilationRadius = getKernelRadius(layerInfo.backDepth, blurStack); in processLayersFromBackToFocus() 112 setKernelData(targetLayer, blurStack); in processLayersFromBackToFocus() [all …]
|
D | KernelDataForRenderScript.java | 93 protected KernelDataForRenderScript(int targetLayer, BlurStack blurStack, in KernelDataForRenderScript() argument 97 int numDepths = blurStack.getNumDepths(targetLayer); in KernelDataForRenderScript() 106 int depth = blurStack.getDepth(targetLayer, m); in KernelDataForRenderScript() 107 float diskRadius = blurStack.getDiskRadius(depth); in KernelDataForRenderScript() 122 int numDepths = blurStack.getNumDepths(targetLayer); in KernelDataForRenderScript() 128 int depth = blurStack.getDepth(targetLayer, m); in KernelDataForRenderScript() 129 float diskRadius = blurStack.getDiskRadius(depth); in KernelDataForRenderScript()
|
D | BlurStack.java | 144 BlurStack blurStack = new BlurStack(); in createFromDepthTransform() local 155 blurStack.computeDiskRadius(depthTransform, frontFocalDepth, backFocalDepth, in createFromDepthTransform() 159 blurStack.generateOneLayerForEachDepth(frontFocalDepth, backFocalDepth); in createFromDepthTransform() 162 float diskRadiusInterval = (blurStack.getDiskRadius(MIN_DEPTH) in createFromDepthTransform() 163 + blurStack.getDiskRadius(MAX_DEPTH)) / numBlendingLayers; in createFromDepthTransform() 168 blurStack.groupDepthLevelsIntoLayers(frontFocalDepth, backFocalDepth, in createFromDepthTransform() 171 return blurStack; in createFromDepthTransform()
|
D | RenderScriptTask.java | 50 public BlurStack blurStack; field in RenderScriptTask 104 Bitmap outputImage = filter.compute(rgbdImage, blurStack); in applyRefocusFilter() 121 blurStack = BlurStack.createFromDepthTransform( in prepareRefocusFilter()
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/f32/ |
D | KernelDataForRenderScriptF32.java | 41 public KernelDataForRenderScriptF32(int targetLayer, BlurStack blurStack, in KernelDataForRenderScriptF32() argument 43 super(targetLayer, blurStack, renderScript); in KernelDataForRenderScriptF32() 47 int numDepths = blurStack.getNumDepths(targetLayer); in KernelDataForRenderScriptF32() 50 int depth = blurStack.getDepth(targetLayer, m); in KernelDataForRenderScriptF32() 51 float diskRadius = blurStack.getDiskRadius(depth); in KernelDataForRenderScriptF32()
|
D | RefocusFilterF32.java | 114 protected void setKernelData(int targetLayer, BlurStack blurStack) { in setKernelData() argument 116 new KernelDataForRenderScriptF32(targetLayer, blurStack, renderScript); in setKernelData()
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/d1new/ |
D | KernelDataForRenderScriptd1new.java | 41 public KernelDataForRenderScriptd1new(int targetLayer, BlurStack blurStack, in KernelDataForRenderScriptd1new() argument 43 super(targetLayer, blurStack, renderScript); in KernelDataForRenderScriptd1new() 47 int numDepths = blurStack.getNumDepths(targetLayer); in KernelDataForRenderScriptd1new() 50 int depth = blurStack.getDepth(targetLayer, m); in KernelDataForRenderScriptd1new() 51 float diskRadius = blurStack.getDiskRadius(depth); in KernelDataForRenderScriptd1new()
|
D | RefocusFilterd1new.java | 116 protected void setKernelData(int targetLayer, BlurStack blurStack) { in setKernelData() argument 118 new KernelDataForRenderScriptd1new(targetLayer, blurStack, renderScript); in setKernelData()
|