HomeSort by relevance Sort by last modified time
    Searched full:allocation (Results 226 - 250 of 5756) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/rs/java/android/renderscript/
ScriptIntrinsicLUT.java 27 private Allocation mTables;
33 mTables = Allocation.createSized(rs, Element.U8(rs), 1024);
121 * @param ain Input allocation
122 * @param aout Output allocation
124 public void forEach(Allocation ain, Allocation aout) {
132 * @param ain Input allocation
133 * @param aout Output allocation
136 public void forEach(Allocation ain, Allocation aout, Script.LaunchOptions opt)
    [all...]
  /frameworks/rs/cpu_ref/
rsCpuIntrinsic.cpp 62 void RsdCpuScriptIntrinsic::setGlobalBind(uint32_t slot, Allocation *data) {
76 void RsdCpuScriptIntrinsic::preLaunch(uint32_t slot, const Allocation * ain,
77 Allocation * aout, const void * usr,
81 void RsdCpuScriptIntrinsic::postLaunch(uint32_t slot, const Allocation * ain,
82 Allocation * aout, const void * usr,
87 const Allocation * ain,
88 Allocation * aout,
111 const Allocation ** ains,
113 Allocation * aout,
121 * all of the input allocation pointers
    [all...]
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
AllocationCopy2DRangeTest.java 19 import android.renderscript.Allocation;
25 private Allocation mInAllocation;
26 private Allocation mOutAllocation;
45 mInAllocation = Allocation.createTyped(mRS, typeBuilder.create());
46 mOutAllocation = Allocation.createTyped(mRS, mInAllocation.getType());
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);
65 mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum);
85 mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum);
105 mItem.allocation = allocation
    [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);
64 mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum);
84 mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum);
103 mItem.allocation = allocation
    [all...]
TestCross.java 21 import android.renderscript.Allocation;
44 Allocation inLhs = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 3, 0xdec3726a2995edb5l, false);
45 Allocation inRhs = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 3, 0xdec3726a2996190bl, false);
47 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE);
55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE);
64 private void verifyResultsCrossFloat3Float3Float3(Allocation inLhs, Allocation inRhs, Allocation out, boolean relaxed)
    [all...]
TestAtan2.java 21 import android.renderscript.Allocation;
44 Allocation inY = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x8f58f1f953c03c32l, false);
45 Allocation inX = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x8f58f1f953c03c31l, false);
47 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
64 private void verifyResultsAtan2FloatFloatFloat(Allocation inY, Allocation inX, Allocation out, boolean relaxed)
    [all...]
TestAtan2pi.java 21 import android.renderscript.Allocation;
44 Allocation inY = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x5a912731bef85233l, false);
45 Allocation inX = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x5a912731bef85232l, false);
47 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
64 private void verifyResultsAtan2piFloatFloatFloat(Allocation inY, Allocation inX, Allocation out, boolean relaxed)
    [all...]
TestCopysign.java 21 import android.renderscript.Allocation;
44 Allocation inX = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xeebba96e8c48145l, false);
45 Allocation inY = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xeebba96e8c48146l, false);
47 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
64 private void verifyResultsCopysignFloatFloatFloat(Allocation inX, Allocation inY, Allocation out, boolean relaxed)
    [all...]
TestDistance.java 21 import android.renderscript.Allocation;
44 Allocation inLhs = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xf62f685ebafc5b67l, false);
45 Allocation inRhs = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xf62f685ebafc86bdl, false);
47 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
64 private void verifyResultsDistanceFloatFloatFloat(Allocation inLhs, Allocation inRhs, Allocation out, boolean relaxed)
    [all...]
TestDot.java 21 import android.renderscript.Allocation;
44 Allocation inLhs = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x93a0502d7b6ecc43l, false);
45 Allocation inRhs = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x93a0502d7b6ef799l, false);
47 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
64 private void verifyResultsDotFloatFloatFloat(Allocation inLhs, Allocation inRhs, Allocation out, boolean relaxed)
    [all...]
TestFastDistance.java 21 import android.renderscript.Allocation;
44 Allocation inLhs = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xfe7e5e843bff0cb7l, false);
45 Allocation inRhs = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xfe7e5e843bff380dl, false);
47 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
64 private void verifyResultsFastDistanceFloatFloatFloat(Allocation inLhs, Allocation inRhs, Allocation out, boolean relaxed)
    [all...]
TestFdim.java 21 import android.renderscript.Allocation;
44 Allocation inA = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xf5dd38fbc3a47366l, false);
45 Allocation inB = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xf5dd38fbc3a47367l, false);
47 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
64 private void verifyResultsFdimFloatFloatFloat(Allocation inA, Allocation inB, Allocation out, boolean relaxed)
    [all...]
TestFmod.java 21 import android.renderscript.Allocation;
44 Allocation inX = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x51ab5ae4481379a7l, false);
45 Allocation inY = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x51ab5ae4481379a8l, false);
47 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
64 private void verifyResultsFmodFloatFloatFloat(Allocation inX, Allocation inY, Allocation out, boolean relaxed)
    [all...]
TestHypot.java 21 import android.renderscript.Allocation;
44 Allocation inX = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x7deb65e7738c74dbl, false);
45 Allocation inY = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x7deb65e7738c74dcl, false);
47 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
64 private void verifyResultsHypotFloatFloatFloat(Allocation inX, Allocation inY, Allocation out, boolean relaxed)
    [all...]
