HomeSort by relevance Sort by last modified time
    Searched full:allocation (Results 176 - 200 of 7203) sorted by null

1 2 3 4 5 6 78 91011>>

  /cts/tests/tests/renderscript/src/android/renderscript/cts/generated/
TestFmin.java 21 import android.renderscript.Allocation;
54 Allocation inA = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x7b46a8451d7b1058l, false);
55 Allocation inB = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x7b46a8451d7b1059l, 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 verifyResultsFminFloatFloatFloat(Allocation inA, Allocation inB, Allocation out, boolean relaxed)
    [all...]
TestStep.java 21 import android.renderscript.Allocation;
54 Allocation inEdge = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x598900c49184fbfel, false);
55 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x9aefccaa832f44e9l, 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 verifyResultsStepFloatFloatFloat(Allocation inEdge, Allocation inV, Allocation out, boolean relaxed)
    [all...]
TestFma.java 21 import android.renderscript.Allocation;
55 Allocation inMultiplicand1 = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x716293a685c419bel, false);
56 Allocation inMultiplicand2 = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x716293a685c419bfl, false);
57 Allocation inOffset = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x4a235a109d441b0el, 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 verifyResultsFmaFloatFloatFloatFloat(Allocation inMultiplicand1, Allocation inMultiplicand2, Allocation inOffset, Allocation out, boolean relaxed)
    [all...]
TestMad.java 21 import android.renderscript.Allocation;
55 Allocation inMultiplicand1 = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x2a4461e340b4de48l, false);
56 Allocation inMultiplicand2 = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x2a4461e340b4de49l, false);
57 Allocation inOffset = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xcea3b86dc50ce0fcl, 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 verifyResultsMadFloatFloatFloatFloat(Allocation inMultiplicand1, Allocation inMultiplicand2, Allocation inOffset, Allocation out, boolean relaxed)
    [all...]
TestClz.java 21 import android.renderscript.Allocation;
53 Allocation inValue = createRandomAllocation(mRS, Element.DataType.SIGNED_8, 1, 0xf6f3a15e2f7765afl, false);
55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_8, 1), INPUTSIZE);
63 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_8, 1), INPUTSIZE);
73 private void verifyResultsClzCharChar(Allocation inValue, Allocation out, boolean relaxed) {
124 Allocation inValue = createRandomAllocation(mRS, Element.DataType.SIGNED_8, 2, 0xf718b99dcaca5e93l, false);
126 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_8, 2), INPUTSIZE)
    [all...]
TestFastLength.java 21 import android.renderscript.Allocation;
53 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xebac65aea2660e8fl, 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 verifyResultsFastLengthFloatFloat(Allocation inV, Allocation out, boolean relaxed) {
127 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x95f43650f85e6cadl, false);
129 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE)
    [all...]
TestHalfRecip.java 21 import android.renderscript.Allocation;
53 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x854e263130d5b3dl, 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 verifyResultsHalfRecipFloatFloat(Allocation inV, Allocation out, boolean relaxed) {
125 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x2cf1d2db5ff23c79l, false);
127 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE)
    [all...]
TestHalfRsqrt.java 21 import android.renderscript.Allocation;
53 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xad5e977ec00f0bf2l, 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 verifyResultsHalfRsqrtFloatFloat(Allocation inV, Allocation out, boolean relaxed) {
125 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x300ee7bff12787c6l, false);
127 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE)
    [all...]
TestHalfSqrt.java 21 import android.renderscript.Allocation;
53 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x8be766c7a15db5fal, 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 verifyResultsHalfSqrtFloatFloat(Allocation inV, Allocation out, boolean relaxed) {
125 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x7a300d2342519b8el, false);
127 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE)
    [all...]
TestIlogb.java 21 import android.renderscript.Allocation;
53 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x6103ca4b5664967bl, false);
55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_32, 1), INPUTSIZE);
63 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_32, 1), INPUTSIZE);
73 private void verifyResultsIlogbFloatInt(Allocation inV, Allocation out, boolean relaxed) {
117 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0xb460143cb6f32a61l, false);
119 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_32, 2), INPUTSIZE)
    [all...]
