Home
last modified time | relevance | path

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

/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/d1new/
DImageBuffersForRenderScriptd1new.java72 … RenderScript renderScript, ScriptC_layered_filter_fast_d1new scriptC) { in ImageBuffersForRenderScriptd1new() argument
73 super(image, margin, renderScript); in ImageBuffersForRenderScriptd1new()
75 renderScript, Element.F32_4(renderScript), in ImageBuffersForRenderScriptd1new()
78 renderScript, Element.U8(renderScript), in ImageBuffersForRenderScriptd1new()
81 renderScript, Element.U8(renderScript), in ImageBuffersForRenderScriptd1new()
84 renderScript, Element.U8(renderScript), in ImageBuffersForRenderScriptd1new()
87 renderScript, Element.U8(renderScript), in ImageBuffersForRenderScriptd1new()
90 renderScript, Element.F32_4(renderScript), in ImageBuffersForRenderScriptd1new()
93 renderScript, Element.F32_4(renderScript), in ImageBuffersForRenderScriptd1new()
DRefocusFilterd1new.java67 scriptC = new ScriptC_layered_filter_fast_d1new(renderScript); in initializeScriptAndBuffers()
75 renderScript, scriptC); in initializeScriptAndBuffers()
100 Allocation mAllocation = Allocation.createFromBitmap(renderScript, mBitmap); in extractSharpImage()
105 MediaStoreSaver.savePNG(mBitmap, "sharpd1new", name, renderScript.getApplicationContext()); in extractSharpImage()
114 Allocation mAllocation = Allocation.createFromBitmap(renderScript, mBitmap); in extractFuzzyImage()
119 MediaStoreSaver.savePNG(mBitmap, "fuzzyd1new", name, renderScript.getApplicationContext()); in extractFuzzyImage()
135 new KernelDataForRenderScriptd1new(targetLayer, blurStack, renderScript); in setKernelData()
DKernelDataForRenderScriptd1new.java54 RenderScript renderScript) { in KernelDataForRenderScriptd1new() argument
55 super(targetLayer, blurStack, renderScript); in KernelDataForRenderScriptd1new()
72 stackAllocation = Allocation.createSized(renderScript, in KernelDataForRenderScriptd1new()
73 Element.F32(renderScript), kernelStack.length); in KernelDataForRenderScriptd1new()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/f32/
DImageBuffersForRenderScriptF32.java61 RenderScript renderScript, ScriptC_layered_filter_fast_f32 scriptC) { in ImageBuffersForRenderScriptF32() argument
62 super(image, margin, renderScript); in ImageBuffersForRenderScriptF32()
65 renderScript, Element.F32_4(renderScript), in ImageBuffersForRenderScriptF32()
69 renderScript, Element.F32_4(renderScript), in ImageBuffersForRenderScriptF32()
72 integralImageAllocation = Allocation.createSized(renderScript, in ImageBuffersForRenderScriptF32()
73 Element.F32_4(renderScript), imageWidthPadded * imageHeightPadded); in ImageBuffersForRenderScriptF32()
DRefocusFilterF32.java67 scriptC = new ScriptC_layered_filter_fast_f32(renderScript); in initializeScriptAndBuffers()
75 renderScript, scriptC); in initializeScriptAndBuffers()
100 Allocation mAllocation = Allocation.createFromBitmap(renderScript, mBitmap); in extractSharpImage()
105 MediaStoreSaver.savePNG(mBitmap, "sharpF32", name, renderScript.getApplicationContext()); in extractSharpImage()
115 Allocation mAllocation = Allocation.createFromBitmap(renderScript, mBitmap); in extractFuzzyImage()
120 MediaStoreSaver.savePNG(mBitmap, "fuzzyF32", name, renderScript.getApplicationContext()); in extractFuzzyImage()
137 new KernelDataForRenderScriptF32(targetLayer, blurStack, renderScript); in setKernelData()
DKernelDataForRenderScriptF32.java55 RenderScript renderScript) { in KernelDataForRenderScriptF32() argument
56 super(targetLayer, blurStack, renderScript); in KernelDataForRenderScriptF32()
71 stackAllocation = Allocation.createSized(renderScript, in KernelDataForRenderScriptF32()
72 Element.F32(renderScript), kernelStack.length); in KernelDataForRenderScriptF32()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
DRenderScriptTask.java76 private RenderScript renderScript; field in RenderScriptTask
83 public RenderScriptTask(RenderScript renderScript, script sChoice) { in RenderScriptTask() argument
84 this.renderScript = renderScript; in RenderScriptTask()
105 RefocusFilterF32 rfFilterF32 = new RefocusFilterF32(renderScript); in applyRefocusFilter()
111 RefocusFilterd1new rfFilterd1new = new RefocusFilterd1new(renderScript); in applyRefocusFilter()
DKernelDataForRenderScript.java111 RenderScript renderScript) { in KernelDataForRenderScript() argument
116 renderScript, Element.F32_4(renderScript), in KernelDataForRenderScript()
140 kernelInfo = new ScriptField_KernelInfo(renderScript, numDepths); in KernelDataForRenderScript()
DImageBuffersForRenderScript.java47 RenderScript renderScript) { in ImageBuffersForRenderScript() argument
49 inAllocation = Allocation.createFromBitmap(renderScript, inputImage); in ImageBuffersForRenderScript()
53 outAllocation = Allocation.createFromBitmap(renderScript, outputImage); in ImageBuffersForRenderScript()
DRefocusFilter.java36 protected RenderScript renderScript; field in RefocusFilter
47 renderScript = rs; in RefocusFilter()
90 renderScript.finish(); in compute()
DRefocusTest.java93 RsTaskParams(RenderScript renderScript, in RsTaskParams() argument
95 mRenderScript = renderScript; in RsTaskParams()