HomeSort by relevance Sort by last modified time
    Searched refs:Allocation (Results 226 - 250 of 837) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /cts/tests/tests/renderscript/src/android/renderscript/cts/
SetObjectTest.java 20 import android.renderscript.Allocation;
28 private Allocation mIn;
29 private Allocation mOut;
33 Allocation allocation; field in class:SetObjectTest
46 allocation = Allocation.createTyped(mRS, type);
62 allocation.destroy();
79 mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum);
99 mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum)
    [all...]
  /hardware/interfaces/renderscript/1.0/default/
Context.h 40 Return<Allocation> allocationAdapterCreate(Type type, Allocation baseAlloc) override;
41 Return<void> allocationAdapterOffset(Allocation alloc, const hidl_vec<uint32_t>& offsets) override;
42 Return<Type> allocationGetType(Allocation allocation) override;
43 Return<Allocation> allocationCreateTyped(Type type, AllocationMipmapControl amips, int32_t usage, Ptr ptr) override;
44 Return<Allocation> allocationCreateFromBitmap(Type type, AllocationMipmapControl amips, const hidl_vec<uint8_t>& bitmap, int32_t usage) override;
45 Return<Allocation> allocationCubeCreateFromBitmap(Type type, AllocationMipmapControl amips, const hidl_vec<uint8_t>& bitmap, int32_t usage) override;
46 Return<NativeWindow> allocationGetNativeWindow(Allocation allocation) override
    [all...]
  /cts/tests/camera/src/android/hardware/camera2/cts/rs/
BitmapUtils.java 20 import android.renderscript.Allocation;
48 Allocation sums = Allocation.createSized(rs, Element.I32_4(rs), COLOR_BIT_DEPTH);
50 // Setup input allocation (ARGB 8888 bitmap).
51 Allocation input = Allocation.createFromBitmap(rs, bmap);
  /frameworks/rs/
rsScriptGroup.h 28 class Allocation;
52 ObjectBaseRef<Allocation> mAlloc;
74 ObjectBaseRef<Allocation> mAlloc;
89 void setInput(Context *rsc, ScriptKernelID *kid, Allocation *a);
90 void setOutput(Context *rsc, ScriptKernelID *kid, Allocation *a);
rsScriptIntrinsic.cpp 37 mSlots = new ObjectBaseRef<Allocation>[2];
60 const Allocation** ains,
62 Allocation* aout,
72 const Allocation ** ains, size_t inLen,
73 Allocation *aout, const RsScriptCall *sc) {
rsRuntime.h 30 void rsrAllocationSyncAll(Context *, Script *, Allocation *);
33 void rsrBindTexture(Context *, ProgramFragment *, uint32_t slot, Allocation *);
34 void rsrBindConstant(Context *, ProgramFragment *, uint32_t slot, Allocation *);
35 void rsrBindConstant(Context *, ProgramVertex*, uint32_t slot, Allocation *);
41 void rsrBindFrameBufferObjectColorTarget(Context *, Allocation *, uint32_t slot);
42 void rsrBindFrameBufferObjectDepthTarget(Context *, Allocation *);
79 void rsrAllocationCopy1DRange(Context *, Allocation *dstAlloc,
83 Allocation *srcAlloc,
85 void rsrAllocationCopy2DRange(Context *, Allocation *dstAlloc,
89 Allocation *srcAlloc
    [all...]
  /frameworks/rs/rsov/tests/RSoVTest/src/com/android/rs/rsov/test/
UT_invert.java 20 import android.renderscript.Allocation;
52 Allocation A = Allocation.createTyped(pRS, typeBuilder.create());
53 Allocation B = Allocation.createTyped(pRS, typeBuilder.create());
UT_modulo.java 20 import android.renderscript.Allocation;
27 private Allocation A;
28 private Allocation B;
41 A = Allocation.createTyped(RS, typeBuilder.create());
42 B = Allocation.createTyped(RS, typeBuilder.create());
  /frameworks/rs/support/java/src/android/support/v8/renderscript/
ScriptIntrinsicResize.java 22 * Intrinsic for performing a resize of a 2D allocation.
25 private Allocation mInput;
60 * @param ain The input allocation.
62 public void setInput(Allocation ain) {
90 * Resize copy the input allocation to the output specified. The
91 * Allocation is rescaled if necessary using bi-cubic
94 * @param aout Output allocation. Element type must match
97 public void forEach_bicubic(Allocation aout) {
105 * Resize copy the input allocation to the output specified. The
106 * Allocation is rescaled if necessary using bi-cubi
    [all...]
  /frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Grain.java 21 import android.renderscript.Allocation;
33 private Allocation mNoise;
34 private Allocation mNoise2;
76 mNoise = Allocation.createTyped(mRS, tb.create());
77 mNoise2 = Allocation.createTyped(mRS, tb.create());
  /frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Blur25G.java 22 import android.renderscript.Allocation;
40 private Allocation mScratchPixelsAllocation1;
41 private Allocation mScratchPixelsAllocation2;
70 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, tb.create());
71 mScratchPixelsAllocation2 = Allocation.createTyped(mRS, tb.create());
Grain.java 21 import android.renderscript.Allocation;
33 private Allocation mNoise;
34 private Allocation mNoise2;
81 mNoise = Allocation.createTyped(mRS, tb.create());
82 mNoise2 = Allocation.createTyped(mRS, tb.create());
  /frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
UT_check_dims.java 22 import android.support.v8.renderscript.Allocation;
30 Allocation mAFailed;
31 Allocation mA;
41 mAFailed = Allocation.createTyped(RS, typeBuilder.create());
52 mA = Allocation.createTyped(RS, typeBuilder.create());
  /cts/tests/tests/renderscript/src/android/renderscript/cts/generated/
TestMix.java 21 import android.renderscript.Allocation;
55 Allocation inStart = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x9f4beff6471d6db1l, false);
56 Allocation inStop = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x6ede0b88b4422e8fl, false);
57 Allocation inFraction = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x6d2f014ec6a51d9fl, false);
59 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
69 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
83 private void verifyResultsMixFloatFloatFloatFloat(Allocation inStart, Allocation inStop, Allocation inFraction, Allocation out, boolean relaxed)
    [all...]
TestFract.java 21 import android.renderscript.Allocation;
54 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x57d8e6573c675d27l, false);
56 Allocation outFloor = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
57 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
67 Allocation outFloor = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
68 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE)
    [all...]
