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

1 2 3 4 56 7 8 91011>>

  /hardware/interfaces/renderscript/1.0/
IContext.hal 37 * "adapted allocation" that's returned.
39 * Creates an arbitrary window into the base allocation. The type describes
41 * equal to or smaller than the dimensions in the source allocation. A
42 * dimension present in the allocation that is not present in the type must
44 * both the type and allocation, one of two things must happen. If the type
45 * is smaller than the allocation, a window must be created, the selected
48 * If the type and allocation dimension are of the same size, then setting
52 * @param baseAlloc Allocation
56 allocationAdapterCreate(Type type, Allocation baseAlloc)
67 * Sets the offsets for an Allocation Adapter
    [all...]
  /cts/tests/tests/renderscript/src/android/renderscript/cts/generated/
TestClamp.java 21 import android.renderscript.Allocation;
55 Allocation inValue = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x7e886d7cc83c447dl, false);
56 Allocation inMinValue = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xdcebf6f230234027l, false);
57 Allocation inMaxValue = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xdcebf6e6c180322dl, false);
60 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
70 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
84 private void verifyResultsClampFloatFloatFloatFloat(Allocation inValue, Allocation inMinValue, Allocation inMaxValue, Allocation out, boolean relaxed)
    [all...]
TestConvert.java 21 import android.renderscript.Allocation;
53 Allocation inV = createRandomFloatAllocation(mRS, Element.DataType.FLOAT_32, 2, 0xfb5215c44e1f6ac6l, -1.6163412428744576259e+38, 1.6163412428744576259e+38);
55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE);
63 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE);
73 private void verifyResultsConvertFloat2Float2(Allocation inV, Allocation out, boolean relaxed) {
125 Allocation inV = createRandomFloatAllocation(mRS, Element.DataType.FLOAT_32, 3, 0xfb53dedf443a8ba4l, -1.6163412428744576259e+38, 1.6163412428744576259e+38);
127 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE)
    [all...]
TestNativeSincos.java 21 import android.renderscript.Allocation;
54 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xe15df2366436cc13l, false);
56 Allocation outCos = 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 outCos = 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...]
TestSincos.java 21 import android.renderscript.Allocation;
54 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xb8748e13e46c48d4l, false);
56 Allocation outCos = 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 outCos = 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...]
  /cts/tests/tests/renderscriptlegacy/src/android/renderscriptlegacy/cts/
LeakTest.java 20 import android.renderscript.Allocation;
63 Allocation A = Allocation.createTyped(mRS, t);
ScriptC_leak.java 46 private Allocation mExportVar_a;
47 public synchronized void set_a(Allocation v) {
52 public Allocation get_a() {
  /cts/tests/tests/rscpp/src/android/cts/rscpp/
RSConvolveTest.java 57 Allocation rsInput = Allocation.createTyped(mRS, build.create());
58 Allocation rsOutput = Allocation.createTyped(mRS, build.create());
68 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create());
114 Allocation rsInput = Allocation.createTyped(mRS, build.create());
115 Allocation rsOutput = Allocation.createTyped(mRS, build.create())
    [all...]
RSLUTTest.java 46 Allocation rsInput = Allocation.createTyped(mRS, build.create());
47 Allocation rsOutput = Allocation.createTyped(mRS, build.create());
61 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create());
  /frameworks/rs/tests/cpp_api/cppbasic/
compute.cpp 28 sp<Allocation> a1 = Allocation::createSized(rs, e, 1000);
29 printf("Allocation %p\n", a1.get());
31 sp<Allocation> ain = Allocation::createTyped(rs, t);
32 sp<Allocation> aout = Allocation::createTyped(rs, t);
33 printf("Allocation %p %p\n", ain.get(), aout.get());
46 // We read back the status from the script-side via a "failed" allocation.
51 sp<Allocation> failed_alloc = Allocation::createTyped(rs, failed_t)
    [all...]
  /frameworks/rs/tests/cpp_api/cppbasic-shared/
compute.cpp 28 sp<Allocation> a1 = Allocation::createSized(rs, e, 1000);
29 printf("Allocation %p\n", a1.get());
31 sp<Allocation> ain = Allocation::createTyped(rs, t);
32 sp<Allocation> aout = Allocation::createTyped(rs, t);
33 printf("Allocation %p %p\n", ain.get(), aout.get());
46 // We read back the status from the script-side via a "failed" allocation.
51 sp<Allocation> failed_alloc = Allocation::createTyped(rs, failed_t)
    [all...]
  /frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
WhiteBalance.java 21 import android.renderscript.Allocation;
28 private Allocation mSums;
33 mSums = Allocation.createSized(mRS, Element.I32_3(mRS), 256);
  /frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
