Home
last modified time | relevance | path

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

/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/d1new/
DImageBuffersForRenderScriptd1new.java61 … RenderScript renderScript, ScriptC_layered_filter_fast_d1new scriptC) { in ImageBuffersForRenderScriptd1new() argument
62 super(image, margin, renderScript); in ImageBuffersForRenderScriptd1new()
64 renderScript, Element.F32_4(renderScript), in ImageBuffersForRenderScriptd1new()
67 renderScript, Element.U8(renderScript), in ImageBuffersForRenderScriptd1new()
70 renderScript, Element.U8(renderScript), in ImageBuffersForRenderScriptd1new()
73 renderScript, Element.U8(renderScript), in ImageBuffersForRenderScriptd1new()
76 renderScript, Element.U8(renderScript), in ImageBuffersForRenderScriptd1new()
79 renderScript, Element.F32_4(renderScript), in ImageBuffersForRenderScriptd1new()
82 renderScript, Element.F32_4(renderScript), in ImageBuffersForRenderScriptd1new()
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()
DRefocusFilterd1new.java59 scriptC = new ScriptC_layered_filter_fast_d1new(renderScript); in initializeScriptAndBuffers()
67 renderScript, scriptC); in initializeScriptAndBuffers()
92 Allocation mAllocation = Allocation.createFromBitmap(renderScript, mBitmap); in extractSharpImage()
96 MediaStoreSaver.savePNG(mBitmap, "sharpd1new", name, renderScript.getApplicationContext()); in extractSharpImage()
105 Allocation mAllocation = Allocation.createFromBitmap(renderScript, mBitmap); in extractFuzzyImage()
109 MediaStoreSaver.savePNG(mBitmap, "fuzzyd1new", name, renderScript.getApplicationContext()); in extractFuzzyImage()
125 new KernelDataForRenderScriptd1new(targetLayer, blurStack, renderScript); in setKernelData()
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/
DBaseRenderScriptComparer.java25 RenderScript renderScript, Allocation inputAllocation, Allocation outputAllocation); in verifySameRowsRS() argument
29 RenderScript renderScript) { in verifySameRS() argument
32 mRowInputs = createInputRowIndexAllocation(renderScript); in verifySameRS()
33 mRowOutputs = createOutputRowAllocation(renderScript); in verifySameRS()
36 renderScript, mRowInputs, mRowOutputs); in verifySameRS()
61 private Allocation createInputRowIndexAllocation(RenderScript renderScript) { in createInputRowIndexAllocation() argument
68 Allocation inputAllocation = Allocation.createSized(renderScript, Element.I32(renderScript), in createInputRowIndexAllocation()
74 private Allocation createOutputRowAllocation(RenderScript renderScript) { in createOutputRowAllocation() argument
75 return Allocation.createSized(renderScript, Element.F32(renderScript), mHeight, in createOutputRowAllocation()
DExactComparer.java61 RenderScript renderScript, Allocation inputAllocation, Allocation outputAllocation) { in verifySameRowsRS() argument
63 mScript = new ScriptC_ExactComparer(renderScript); in verifySameRowsRS()
DMeanSquaredComparer.java54 RenderScript renderScript, Allocation inputAllocation, Allocation outputAllocation) { in verifySameRowsRS() argument
56 mScript = new ScriptC_MeanSquaredComparer(renderScript); in verifySameRowsRS()
DThresholdDifferenceComparer.java70 RenderScript renderScript, Allocation inputAllocation, Allocation outputAllocation) { in verifySameRowsRS() argument
72 mScript = new ScriptC_ThresholdDifferenceComparer(renderScript); in verifySameRowsRS()
DBitmapComparer.java44 RenderScript renderScript) { in verifySameRS() argument
DMSSIMComparer.java88 RenderScript renderScript, Allocation inputAllocation, Allocation outputAllocation) { in verifySameRowsRS() argument
90 mScript = new ScriptC_MSSIMComparer(renderScript); in verifySameRowsRS()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/f32/
DImageBuffersForRenderScriptF32.java55 RenderScript renderScript, ScriptC_layered_filter_fast_f32 scriptC) { in ImageBuffersForRenderScriptF32() argument
56 super(image, margin, renderScript); in ImageBuffersForRenderScriptF32()
59 renderScript, Element.F32_4(renderScript), in ImageBuffersForRenderScriptF32()
63 renderScript, Element.F32_4(renderScript), in ImageBuffersForRenderScriptF32()
66 integralImageAllocation = Allocation.createSized(renderScript, in ImageBuffersForRenderScriptF32()
67 Element.F32_4(renderScript), imageWidthPadded * imageHeightPadded); in ImageBuffersForRenderScriptF32()
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()
DRefocusFilterF32.java62 scriptC = new ScriptC_layered_filter_fast_f32(renderScript); in initializeScriptAndBuffers()
70 renderScript, scriptC); in initializeScriptAndBuffers()
95 Allocation mAllocation = Allocation.createFromBitmap(renderScript, mBitmap); in extractSharpImage()
99 MediaStoreSaver.savePNG(mBitmap, "sharpF32", name, renderScript.getApplicationContext()); in extractSharpImage()
108 Allocation mAllocation = Allocation.createFromBitmap(renderScript, mBitmap); in extractFuzzyImage()
112 MediaStoreSaver.savePNG(mBitmap, "fuzzyF32", name, renderScript.getApplicationContext()); in extractFuzzyImage()
128 new KernelDataForRenderScriptF32(targetLayer, blurStack, renderScript); in setKernelData()
/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()
110 RefocusFilterd1new rfFilterd1new = new RefocusFilterd1new(renderScript); in applyRefocusFilter()
DImageBuffersForRenderScript.java47 RenderScript renderScript) { in ImageBuffersForRenderScript() argument
49 inAllocation = Allocation.createFromBitmap(renderScript, inputImage); in ImageBuffersForRenderScript()
53 outAllocation = Allocation.createFromBitmap(renderScript, outputImage); in ImageBuffersForRenderScript()
DKernelDataForRenderScript.java111 RenderScript renderScript) { in KernelDataForRenderScript() argument
116 renderScript, Element.F32_4(renderScript), in KernelDataForRenderScript()
140 kernelInfo = new ScriptField_KernelInfo(renderScript, numDepths); in KernelDataForRenderScript()
DRefocusFilter.java36 protected RenderScript renderScript; field in RefocusFilter
47 renderScript = rs; in RefocusFilter()
90 renderScript.finish(); in compute()
DRefocusTest.java94 RsTaskParams(RenderScript renderScript, in RsTaskParams() argument
96 mRenderScript = renderScript; in RsTaskParams()