TestCross.java 21 import android.renderscript.Allocation;
54 Allocation inLeftVector = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 3, 0x3505ebf7382f1ad4l, false);
55 Allocation inRightVector = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 3, 0xe9d27bf3de024b21l, false);
57 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE);
66 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE);
78 private void verifyResultsCrossFloat3Float3Float3(Allocation inLeftVector, Allocation inRightVector, Allocation out, boolean relaxed)
    [all...]
TestFastDistance.java 21 import android.renderscript.Allocation;
54 Allocation inLeftVector = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xeb32e5abb9b28b1al, false);
55 Allocation inRightVector = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x83606d459f1626e3l, false);
57 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
66 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
78 private void verifyResultsFastDistanceFloatFloatFloat(Allocation inLeftVector, Allocation inRightVector, Allocation out, boolean relaxed)
    [all...]
TestNativeRootn.java 21 import android.renderscript.Allocation;
54 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x6693fe5c237ac0f1l, false);
55 Allocation inN = createRandomAllocation(mRS, Element.DataType.SIGNED_32, 1, 0x6693fe5c237ac0e9l, false);
57 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
66 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
78 private void verifyResultsNativeRootnFloatIntFloat(Allocation inV, Allocation inN, Allocation out, boolean relaxed)
    [all...]
TestNextafter.java 21 import android.renderscript.Allocation;
54 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xa3b02393ad412956l, false);
55 Allocation inTarget = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xde8acce6afd7c03dl, false);
57 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
66 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
78 private void verifyResultsNextafterFloatFloatFloat(Allocation inV, Allocation inTarget, Allocation out, boolean relaxed)
    [all...]
TestRootn.java 21 import android.renderscript.Allocation;
54 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x37d0d9514daae0ccl, false);
55 Allocation inN = createRandomAllocation(mRS, Element.DataType.SIGNED_32, 1, 0x37d0d9514daae0c4l, false);
57 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
66 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
78 private void verifyResultsRootnFloatIntFloat(Allocation inV, Allocation inN, Allocation out, boolean relaxed)
    [all...]
TestAcos.java 21 import android.renderscript.Allocation;
53 Allocation inV = createRandomFloatAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xf6e893f6d1cc3bdfl, -1, 1);
55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
63 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
73 private void verifyResultsAcosFloatFloat(Allocation inV, Allocation out, boolean relaxed) {
125 Allocation inV = createRandomFloatAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x55af66f81096ae8bl, -1, 1);
127 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE)
    [all...]
TestAcosh.java 21 import android.renderscript.Allocation;
53 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x777ec00cf303663l, false);
55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
63 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
73 private void verifyResultsAcoshFloatFloat(Allocation inV, Allocation out, boolean relaxed) {
125 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0xf102471f37b311efl, false);
127 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE)
    [all...]
TestAcospi.java 21 import android.renderscript.Allocation;
53 Allocation inV = createRandomFloatAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x9fbdc3b5d1e084b2l, -1, 1);
55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
63 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
73 private void verifyResultsAcospiFloatFloat(Allocation inV, Allocation out, boolean relaxed) {
125 Allocation inV = createRandomFloatAllocation(mRS, Element.DataType.FLOAT_32, 2, 0xc175417fa318aa86l, -1, 1);
127 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE)
    [all...]
  /frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
ViewfinderProcessor.java 27 import android.renderscript.Allocation;
48 private Allocation mInputAllocation;
49 private Allocation mOutputAllocation;
50 private Allocation mBlurAllocation;
51 private Allocation mEdgeAllocation;
56 public Allocation mHoughOutput;
57 public Allocation mHoughSlices;
68 mInputAllocation = Allocation.createTyped(rs, yuvTypeBuilder.create(),
69 Allocation.USAGE_IO_INPUT | Allocation.USAGE_SCRIPT)
    [all...]
  /frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
Filters.java 19 import android.renderscript.Allocation;
42 public void forEach(Allocation in, Allocation out);
63 void forEach(Allocation in, Allocation out) { s.forEach_(in, out); }
78 public void forEach(Allocation in, Allocation out) { s_mat.forEach_colormatrix(in, out); }
92 public void forEach(Allocation in, Allocation out) { s.forEach_contrast(in, out); }
106 public void forEach(Allocation in, Allocation out) { s.forEach_exposure(in, out);
    [all...]

Completed in 594 milliseconds

1 2 3 4 5 6 7 8 91011>>