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

1 2 3 4 5 6 78 91011>>

  /cts/tests/tests/renderscript/src/android/renderscript/cts/
RsUnpackColor8888Test.java 19 import android.renderscript.Allocation;
29 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException {
35 Allocation mAllocationIn = Allocation.createSized(mRS, Element.U8_4(mRS), INPUTSIZE);
36 Allocation mAllocationOut = Allocation.createSized(mRS, Element.F32_4(mRS), INPUTSIZE);
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...]
  /frameworks/rs/java/tests/Refocus/src/com/android/rs/test/f32/
ImageBuffersForRenderScriptF32.java 4 import android.support.v8.renderscript.Allocation;
27 public Allocation sharpImageAllocation;
28 public Allocation fuzzyImageAllocation;
29 public Allocation integralImageAllocation;
45 sharpImageAllocation = Allocation.createSized(
49 fuzzyImageAllocation = Allocation.createSized(
53 integralImageAllocation = Allocation.createSized(renderScript,
  /frameworks/rs/java/tests/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...]
  /frameworks/rs/
rsClosure.h 11 class Allocation;
24 Allocation* returnValue,
28 const int* sizes, // size for data type. -1 indicates an allocation.
38 const int* sizes); // size for data type. -1 indicates an allocation.
47 // The special value -1 for the size indicates the value is an Allocation.
66 // A global could be allocation or any primitive data type.
69 Allocation* mReturnValue;
rsMesh.h 43 // Position, normal, texcoord, etc could either be strided in one allocation
45 Allocation **vertexBuffers;
49 Allocation **indexBuffers;
67 void setVertexBuffer(Allocation *vb, uint32_t index) {
72 void setPrimitive(Allocation *idx, RsPrimitive prim, uint32_t index) {
88 ObjectBaseRef<Allocation> *mVertexBuffers;
89 ObjectBaseRef<Allocation> *mIndexBuffers;
rsMesh.cpp 45 mHal.state.indexBuffers = new Allocation *[mHal.state.indexBuffersCount];
53 mHal.state.vertexBuffers = new Allocation *[mHal.state.vertexBuffersCount];
58 mVertexBuffers = new ObjectBaseRef<Allocation>[mHal.state.vertexBuffersCount];
59 mIndexBuffers = new ObjectBaseRef<Allocation>[mHal.state.primitivesCount];
117 ObjectBaseRef<Allocation> *vertexBuffers = nullptr;
119 vertexBuffers = new ObjectBaseRef<Allocation>[vertexBuffersCount];
122 Allocation *vertexAlloc = Allocation::createFromStream(rsc, stream);
128 ObjectBaseRef<Allocation> *indexBuffers = nullptr;
131 indexBuffers = new ObjectBaseRef<Allocation>[primitivesCount]
    [all...]
  /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...]
ScriptIntrinsicBLAS.java 34 private Allocation mLUT;
275 static void validateGEMV(Element e, int TransA, Allocation A, Allocation X, int incX, Allocation Y, int incY) {
313 * @param A The input allocation contains matrix A, supported elements type {@link Element#F32}.
314 * @param X The input allocation contains vector x, supported elements type {@link Element#F32}.
317 * @param Y The input allocation contains vector y, supported elements type {@link Element#F32}.
320 public void SGEMV(@Transpose int TransA, float alpha, Allocation A, Allocation X, int incX, float beta, Allocation Y, int incY)
    [all...]
  /external/parameter-framework/asio-1.10.6/include/asio/
handler_alloc_hook.hpp 22 /// Default allocation function for handlers.
29 * handlers to provide custom allocation for these temporary objects.
31 * The default implementation of these allocation hooks uses <tt>::operator
60 * handlers to provide custom allocation for the associated temporary objects.
62 * The default implementation of these allocation hooks uses <tt>::operator
  /cts/tests/tests/renderscript/src/android/renderscript/cts/generated/
TestMix.java 21 import android.renderscript.Allocation;
48 Allocation inStart = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x471d6db1l, false);
49 Allocation inStop = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xb4422e8fl, false);
50 Allocation inFraction = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xc6a51d9fl, false);
52 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
61 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
71 private void verifyResultsMixFloatFloatFloatFloat(Allocation inStart, Allocation inStop, Allocation inFraction, Allocation out, boolean relaxed)
    [all...]
TestFract.java 21 import android.renderscript.Allocation;
47 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x3c675d27l, false);
49 Allocation outFloor = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
50 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
58 Allocation outFloor = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
59 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE)
    [all...]
TestCross.java 21 import android.renderscript.Allocation;
47 Allocation inLeftVector = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 3, 0x382f1ad4l, false);
48 Allocation inRightVector = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 3, 0xde024b21l, false);
50 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE);
58 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE);
67 private void verifyResultsCrossFloat3Float3Float3(Allocation inLeftVector, Allocation inRightVector, Allocation out, boolean relaxed)
    [all...]
TestFastDistance.java 21 import android.renderscript.Allocation;
47 Allocation inLeftVector = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xb9b28b1al, false);
48 Allocation inRightVector = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x9f1626e3l, false);
50 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
58 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
67 private void verifyResultsFastDistanceFloatFloatFloat(Allocation inLeftVector, Allocation inRightVector, Allocation out, boolean relaxed)
    [all...]
