Home
last modified time | relevance | path

Searched refs:mOutPixelsAllocation (Results 1 – 25 of 90) sorted by relevance

1234

/aosp12/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
H A DPosterize.java47 mScript.forEach_root(mInPixelsAllocation, mOutPixelsAllocation); in runTest()
49 mScript.forEach_root(mOutPixelsAllocation, mOutPixelsAllocation); in runTest()
51 mScript.forEach_root(mOutPixelsAllocation, mOutPixelsAllocation); in runTest()
53 mScript.forEach_root(mOutPixelsAllocation, mOutPixelsAllocation); in runTest()
55 mScript.forEach_root(mOutPixelsAllocation, mOutPixelsAllocation); in runTest()
H A DMandelbrot.java82 int width = mOutPixelsAllocation.getType().getX(); in createTest()
83 int height = mOutPixelsAllocation.getType().getY(); in createTest()
93 mScript.forEach_rootD(mOutPixelsAllocation); in runTest()
95 mScript.forEach_root(mOutPixelsAllocation); in runTest()
H A DFisheye.java126 mScript_approx_relaxed.forEach_root(mOutPixelsAllocation); in runTest()
128 mScript_approx_full.forEach_root(mOutPixelsAllocation); in runTest()
130 mScript_relaxed.forEach_root(mOutPixelsAllocation); in runTest()
132 mScript_full.forEach_root(mOutPixelsAllocation); in runTest()
H A DVignette.java139 mOutPixelsAllocation); in runTest()
142 mOutPixelsAllocation); in runTest()
145 mOutPixelsAllocation); in runTest()
148 mOutPixelsAllocation); in runTest()
H A DLevelsV4.java153 mScriptF.forEach_root4(mInPixelsAllocation, mOutPixelsAllocation); in runTest()
155 mScriptF.forEach_root(mInPixelsAllocation, mOutPixelsAllocation); in runTest()
159 mScriptR.forEach_root4(mInPixelsAllocation, mOutPixelsAllocation); in runTest()
161 mScriptR.forEach_root(mInPixelsAllocation, mOutPixelsAllocation); in runTest()
H A DTestBase.java35 protected Allocation mOutPixelsAllocation; field in TestBase
93 mOutPixelsAllocation = ipact.mProcessor.mOutDisplayAllocationIO; in createBaseTest()
95 mOutPixelsAllocation = ipact.mProcessor.mOutDisplayAllocation1; in createBaseTest()
/aosp12/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
H A DPosterize.java56 mScript.forEach_root(mInPixelsAllocation, mOutPixelsAllocation); in runTest()
58 mScript.forEach_root(mOutPixelsAllocation, mOutPixelsAllocation); in runTest()
60 mScript.forEach_root(mOutPixelsAllocation, mOutPixelsAllocation); in runTest()
62 mScript.forEach_root(mOutPixelsAllocation, mOutPixelsAllocation); in runTest()
64 mScript.forEach_root(mOutPixelsAllocation, mOutPixelsAllocation); in runTest()
H A DMandelbrot.java82 int width = mOutPixelsAllocation.getType().getX(); in createTest()
83 int height = mOutPixelsAllocation.getType().getY(); in createTest()
93 mScript.forEach_rootD(mOutPixelsAllocation); in runTest()
95 mScript.forEach_root(mOutPixelsAllocation); in runTest()
H A DImageProcessingActivityJB.java155 Allocation mOutPixelsAllocation; field in ImageProcessingActivityJB.Processor
232 mOutPixelsAllocation = mOutDisplayAllocation; in Processor()
236 mOutPixelsAllocation = Allocation.createTyped(mRS, mInPixelsAllocation.getType(), in Processor()
278 if (mOutDisplayAllocation != mOutPixelsAllocation) { in runBenchmarkLoop()
279 mOutDisplayAllocation.copyFrom(mOutPixelsAllocation); in runBenchmarkLoop()
350 if ((mOutSurface == null) || (mOutPixelsAllocation == null)) { in run()
414 if (mOutDisplayAllocation != mOutPixelsAllocation) { in run()
415 mOutDisplayAllocation.copyFrom(mOutPixelsAllocation); in run()
459 if (mOutPixelsAllocation != mOutDisplayAllocation) { in exit()
460 mOutPixelsAllocation.destroy(); in exit()
[all …]
H A DFisheye.java129 mScript_approx_relaxed.forEach_root(mOutPixelsAllocation); in runTest()
131 mScript_approx_full.forEach_root(mOutPixelsAllocation); in runTest()
133 mScript_relaxed.forEach_root(mOutPixelsAllocation); in runTest()
135 mScript_full.forEach_root(mOutPixelsAllocation); in runTest()
H A DVignette.java139 mOutPixelsAllocation); in runTest()
142 mOutPixelsAllocation); in runTest()
145 mOutPixelsAllocation); in runTest()
148 mOutPixelsAllocation); in runTest()
H A DLevelsV4.java153 mScriptF.forEach_root4(mInPixelsAllocation, mOutPixelsAllocation); in runTest()
155 mScriptF.forEach_root(mInPixelsAllocation, mOutPixelsAllocation); in runTest()
159 mScriptR.forEach_root4(mInPixelsAllocation, mOutPixelsAllocation); in runTest()
161 mScriptR.forEach_root(mInPixelsAllocation, mOutPixelsAllocation); in runTest()
H A DHistogram.java59 mScript.set_gDest(mOutPixelsAllocation); in createTest()
61 mScript.forEach_clear(mOutPixelsAllocation); in createTest()
80 mScript.forEach_draw(mOutPixelsAllocation, lo); in runTest()
H A DTestBase.java36 public Allocation mOutPixelsAllocation; field in TestBase
93 mOutPixelsAllocation = ipact.mProcessor.mOutPixelsAllocation; in createBaseTest()
H A DBlur25.java116 mIntrinsic.forEach(mOutPixelsAllocation); in runTest()
121 mScript_half.forEach_vert(mOutPixelsAllocation); in runTest()
126 mScript.forEach_vert(mOutPixelsAllocation); in runTest()
/aosp12/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
H A DTestBase.java45 protected Allocation mOutPixelsAllocation; field in TestBase
72 mOutPixelsAllocation = ipact.mOutPixelsAllocation; in createBaseTest()
99 mOutPixelsAllocation.copyTo(b); in updateBitmap()
/aosp12/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
H A DMandelbrot.java88 int width = mOutPixelsAllocation.getType().getX(); in createTest()
89 int height = mOutPixelsAllocation.getType().getY(); in createTest()
99 mScript.forEach_rootD(mOutPixelsAllocation); in runTest()
101 mScript.forEach_root(mOutPixelsAllocation); in runTest()
H A DFisheye.java124 mScript_approx_relaxed.forEach_root(mOutPixelsAllocation); in runTest()
126 mScript_approx_full.forEach_root(mOutPixelsAllocation); in runTest()
128 mScript_relaxed.forEach_root(mOutPixelsAllocation); in runTest()
130 mScript_full.forEach_root(mOutPixelsAllocation); in runTest()
H A DTestBase.java45 protected Allocation mOutPixelsAllocation; field in TestBase
112 mOutPixelsAllocation = ipact.mOutPixelsAllocation; in createBaseTest()
139 mOutPixelsAllocation.copyTo(b); in updateBitmap()
H A DVignette.java137 mOutPixelsAllocation); in runTest()
140 mOutPixelsAllocation); in runTest()
143 mOutPixelsAllocation); in runTest()
146 mOutPixelsAllocation); in runTest()
H A DHistogram.java53 mScript.set_gDest(mOutPixelsAllocation); in createTest()
55 mScript.forEach_clear(mOutPixelsAllocation); in createTest()
72 mScript.forEach_draw(mOutPixelsAllocation, lo); in runTest()
H A DLevelsV4.java153 mScriptF.forEach_root4(mInPixelsAllocation, mOutPixelsAllocation); in runTest()
155 mScriptF.forEach_root(mInPixelsAllocation, mOutPixelsAllocation); in runTest()
159 mScriptR.forEach_root4(mInPixelsAllocation, mOutPixelsAllocation); in runTest()
161 mScriptR.forEach_root(mInPixelsAllocation, mOutPixelsAllocation); in runTest()
H A DGroupTest.java81 mOutPixelsAllocation.getType(), in createTest()
92 mOutPixelsAllocation = (Allocation)mGroup.execute(mInPixelsAllocation)[0]; in runTest()
95 mMatrix.forEach(mScratchPixelsAllocation1, mOutPixelsAllocation); in runTest()
/aosp12/frameworks/rs/tests/java_api/SampleTest/src/com/android/rs/sample/
H A DSampleRSActivity.java44 private Allocation mOutPixelsAllocation; field in SampleRSActivity.TextureViewUpdater
48 mOutPixelsAllocation = outAlloc; in TextureViewUpdater()
57 mOutPixelsAllocation.setSurface(new Surface(surface)); in onSurfaceTextureSizeChanged()
63 mOutPixelsAllocation.setSurface(new Surface(surface)); in onSurfaceTextureAvailable()
65 filterAlloc(mOutPixelsAllocation, mSampler); in onSurfaceTextureAvailable()
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
H A DCachingPipeline.java60 protected volatile Allocation mOutPixelsAllocation; field in CachingPipeline
133 if (mOutPixelsAllocation != null) { in destroyPixelAllocations()
134 mOutPixelsAllocation.destroy(); in destroyPixelAllocations()
135 mOutPixelsAllocation = null; in destroyPixelAllocations()
448 if (mOutPixelsAllocation == null || mInPixelsAllocation == null || in prepareRenderscriptAllocations()
455 mOutPixelsAllocation = Allocation.createFromBitmap(RS, bitmapBuffer, in prepareRenderscriptAllocations()
458 mOutPixelsAllocation.getType()); in prepareRenderscriptAllocations()
481 return mOutPixelsAllocation; in getOutPixelsAllocation()

1234