HomeSort by relevance Sort by last modified time
    Searched refs:Allocation (Results 1 - 25 of 564) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/rs/java/android/renderscript/
ScriptIntrinsicBlend.java 21 * Intrinsic kernels for blending two {@link android.renderscript.Allocation} objects.
43 private void blend(int id, Allocation ain, Allocation aout, Script.LaunchOptions opt) {
59 public void forEachClear(Allocation ain, Allocation aout) {
70 public void forEachClear(Allocation ain, Allocation aout, Script.LaunchOptions opt) {
90 public void forEachSrc(Allocation ain, Allocation aout) {
101 public void forEachSrc(Allocation ain, Allocation aout, Script.LaunchOptions opt)
    [all...]
Path.java 35 Allocation mVertexBuffer;
36 Allocation mLoopBuffer;
41 Path(long id, RenderScript rs, Primitive p, Allocation vtx, Allocation loop, float q) {
49 public Allocation getVertexAllocation() {
53 public Allocation getLoopAllocation() {
66 public static Path createStaticPath(RenderScript rs, Primitive p, float quality, Allocation vtx) {
72 public static Path createStaticPath(RenderScript rs, Primitive p, float quality, Allocation vtx, Allocation loops) {
76 public static Path createDynamicPath(RenderScript rs, Primitive p, float quality, Allocation vtx)
    [all...]
ScriptIntrinsicYuvToRGB.java 23 * The input allocation should be supplied in a supported YUV format
24 * as a YUV element Allocation. The output is RGBA; the alpha channel
28 private Allocation mInput;
53 * Set the input yuv allocation, must be {@link Element#U8}.
55 * @param ain The input allocation.
57 public void setInput(Allocation ain) {
65 * @param aout Output allocation. Must match creation element
68 public void forEach(Allocation aout) {
69 forEach(0, (Allocation) null, aout, null);
  /cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/
BaseRenderScriptComparer.java 4 import android.renderscript.Allocation;
12 private Allocation mRowInputs;
13 private Allocation mRowOutputs;
23 public abstract boolean verifySameRowsRS(Resources resources, Allocation ideal,
24 Allocation given, int offset, int stride, int width, int height,
25 RenderScript renderScript, Allocation inputAllocation, Allocation outputAllocation);
27 public boolean verifySameRS(Resources resources, Allocation ideal,
28 Allocation given, int offset, int stride, int width, int height,
44 * Sums the values in the output Allocation
    [all...]
BitmapComparer.java 19 import android.renderscript.Allocation;
42 public boolean verifySameRS(Resources resources, Allocation ideal,
43 Allocation given, int offset, int stride, int width, int height,
  /frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
ScriptIntrinsicBlend.java 22 * {@link android.support.v8.renderscript.Allocation} objects.
48 private void blend(int id, Allocation ain, Allocation aout) {
64 public void forEachClear(Allocation ain, Allocation aout) {
84 public void forEachSrc(Allocation ain, Allocation aout) {
105 public void forEachDst(Allocation ain, Allocation aout) {
124 public void forEachSrcOver(Allocation ain, Allocation aout)
    [all...]
  /frameworks/rs/
rsFBOCache.h 26 class Allocation;
36 void bindColorTarget(Context *rsc, Allocation *a, uint32_t slot);
37 void bindDepthTarget(Context *, Allocation *a);
47 Allocation **colorTargets;
49 Allocation *depthTarget;
56 ObjectBaseRef<Allocation> *mColorTargets;
57 ObjectBaseRef<Allocation> mDepthTarget;
rsGrallocConsumer.h 33 class Allocation;
47 GrallocConsumer(Allocation *, const sp<IGraphicBufferConsumer>& bq, int flags);
55 Allocation *mAlloc;
  /prebuilts/ndk/9/platforms/android-19/arch-arm/usr/include/rs/
rsFBOCache.h 26 class Allocation;
36 void bindColorTarget(Context *rsc, Allocation *a, uint32_t slot);
37 void bindDepthTarget(Context *, Allocation *a);
47 Allocation **colorTargets;
49 Allocation *depthTarget;
56 ObjectBaseRef<Allocation> *mColorTargets;
57 ObjectBaseRef<Allocation> mDepthTarget;
rsGrallocConsumer.h 33 class Allocation;
47 GrallocConsumer(Allocation *, const sp<IGraphicBufferConsumer>& bq);
55 Allocation *mAlloc;
  /prebuilts/ndk/9/platforms/android-19/arch-mips/usr/include/rs/
rsFBOCache.h 26 class Allocation;
36 void bindColorTarget(Context *rsc, Allocation *a, uint32_t slot);
37 void bindDepthTarget(Context *, Allocation *a);
47 Allocation **colorTargets;
49 Allocation *depthTarget;
56 ObjectBaseRef<Allocation> *mColorTargets;
57 ObjectBaseRef<Allocation> mDepthTarget;
rsGrallocConsumer.h 33 class Allocation;
47 GrallocConsumer(Allocation *, const sp<IGraphicBufferConsumer>& bq);
55 Allocation *mAlloc;
  /prebuilts/ndk/9/platforms/android-19/arch-x86/usr/include/rs/
rsFBOCache.h 26 class Allocation;
36 void bindColorTarget(Context *rsc, Allocation *a, uint32_t slot);
37 void bindDepthTarget(Context *, Allocation *a);
47 Allocation **colorTargets;
49 Allocation *depthTarget;
56 ObjectBaseRef<Allocation> *mColorTargets;
57 ObjectBaseRef<Allocation> mDepthTarget;
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
ClearObjectTest.java 19 import android.renderscript.Allocation;
42 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException {
64 Allocation mIn = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum);
65 Allocation mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum);
80 Allocation mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum);
81 Allocation mIn = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum)
98 Allocation allocation = Allocation.createTyped(mRS, mIn.getType()); local
    [all...]
AllocationResize.java 20 import android.renderscript.Allocation;
26 private Allocation mIn;
27 private Allocation mOut;
31 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException {
41 mIn = Allocation.createSized(mRS, Element.I32(mRS), INPUTSIZE/2);
42 mOut = Allocation.createSized(mRS, Element.I32(mRS), INPUTSIZE*2);
InitTest.java 19 import android.renderscript.Allocation;
24 private Allocation mIn;
25 private Allocation mOut;
29 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException {
38 mIn = Allocation.createSized(mRS, Element.F32(mRS), INPUTSIZE);
39 mOut= Allocation.createSized(mRS, Element.F32(mRS), INPUTSIZE);
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
PipelineInterface.java 21 import android.support.v8.renderscript.Allocation;
27 public Allocation getInPixelsAllocation();
28 public Allocation getOutPixelsAllocation();
  /frameworks/rs/cpu_ref/
rsCpuIntrinsic.h 34 const Allocation * ain,
35 Allocation * aout,
41 const Allocation ** ain,
43 Allocation * aout,
52 virtual void preLaunch(uint32_t slot, const Allocation * ain,
53 Allocation * aout, const void * usr,
55 virtual void postLaunch(uint32_t slot, const Allocation * ain,
56 Allocation * aout, const void * usr,
62 virtual void setGlobalBind(uint32_t slot, Allocation *data);
  /frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
UsageIO.java 22 import android.renderscript.Allocation;
34 private Allocation mScratchPixelsAllocation1;
35 private Allocation mScratchPixelsAllocation2;
51 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, connect, Allocation.USAGE_IO_OUTPUT | Allocation.USAGE_SCRIPT);
52 mScratchPixelsAllocation2 = Allocation.createTyped(mRS, connect, Allocation.USAGE_IO_INPUT | Allocation.USAGE_SCRIPT);
  /external/chromium_org/base/memory/
discardable_memory_manager.h 21 // Allocate and acquire a lock that prevents the allocation from being purged
26 // Release a previously acquired lock on the allocation so that it can be
30 // Explicitly purge this allocation. It is illegal to call this while a lock
31 // is acquired on the allocation.
59 // of all allocation instances (in case they need to be purged), and the total
64 typedef DiscardableMemoryManagerAllocation Allocation;
92 // Adds the given allocation to the manager's collection.
93 void Register(Allocation* allocation, size_t bytes);
95 // Removes the given allocation from the manager's collection
    [all...]
  /developers/build/prebuilts/gradle/HdrViewfinder/Application/src/main/java/com/example/android/hdrviewfinder/
ViewfinderProcessor.java 22 import android.renderscript.Allocation;
34 private Allocation mInputHdrAllocation;
35 private Allocation mInputNormalAllocation;
36 private Allocation mPrevAllocation;
37 private Allocation mOutputAllocation;
62 mInputHdrAllocation = Allocation.createTyped(rs, yuvTypeBuilder.create(),
63 Allocation.USAGE_IO_INPUT | Allocation.USAGE_SCRIPT);
64 mInputNormalAllocation = Allocation.createTyped(rs, yuvTypeBuilder.create(),
65 Allocation.USAGE_IO_INPUT | Allocation.USAGE_SCRIPT)
    [all...]
  /developers/samples/android/media/HdrViewfinder/Application/src/main/java/com/example/android/hdrviewfinder/
ViewfinderProcessor.java 22 import android.renderscript.Allocation;
34 private Allocation mInputHdrAllocation;
35 private Allocation mInputNormalAllocation;
36 private Allocation mPrevAllocation;
37 private Allocation mOutputAllocation;
62 mInputHdrAllocation = Allocation.createTyped(rs, yuvTypeBuilder.create(),
63 Allocation.USAGE_IO_INPUT | Allocation.USAGE_SCRIPT);
64 mInputNormalAllocation = Allocation.createTyped(rs, yuvTypeBuilder.create(),
65 Allocation.USAGE_IO_INPUT | Allocation.USAGE_SCRIPT)
    [all...]
  /development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/
ViewfinderProcessor.java 22 import android.renderscript.Allocation;
34 private Allocation mInputHdrAllocation;
35 private Allocation mInputNormalAllocation;
36 private Allocation mPrevAllocation;
37 private Allocation mOutputAllocation;
62 mInputHdrAllocation = Allocation.createTyped(rs, yuvTypeBuilder.create(),
63 Allocation.USAGE_IO_INPUT | Allocation.USAGE_SCRIPT);
64 mInputNormalAllocation = Allocation.createTyped(rs, yuvTypeBuilder.create(),
65 Allocation.USAGE_IO_INPUT | Allocation.USAGE_SCRIPT)
    [all...]
  /development/samples/RenderScript/HelloCompute/src/com/example/android/rs/hellocompute/
HelloCompute.java 24 import android.renderscript.Allocation;
32 private Allocation mInAllocation;
33 private Allocation mOutAllocation;
58 mInAllocation = Allocation.createFromBitmap(mRS, mBitmapIn,
59 Allocation.MipmapControl.MIPMAP_NONE,
60 Allocation.USAGE_SCRIPT);
61 mOutAllocation = Allocation.createFromBitmap(mRS, mBitmapOut,
62 Allocation.MipmapControl.MIPMAP_NONE,
63 Allocation.USAGE_SCRIPT);
  /cts/tests/tests/rscpp/src/android/cts/rscpp/
RSBlurTest.java 46 Allocation rsInput = Allocation.createTyped(mRS, build.create());
47 Allocation rsOutput = Allocation.createTyped(mRS, build.create());
57 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create());
75 Allocation rsInput = Allocation.createTyped(mRS, build.create());
76 Allocation rsOutput = Allocation.createTyped(mRS, build.create())
    [all...]

Completed in 1058 milliseconds

1 2 3 4 5 6 7 8 91011>>