TestNativeAtan2.java 21 import android.renderscript.Allocation;
44 Allocation inY = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x4ecf7d3b9e2a276fl, false);
45 Allocation inX = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x4ecf7d3b9e2a276el, false);
47 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
64 private void verifyResultsNativeAtan2FloatFloatFloat(Allocation inY, Allocation inX, Allocation out, boolean relaxed)
    [all...]
TestNativeAtan2pi.java 21 import android.renderscript.Allocation;
44 Allocation inY = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x39c4f8fd35fc5dc8l, false);
45 Allocation inX = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x39c4f8fd35fc5dc7l, false);
47 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
64 private void verifyResultsNativeAtan2piFloatFloatFloat(Allocation inY, Allocation inX, Allocation out, boolean relaxed)
    [all...]
TestNativeDistance.java 21 import android.renderscript.Allocation;
44 Allocation inLhs = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xe0fd4252f8556ff6l, false);
45 Allocation inRhs = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xe0fd4252f8559b4cl, false);
47 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
64 private void verifyResultsNativeDistanceFloatFloatFloat(Allocation inLhs, Allocation inRhs, Allocation out, boolean relaxed)
    [all...]
  /frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
Transform.java 55 Allocation childRSData = Allocation.createSized(rs, Element.ALLOCATION(rs),
59 Allocation[] childrenAllocs = new Allocation[mChildren.size()];
  /frameworks/rs/
rsPath.cpp 28 Allocation *vtx, Allocation *loops, float quality)
51 void Path::rasterize(const BezierSegment_t *s, uint32_t num, Allocation *alloc) {
75 return new Path(rsc, pp, isStatic, (Allocation *)vtx, (Allocation *)loops, quality);
  /packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis4/
Visualization4RS.java 62 private Allocation[] mTextures;
110 mTextures = new Allocation[6];
111 mTextures[0] = Allocation.createFromBitmapResource(mRS, mResources, R.drawable.background,
112 Allocation.MipmapControl.MIPMAP_NONE,
113 Allocation.USAGE_GRAPHICS_TEXTURE);
115 mTextures[1] = Allocation.createFromBitmapResource(mRS, mResources, R.drawable.frame,
116 Allocation.MipmapControl.MIPMAP_NONE,
117 Allocation.USAGE_GRAPHICS_TEXTURE);
119 mTextures[2] = Allocation.createFromBitmapResource(mRS, mResources, R.drawable.peak_on,
120 Allocation.MipmapControl.MIPMAP_NONE
    [all...]
  /frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/
FBOTestRS.java 54 private Allocation mGridImage;
55 private Allocation mOffscreen;
56 private Allocation mOffscreenDepth;
57 private Allocation mAllocPV;
60 private Allocation mTextAlloc;
117 mGridImage = Allocation.createFromBitmapResource(mRS, mRes, R.drawable.robot,
118 Allocation.MipmapControl.MIPMAP_ON_SYNC_TO_TEXTURE,
119 Allocation.USAGE_GRAPHICS_TEXTURE);
125 mTextAlloc = Allocation.createFromString(mRS, allocString, Allocation.USAGE_SCRIPT)
    [all...]
  /cts/tests/tests/rscpp/librscpptest/
rs_jni.cpp 92 sp<Allocation> inputAlloc = Allocation::createSized2D(rs, e, X, Y);
93 sp<Allocation> outputAlloc = Allocation::createSized2D(rs, e, X, Y);
128 sp<Allocation> inputAlloc = Allocation::createSized2D(rs, e, X, Y);
129 sp<Allocation> outputAlloc = Allocation::createSized2D(rs, e, X, Y);
173 sp<Allocation> inputAlloc = Allocation::createSized2D(rs, e, X, Y)
    [all...]
  /external/chromium_org/third_party/tcmalloc/chromium/src/
sampler.h 50 // Sampler to decide when to create a sample trace for an allocation
56 // the probability of sampling a 4K allocation is about 0.00778
57 // the probability of sampling a 1MB allocation is about 0.865
58 // the probability of sampling a 1GB allocation is about 1.00000
59 // In general, the probablity of sampling is an allocation of size X
64 // the probability of sampling a 1MB allocation is about 0.99966
65 // the probability of sampling a 1GB allocation is about 1.0
68 // the probability of sampling a 4K allocation is about 0.00390
69 // the probability of sampling a 1MB allocation is about 0.632
70 // the probability of sampling a 1GB allocation is about 1.
    [all...]
  /external/chromium_org/third_party/tcmalloc/vendor/src/
sampler.h 50 // Sampler to decide when to create a sample trace for an allocation
56 // the probability of sampling a 4K allocation is about 0.00778
57 // the probability of sampling a 1MB allocation is about 0.865
58 // the probability of sampling a 1GB allocation is about 1.00000
59 // In general, the probablity of sampling is an allocation of size X
64 // the probability of sampling a 1MB allocation is about 0.99966
65 // the probability of sampling a 1GB allocation is about 1.0
68 // the probability of sampling a 4K allocation is about 0.00390
69 // the probability of sampling a 1MB allocation is about 0.632
70 // the probability of sampling a 1GB allocation is about 1.
    [all...]

Completed in 200 milliseconds

1 2 3 4 5 6 7 8 91011>>