TestAbs.java 21 import android.renderscript.Allocation;
53 Allocation inV = createRandomAllocation(mRS, Element.DataType.SIGNED_8, 1, 0x79257810f7393ea6l, false);
55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.UNSIGNED_8, 1), INPUTSIZE);
63 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.UNSIGNED_8, 1), INPUTSIZE);
73 private void verifyResultsAbsCharUchar(Allocation inV, Allocation out, boolean relaxed) {
124 Allocation inV = createRandomAllocation(mRS, Element.DataType.SIGNED_8, 2, 0xff611dd40e5e407cl, false);
126 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.UNSIGNED_8, 2), INPUTSIZE)
    [all...]
TestLdexp.java 21 import android.renderscript.Allocation;
54 Allocation inMantissa = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xdffd225490f0e26fl, false);
55 Allocation inExponent = createRandomAllocation(mRS, Element.DataType.SIGNED_32, 1, 0xdffd207c2e4133c4l, 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 verifyResultsLdexpFloatIntFloat(Allocation inMantissa, Allocation inExponent, Allocation out, boolean relaxed)
    [all...]
  /frameworks/rs/tests/java_api/RSTest_CompatLib/src/com/android/rs/test/
UT_alloc_copy.java 28 super(rstc, "Allocation CopyTo", ctx);
68 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create());
78 android.util.Log.v("Allocation CopyTo Test", "Failed: " + i + " " + inArray[i] + " " + outArray[i]);
85 android.util.Log.v("Allocation CopyTo Test", "Failed: " + i + " " + inArray[i] + " " + outArray[i]);
90 android.util.Log.v("Allocation CopyTo Test", "copy1DRangeTo_Byte TEST PASSED");
110 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create());
120 android.util.Log.v("Allocation CopyTo Test", "Failed: " + i + " " + inArray[i] + " " + outArray[i]);
127 android.util.Log.v("Allocation CopyTo Test", "Failed: " + i + " " + inArray[i] + " " + outArray[i])
    [all...]
UT_instance.java 49 Allocation ai1 = Allocation.createTyped(mRS, t);
50 Allocation ai2 = Allocation.createTyped(mRS, t);
51 Allocation ai3 = Allocation.createTyped(mRS, t);
52 Allocation ai4 = Allocation.createTyped(mRS, t);
53 Allocation ai5 = Allocation.createTyped(mRS, t)
    [all...]
  /frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
UT_alloc_copy.java 28 super(rstc, "Allocation CopyTo", ctx);
68 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create());
78 android.util.Log.v("Allocation CopyTo Test", "Failed: " + i + " " + inArray[i] + " " + outArray[i]);
85 android.util.Log.v("Allocation CopyTo Test", "Failed: " + i + " " + inArray[i] + " " + outArray[i]);
90 android.util.Log.v("Allocation CopyTo Test", "copy1DRangeTo_Byte TEST PASSED");
110 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create());
120 android.util.Log.v("Allocation CopyTo Test", "Failed: " + i + " " + inArray[i] + " " + outArray[i]);
127 android.util.Log.v("Allocation CopyTo Test", "Failed: " + i + " " + inArray[i] + " " + outArray[i])
    [all...]
UT_instance.java 49 Allocation ai1 = Allocation.createTyped(mRS, t);
50 Allocation ai2 = Allocation.createTyped(mRS, t);
51 Allocation ai3 = Allocation.createTyped(mRS, t);
52 Allocation ai4 = Allocation.createTyped(mRS, t);
53 Allocation ai5 = Allocation.createTyped(mRS, t)
    [all...]
  /frameworks/rs/support/java/src/android/support/v8/renderscript/