TestNativeRootn.java 21 import android.renderscript.Allocation;
47 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x237ac0f1l, false);
48 Allocation inN = createRandomAllocation(mRS, Element.DataType.SIGNED_32, 1, 0x237ac0e9l, false);
50 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
58 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
67 private void verifyResultsNativeRootnFloatIntFloat(Allocation inV, Allocation inN, Allocation out, boolean relaxed)
    [all...]
TestNextafter.java 21 import android.renderscript.Allocation;
47 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xad412956l, false);
48 Allocation inTarget = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xafd7c03dl, false);
50 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
58 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
67 private void verifyResultsNextafterFloatFloatFloat(Allocation inV, Allocation inTarget, Allocation out, boolean relaxed)
    [all...]
TestRootn.java 21 import android.renderscript.Allocation;
47 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x4daae0ccl, false);
48 Allocation inN = createRandomAllocation(mRS, Element.DataType.SIGNED_32, 1, 0x4daae0c4l, false);
50 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
58 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
67 private void verifyResultsRootnFloatIntFloat(Allocation inV, Allocation inN, Allocation out, boolean relaxed)
    [all...]
TestAcos.java 21 import android.renderscript.Allocation;
46 Allocation inV = createRandomFloatAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xd1cc3bdfl, -1, 1);
48 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);
63 private void verifyResultsAcosFloatFloat(Allocation inV, Allocation out, boolean relaxed) {
115 Allocation inV = createRandomFloatAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x1096ae8bl, -1, 1);
117 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE)
    [all...]
TestAcosh.java 21 import android.renderscript.Allocation;
46 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xcf303663l, false);
48 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);
63 private void verifyResultsAcoshFloatFloat(Allocation inV, Allocation out, boolean relaxed) {
115 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x37b311efl, false);
117 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE)
    [all...]
  /prebuilts/sdk/renderscript/lib/
javalib.jar 
  /frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
ScriptIntrinsicBLAS.java 34 private Allocation mLUT;
282 static void validateGEMV(Element e, int TransA, Allocation A, Allocation X, int incX, Allocation Y, int incY) {
320 * @param A The input allocation contains matrix A, supported elements type {@link Element#F32}.
321 * @param X The input allocation contains vector x, supported elements type {@link Element#F32}.
324 * @param Y The input allocation contains vector y, supported elements type {@link Element#F32}.
327 public void SGEMV(@Transpose int TransA, float alpha, Allocation A, Allocation X, int incX, float beta, Allocation Y, int incY)
    [all...]
  /cts/tests/tests/rscpp/librscpptest/
rs_jni_allocation.cpp 48 Allocation::createTyped(rs, typeBuilder.create());
119 createTypedHelper(rs, Element::ALLOCATION(rs));
134 * Test copyTo and copyFrom for all or part of a 1D Allocation.
137 * @param cellCount Total number of elements in this Allocation.
138 * @param offset Offset of this Allocation for copy.
140 * @param copyRange Copy the entire allocation or part of it (using different API).
151 sp<Allocation> alloc = nullptr;
157 alloc = Allocation::createSized(rs, makeElement(rs, dt, 3), cellCount);
160 alloc = Allocation::createSized(rs, makeElement(rs, dt, 1), cellCount);
190 //Corresponding 1D allocation to allocation copy
    [all...]
  /ndk/docs/Additional_library_docs/renderscript/
classandroid_1_1RSC_1_1Allocation.html 6 <title>android::RSC::Allocation Class Reference</title>
28 <li class="navelem"><a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> </li>
37 <div class="title">android::RSC::Allocation Class Reference</div> </div>
40 <!-- doxytag: class="android::RSC::Allocation" --><!-- doxytag: inherits="android::RSC::BaseObj" -->
43 Inheritance diagram for android::RSC::Allocation:</div>
58 <tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Allocation.html#a46890b1ca1cbb54c39b0958d515c782f">copy1DRangeFrom</a> (uint32_t off, size_t count, sp&lt; const <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> &gt; data, uint32_t dataOff)</td></tr>
64 <tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Allocation.html#a4cfe1bb1dac8dfde86f542f97e6d2e67">copy2DRangeFrom</a> (uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, sp&lt; const <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> &gt; data, uint32_t dataXoff, uint32_t dataYoff)</td></tr>
70 <tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Allocation.html#acfc9d84ddfbbc02bdba706a1b63afd6b">copy3DRangeFrom</a> (uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w, uint32_t h, uint32_t d, sp&lt; const <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> &gt; data, uint32_t dataXoff, uint32_t dataYoff, uint32_t dataZoff)</td></tr>
73 <tr><td class="memItemLeft" align="right" valign="top">static sp&lt; <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Allocation.html#a983b914efa208763b4b58db62586f138">createTyped</a> (sp&lt; <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> &gt; rs, sp&lt; const <a class="el" href="classandroid_1_1RSC_1_1Type.html">Type</a> &gt; type, RsAllocationMipmapControl mipmaps, uint32_t usage)</td></tr>
74 <tr><td class="memItemLeft" align="right" valign="top">static sp&lt; <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RS (…)
    [all...]

Completed in 308 milliseconds

1 2 3 4 5 6 78 91011>>