WhiteBalance.java 20 import android.support.v8.renderscript.Allocation;
27 private Allocation mSums;
32 mSums = Allocation.createSized(mRS, Element.I32_4(mRS), 256);
  /frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
WhiteBalance.java 21 import android.renderscript.Allocation;
28 private Allocation mSums;
33 mSums = Allocation.createSized(mRS, Element.I32_3(mRS), 256);
  /frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
UT_copy_test.java 34 Allocation a1 = Allocation.createSized(rs, Element.F32_2(rs), 1024);
35 Allocation a2 = Allocation.createSized(rs, Element.F32_2(rs), 1024);
58 Allocation a1 = Allocation.createSized(rs, Element.F32_3(rs), 1024);
59 Allocation a2 = Allocation.createSized(rs, Element.F32_3(rs), 1024);
82 Allocation a1 = Allocation.createSized(rs, Element.F32_4(rs), 1024)
    [all...]
  /frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
UT_static_globals.java 20 import android.renderscript.Allocation;
36 Allocation A = Allocation.createTyped(pRS, t);
  /frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
UT_static_globals.java 22 import android.support.v8.renderscript.Allocation;
38 Allocation A = Allocation.createTyped(pRS, t);
  /frameworks/rs/tests/java_api/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/
GoogLeNet.java 27 private ArrayList<Allocation> matA;
28 private ArrayList<Allocation> matB;
29 private ArrayList<Allocation> matC;
149 matA = new ArrayList<Allocation>();
150 matB = new ArrayList<Allocation>();
151 matC = new ArrayList<Allocation>();
186 Allocation A = Allocation.createTyped(mRS, a_type);
187 Allocation B = Allocation.createTyped(mRS, b_type)
    [all...]
  /frameworks/base/rs/java/android/renderscript/
ScriptIntrinsicConvolve3x3.java 20 * Intrinsic for applying a 3x3 convolve to an allocation.
25 private Allocation mInput;
72 * @param ain The input allocation.
74 public void setInput(Allocation ain) {
102 * allocation.
104 * @param aout Output allocation. Must match creation element
107 public void forEach(Allocation aout) {
108 forEach(0, (Allocation) null, aout, null);
113 * allocation.
115 * @param aout Output allocation. Must match creation elemen
    [all...]
ScriptIntrinsicLUT.java 27 private Allocation mTables;
33 mTables = Allocation.createSized(rs, Element.U8(rs), 1024);
125 * @param ain Input allocation
126 * @param aout Output allocation
128 public void forEach(Allocation ain, Allocation aout) {
136 * @param ain Input allocation
137 * @param aout Output allocation
140 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...]
  /frameworks/rs/support/java/src/android/support/v8/renderscript/
ScriptIntrinsicConvolve3x3.java 22 * Intrinsic for applying a 3x3 convolve to an allocation.
27 private Allocation mInput;
81 * @param ain The input allocation.
83 public void setInput(Allocation ain) {
111 * allocation.
113 * @param aout Output allocation. Must match creation element
116 public void forEach(Allocation aout) {
117 forEach(0, (Allocation) null, aout, null);
122 * allocation.
124 * @param aout Output allocation. Must match creation elemen
    [all...]
ScriptIntrinsicConvolve5x5.java 22 * Intrinsic for applying a 5x5 convolve to an allocation.
27 private Allocation mInput;
82 * @param ain The input allocation.
84 public void setInput(Allocation ain) {
114 * allocation.
116 * @param aout Output allocation. Must match creation element
119 public void forEach(Allocation aout) {
120 forEach(0, (Allocation) null, aout, null);
125 * allocation.
127 * @param aout Output allocation. Must match creation elemen
    [all...]
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...]
  /frameworks/rs/cpp/
ScriptIntrinsicBLAS.cpp 23 using android::RSC::Allocation;
183 static void validateGEMV(RS* mRS, const sp<const Element>& e, RsBlasTranspose TransA, const sp<Allocation>& A,
184 const sp<Allocation>& X, int incX, const sp<Allocation>& Y, int incY) {
213 void ScriptIntrinsicBLAS::SGEMV(RsBlasTranspose TransA, float alpha, const sp<Allocation>& A, const sp<Allocation>& X,
214 int incX, float beta, const sp<Allocation>& Y, int incY) {
224 void ScriptIntrinsicBLAS::DGEMV(RsBlasTranspose TransA, double alpha, const sp<Allocation>& A, const sp<Allocation>& X,
225 int incX, double beta, const sp<Allocation>& Y, int incY)
    [all...]

Completed in 510 milliseconds

1 2 3 4 56 7 8 91011>>