ScriptIntrinsicBlur.java 25 * specified radius to all elements of an allocation.
31 private Allocation mInput;
40 * Create an intrinsic for applying a blur to an allocation. The
72 * @param ain The input allocation
74 public void setInput(Allocation ain) {
76 throw new RSIllegalArgumentException("Input set to a 1D Allocation");
98 * allocation.
100 * @param aout Output allocation. Must match creation element
103 public void forEach(Allocation aout) {
105 throw new RSIllegalArgumentException("Output is a 1D Allocation");
    [all...]
  /cts/tests/camera/src/android/hardware/camera2/cts/rs/
Script.java 22 import android.renderscript.Allocation;
31 * <p>Each script has exactly one input and one output allocation, and is able to execute
34 * <p>Each script owns it's input allocation, but not the output allocation.</p>
187 protected Allocation mOutputAllocation;
188 protected Allocation mInputAllocation;
225 void setInput(Allocation allocation) {
227 checkNotNull("allocation", allocation);
    [all...]
  /frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
Healing.java 25 import android.renderscript.Allocation;
87 Allocation dest_alloc = Allocation.createFromBitmap(rs, dest_bitmap);
90 Allocation src_alloc = Allocation.createFromBitmap(rs, src_bitmap);
91 Allocation mask_alloc = Allocation.createFromBitmap(rs, mask_bitmap);
130 Allocation dest1 = Allocation.createTyped(rs, floatImage.create());
131 Allocation dest2 = Allocation.createTyped(rs, floatImage.create())
    [all...]
  /hardware/interfaces/renderscript/1.0/default/
Context.cpp 68 Return<Allocation> Context::allocationAdapterCreate(Type type, Allocation baseAlloc) {
72 return rs_to_hidl<Allocation>(_subAlloc);
75 Return<void> Context::allocationAdapterOffset(Allocation alloc, const hidl_vec<uint32_t>& offsets) {
82 Return<Type> Context::allocationGetType(Allocation allocation) {
83 RsAllocation _allocation = hidl_to_rs<RsAllocation>(allocation);
88 Return<Allocation> Context::allocationCreateTyped(Type type, AllocationMipmapControl amips, int32_t usage, Ptr ptr) {
94 return rs_to_hidl<Allocation>(_allocation);
97 Return<Allocation> Context::allocationCreateFromBitmap(Type type, AllocationMipmapControl amips, const hidl_vec<uint (…)
    [all...]
  /frameworks/rs/
rsProgramVertex.cpp 45 "Unable to set fixed function emulation matrices because allocation is missing");
48 float *f = static_cast<float *>(rsc->mHal.funcs.allocation.lock1D(
58 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]);
74 "Unable to set fixed function emulation matrix projection because allocation is missing");
77 float *f = static_cast<float *>(rsc->mHal.funcs.allocation.lock1D(
81 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]);
92 "Unable to set fixed function emulation matrix modelview because allocation is missing");
95 float *f = static_cast<float *>(rsc->mHal.funcs.allocation.lock1D(
99 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]);
110 "Unable to set fixed function emulation matrix texture because allocation is missing")
    [all...]
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
rsAllocationCopyTest.java 19 import android.renderscript.Allocation;
40 Allocation aIn = Allocation.createTyped(mRS, typeBuilder.create());
41 Allocation aOut = Allocation.createTyped(mRS, typeBuilder.create());
87 Allocation aIn = Allocation.createTyped(mRS, typeBuilder.create());
88 Allocation aOut = Allocation.createTyped(mRS, typeBuilder.create());
134 Allocation aIn = Allocation.createTyped(mRS, typeBuilder.create())
    [all...]
IsObjectTest.java 20 import android.renderscript.Allocation;
29 private Allocation mIn;
30 private Allocation mOut;
34 Allocation allocation; field in class:IsObjectTest
47 allocation = Allocation.createTyped(mRS, type);
61 allocation.destroy();
78 mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum);
98 mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum)
    [all...]
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...]
  /cts/tests/tests/rsblas/src/android/renderscript/cts/
IntrinsicBase.java 21 import android.renderscript.Allocation;
29 protected Allocation mAllocSrc;
30 protected Allocation mAllocRef;
31 protected Allocation mAllocDst;

Completed in 1071 milliseconds

1 2 3 4 5 6 78 91011>>