Home
last modified time | relevance | path

Searched refs:Allocation (Results 1 – 25 of 350) sorted by relevance

12345678910>>...14

/frameworks/base/rs/java/android/renderscript/
DScriptIntrinsicBlend.java43 private void blend(int id, Allocation ain, Allocation aout, Script.LaunchOptions opt) { in blend()
59 public void forEachClear(Allocation ain, Allocation aout) { in forEachClear()
70 public void forEachClear(Allocation ain, Allocation aout, Script.LaunchOptions opt) { in forEachClear()
90 public void forEachSrc(Allocation ain, Allocation aout) { in forEachSrc()
101 public void forEachSrc(Allocation ain, Allocation aout, Script.LaunchOptions opt) { in forEachSrc()
122 public void forEachDst(Allocation ain, Allocation aout) { in forEachDst()
135 public void forEachDst(Allocation ain, Allocation aout, Script.LaunchOptions opt) { in forEachDst()
154 public void forEachSrcOver(Allocation ain, Allocation aout) { in forEachSrcOver()
165 public void forEachSrcOver(Allocation ain, Allocation aout, Script.LaunchOptions opt) { in forEachSrcOver()
184 public void forEachDstOver(Allocation ain, Allocation aout) { in forEachDstOver()
[all …]
DScriptIntrinsicBLAS.java34 private Allocation mLUT;
275 …static void validateGEMV(Element e, int TransA, Allocation A, Allocation X, int incX, Allocation Y… in validateGEMV()
320 …oid SGEMV(@Transpose int TransA, float alpha, Allocation A, Allocation X, int incX, float beta, Al… in SGEMV()
342 …id DGEMV(@Transpose int TransA, double alpha, Allocation A, Allocation X, int incX, double beta, A… in DGEMV()
364 …id CGEMV(@Transpose int TransA, Float2 alpha, Allocation A, Allocation X, int incX, Float2 beta, A… in CGEMV()
386 … ZGEMV(@Transpose int TransA, Double2 alpha, Allocation A, Allocation X, int incX, Double2 beta, A… in ZGEMV()
417 …pose int TransA, int KL, int KU, float alpha, Allocation A, Allocation X, int incX, float beta, Al… in SGBMV()
452 …ose int TransA, int KL, int KU, double alpha, Allocation A, Allocation X, int incX, double beta, A… in DGBMV()
487 …ose int TransA, int KL, int KU, Float2 alpha, Allocation A, Allocation X, int incX, Float2 beta, A… in CGBMV()
522 …e int TransA, int KL, int KU, Double2 alpha, Allocation A, Allocation X, int incX, Double2 beta, A… in ZGBMV()
[all …]
/frameworks/rs/cpp/
DrsCppStructs.h47 class Allocation; variable
573 class Allocation : public BaseObj {
577 sp<Allocation> mAdaptedAllocation;
599 Allocation(void *id, sp<RS> rs, sp<const Type> t, uint32_t usage);
694 void copy1DRangeFrom(uint32_t off, size_t count, sp<const Allocation> data, uint32_t dataOff);
751 sp<const Allocation> data, uint32_t dataXoff, uint32_t dataYoff);
821 sp<const Allocation> data,
846 static sp<Allocation> createTyped(sp<RS> rs, sp<const Type> type,
859 static sp<Allocation> createTyped(sp<RS> rs, sp<const Type> type,
869 static sp<Allocation> createTyped(sp<RS> rs, sp<const Type> type,
[all …]
DScriptIntrinsicBLAS.cpp175 static void validateGEMV(RS* mRS, sp<const Element> e, RsBlasTranspose TransA, sp<Allocation> A, in validateGEMV()
176 sp<Allocation> X, int incX, sp<Allocation> Y, int incY) { in validateGEMV()
205 …ScriptIntrinsicBLAS::SGEMV(RsBlasTranspose TransA, float alpha, sp<Allocation> A, sp<Allocation> X, in SGEMV()
206 int incX, float beta, sp<Allocation> Y, int incY) { in SGEMV()
216 …criptIntrinsicBLAS::DGEMV(RsBlasTranspose TransA, double alpha, sp<Allocation> A, sp<Allocation> X, in DGEMV()
217 int incX, double beta, sp<Allocation> Y, int incY) { in DGEMV()
227 …criptIntrinsicBLAS::CGEMV(RsBlasTranspose TransA, Float2 alpha, sp<Allocation> A, sp<Allocation> X, in CGEMV()
228 int incX, Float2 beta, sp<Allocation> Y, int incY) { in CGEMV()
238 …riptIntrinsicBLAS::ZGEMV(RsBlasTranspose TransA, Double2 alpha, sp<Allocation> A, sp<Allocation> X, in ZGEMV()
239 int incX, Double2 beta, sp<Allocation> Y, int incY) { in ZGEMV()
[all …]
DAllocation.cpp24 void * Allocation::getIDSafe() const { in getIDSafe()
28 void Allocation::updateCacheInfo(sp<const Type> t) { in updateCacheInfo()
41 Allocation::Allocation(void *id, sp<RS> rs, sp<const Type> t, uint32_t usage) : in Allocation() function in Allocation
76 void Allocation::validateIsInt64() { in validateIsInt64()
84 void Allocation::validateIsInt32() { in validateIsInt32()
92 void Allocation::validateIsInt16() { in validateIsInt16()
100 void Allocation::validateIsInt8() { in validateIsInt8()
108 void Allocation::validateIsFloat32() { in validateIsFloat32()
116 void Allocation::validateIsFloat64() { in validateIsFloat64()
124 void Allocation::validateIsObject() { in validateIsObject()
[all …]
/frameworks/compile/slang/tests/P_reduce_general_accumulator/
DScriptC_reduce_general_accumulator.java.expect55 for (Allocation tempIn : mTempIns) {
68 private result_int(Allocation out) {
74 private Allocation[] mTempIns;
75 private Allocation mOut;
87 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
92 result.mTempIns = new Allocation[]{ain1};
97 public result_int reduce_my_half(Allocation ain1) {
102 public result_int reduce_my_half(Allocation ain1, Script.LaunchOptions sc) {
107 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1);
109 reduce(mExportReduceIdx_my_half, new Allocation[]{ain1}, aout, sc);
[all …]
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DScriptIntrinsicBlend.java54 private void blend(int id, Allocation ain, Allocation aout) {
70 public void forEachClear(Allocation ain, Allocation aout) {
90 public void forEachSrc(Allocation ain, Allocation aout) {
111 public void forEachDst(Allocation ain, Allocation aout) {
130 public void forEachSrcOver(Allocation ain, Allocation aout) {
149 public void forEachDstOver(Allocation ain, Allocation aout) {
168 public void forEachSrcIn(Allocation ain, Allocation aout) {
187 public void forEachDstIn(Allocation ain, Allocation aout) {
206 public void forEachSrcOut(Allocation ain, Allocation aout) {
225 public void forEachDstOut(Allocation ain, Allocation aout) {
[all …]
DScriptIntrinsicBLAS.java34 private Allocation mLUT;
282 …static void validateGEMV(Element e, int TransA, Allocation A, Allocation X, int incX, Allocation Y…
327 …oid SGEMV(@Transpose int TransA, float alpha, Allocation A, Allocation X, int incX, float beta, Al… in SGEMV()
359 …id DGEMV(@Transpose int TransA, double alpha, Allocation A, Allocation X, int incX, double beta, A… in DGEMV()
391 …id CGEMV(@Transpose int TransA, Float2 alpha, Allocation A, Allocation X, int incX, Float2 beta, A… in CGEMV()
423 … ZGEMV(@Transpose int TransA, Double2 alpha, Allocation A, Allocation X, int incX, Double2 beta, A… in ZGEMV()
464 …pose int TransA, int KL, int KU, float alpha, Allocation A, Allocation X, int incX, float beta, Al… in SGBMV()
509 …ose int TransA, int KL, int KU, double alpha, Allocation A, Allocation X, int incX, double beta, A… in DGBMV()
554 …ose int TransA, int KL, int KU, Float2 alpha, Allocation A, Allocation X, int incX, Float2 beta, A… in CGBMV()
599 …e int TransA, int KL, int KU, Double2 alpha, Allocation A, Allocation X, int incX, Double2 beta, A… in ZGBMV()
[all …]
/frameworks/compile/slang/tests/P_reduce_general_input/
DScriptC_reduce_general_input.java.expect123 for (Allocation tempIn : mTempIns) {
136 private result_int(Allocation out) {
142 private Allocation[] mTempIns;
143 private Allocation mOut;
155 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length);
160 result.mTempIns = new Allocation[]{ain1};
165 public result_int reduce_my_half_0(Allocation ain1) {
170 public result_int reduce_my_half_0(Allocation ain1, Script.LaunchOptions sc) {
175 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1);
177 reduce(mExportReduceIdx_my_half_0, new Allocation[]{ain1}, aout, sc);
[all …]
/frameworks/compile/slang/tests/P_reduce_general_result/
DScriptC_reduce_general_result.java.expect126 for (Allocation tempIn : mTempIns) {
139 private resultArray7_bool(Allocation out) {
145 private Allocation[] mTempIns;
146 private Allocation mOut;
162 for (Allocation tempIn : mTempIns) {
175 private resultArray7_char(Allocation out) {
181 private Allocation[] mTempIns;
182 private Allocation mOut;
203 for (Allocation tempIn : mTempIns) {
216 private resultArray7_char2(Allocation out) {
[all …]
/frameworks/rs/
DrsAllocation.cpp29 Allocation::Allocation(Context *rsc, const Type *type, uint32_t usages, in Allocation() function in Allocation
43 Allocation::Allocation(Context *rsc, const Allocation *alloc, const Type *type) in Allocation() function in Allocation
55 void Allocation::operator delete(void* ptr) { in operator delete()
57 Allocation *a = (Allocation*) ptr; in operator delete()
62 Allocation * Allocation::createAllocationStrided(Context *rsc, const Type *type, uint32_t usages, in createAllocationStrided()
66 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Allocation), 0); in createAllocationStrided()
74 Allocation *a = nullptr; in createAllocationStrided()
77 a = new (allocMem) Allocation(rsc, type, usages, mc, nullptr); in createAllocationStrided()
85 a = new (allocMem) Allocation(rsc, type, usages, mc, ptr); in createAllocationStrided()
89 a = new (allocMem) Allocation(rsc, type, usages, mc, ptr); in createAllocationStrided()
[all …]
Drs_hal.h80 class Allocation; variable
118 RS_BASE_OBJ(Allocation) rs_allocation;
169 const Allocation * ain,
170 Allocation * aout,
176 const Allocation ** ains, size_t inLen,
177 Allocation *aout,
199 Allocation *data);
208 const Allocation ** ains,
210 Allocation * aout,
218 bool (*init)(const Context *rsc, Allocation *alloc, bool forceZero);
[all …]
/frameworks/compile/slang/tests/P_reduce_general_examples_backward/
DScriptC_reduce_general_examples_backward.java.expect68 for (Allocation tempIn : mTempIns) {
81 private resultArray256_uint(Allocation out) {
87 private Allocation[] mTempIns;
88 private Allocation mOut;
104 for (Allocation tempIn : mTempIns) {
117 private result_float(Allocation out) {
123 private Allocation[] mTempIns;
124 private Allocation mOut;
140 for (Allocation tempIn : mTempIns) {
153 private result_int(Allocation out) {
[all …]
/frameworks/compile/slang/tests/P_reduce_general_examples/
DScriptC_reduce_general_examples.java.expect68 for (Allocation tempIn : mTempIns) {
81 private resultArray256_uint(Allocation out) {
87 private Allocation[] mTempIns;
88 private Allocation mOut;
104 for (Allocation tempIn : mTempIns) {
117 private result_float(Allocation out) {
123 private Allocation[] mTempIns;
124 private Allocation mOut;
140 for (Allocation tempIn : mTempIns) {
153 private result_int(Allocation out) {
[all …]
/frameworks/compile/slang/tests/P_reduce_general_inputs/
DScriptC_reduce_general_inputs.java.expect95 for (Allocation tempIn : mTempIns) {
108 private result_int(Allocation out) {
114 private Allocation[] mTempIns;
115 private Allocation mOut;
128 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length);
139 Allocation ain2 = Allocation.createSized(mRSLocal, __F16, in2.length);
144 result.mTempIns = new Allocation[]{ain1, ain2};
150 public result_int reduce_my_half_half_0(Allocation ain1, Allocation ain2) {
156 …public result_int reduce_my_half_half_0(Allocation ain1, Allocation ain2, Script.LaunchOptions sc)…
178 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1);
[all …]
/frameworks/compile/slang/tests/P_reduce_general_examples_explicit/
DScriptC_reduce_general_examples_explicit.java.expect66 for (Allocation tempIn : mTempIns) {
79 private resultArray256_uint(Allocation out) {
85 private Allocation[] mTempIns;
86 private Allocation mOut;
102 for (Allocation tempIn : mTempIns) {
115 private result_float(Allocation out) {
121 private Allocation[] mTempIns;
122 private Allocation mOut;
138 for (Allocation tempIn : mTempIns) {
151 private result_int(Allocation out) {
[all …]
/frameworks/rs/driver/
DrsdAllocation.h83 android::renderscript::Allocation *alloc);
85 android::renderscript::Allocation *alloc,
89 android::renderscript::Allocation *alloc,
93 android::renderscript::Allocation *alloc);
95 android::renderscript::Allocation *alloc);
98 const android::renderscript::Allocation *alloc,
101 const android::renderscript::Allocation *alloc,
104 const android::renderscript::Allocation *alloc);
106 android::renderscript::Allocation *alloc, ANativeWindow *nw);
108 android::renderscript::Allocation *alloc);
[all …]
/frameworks/support/v8/renderscript/api/
Dcurrent.txt3 public class Allocation extends android.support.v8.renderscript.BaseObj {
9 method public void copy1DRangeFrom(int, int, android.support.v8.renderscript.Allocation, int);
30 …lic void copy2DRangeFrom(int, int, int, int, android.support.v8.renderscript.Allocation, int, int);
38 …RangeFrom(int, int, int, int, int, int, android.support.v8.renderscript.Allocation, int, int, int);
46 method public void copyFrom(android.support.v8.renderscript.Allocation);
58 …t.Allocation createCubemapFromBitmap(android.support.v8.renderscript.RenderScript, android.graphic…
59 …method public static android.support.v8.renderscript.Allocation createCubemapFromBitmap(android.su…
60Allocation createCubemapFromCubeFaces(android.support.v8.renderscript.RenderScript, android.graphi…
61 …method public static android.support.v8.renderscript.Allocation createCubemapFromCubeFaces(android…
62 …cript.Allocation createFromBitmap(android.support.v8.renderscript.RenderScript, android.graphics.B…
[all …]
D23.0.0.txt3 public class Allocation extends android.support.v8.renderscript.BaseObj {
9 method public void copy1DRangeFrom(int, int, android.support.v8.renderscript.Allocation, int);
30 …lic void copy2DRangeFrom(int, int, int, int, android.support.v8.renderscript.Allocation, int, int);
38 …RangeFrom(int, int, int, int, int, int, android.support.v8.renderscript.Allocation, int, int, int);
46 method public void copyFrom(android.support.v8.renderscript.Allocation);
58 …t.Allocation createCubemapFromBitmap(android.support.v8.renderscript.RenderScript, android.graphic…
59 …method public static android.support.v8.renderscript.Allocation createCubemapFromBitmap(android.su…
60Allocation createCubemapFromCubeFaces(android.support.v8.renderscript.RenderScript, android.graphi…
61 …method public static android.support.v8.renderscript.Allocation createCubemapFromCubeFaces(android…
62 …cript.Allocation createFromBitmap(android.support.v8.renderscript.RenderScript, android.graphics.B…
[all …]
D23.1.0.txt3 public class Allocation extends android.support.v8.renderscript.BaseObj {
9 method public void copy1DRangeFrom(int, int, android.support.v8.renderscript.Allocation, int);
30 …lic void copy2DRangeFrom(int, int, int, int, android.support.v8.renderscript.Allocation, int, int);
38 …RangeFrom(int, int, int, int, int, int, android.support.v8.renderscript.Allocation, int, int, int);
46 method public void copyFrom(android.support.v8.renderscript.Allocation);
58 …t.Allocation createCubemapFromBitmap(android.support.v8.renderscript.RenderScript, android.graphic…
59 …method public static android.support.v8.renderscript.Allocation createCubemapFromBitmap(android.su…
60Allocation createCubemapFromCubeFaces(android.support.v8.renderscript.RenderScript, android.graphi…
61 …method public static android.support.v8.renderscript.Allocation createCubemapFromCubeFaces(android…
62 …cript.Allocation createFromBitmap(android.support.v8.renderscript.RenderScript, android.graphics.B…
[all …]
D23.1.1.txt3 public class Allocation extends android.support.v8.renderscript.BaseObj {
9 method public void copy1DRangeFrom(int, int, android.support.v8.renderscript.Allocation, int);
30 …lic void copy2DRangeFrom(int, int, int, int, android.support.v8.renderscript.Allocation, int, int);
38 …RangeFrom(int, int, int, int, int, int, android.support.v8.renderscript.Allocation, int, int, int);
46 method public void copyFrom(android.support.v8.renderscript.Allocation);
58 …t.Allocation createCubemapFromBitmap(android.support.v8.renderscript.RenderScript, android.graphic…
59 …method public static android.support.v8.renderscript.Allocation createCubemapFromBitmap(android.su…
60Allocation createCubemapFromCubeFaces(android.support.v8.renderscript.RenderScript, android.graphi…
61 …method public static android.support.v8.renderscript.Allocation createCubemapFromCubeFaces(android…
62 …cript.Allocation createFromBitmap(android.support.v8.renderscript.RenderScript, android.graphics.B…
[all …]
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DErrorCalculator.java23 import android.renderscript.Allocation;
36 private Allocation mIdealPixelsAllocation;
37 private Allocation mGivenPixelsAllocation;
38 private Allocation mOutputPixelsAllocation;
40 private Allocation mInputRowsAllocation;
41 private Allocation mOutputRegionsAllocation;
62 mInputRowsAllocation = Allocation.createSized(mRS, Element.I32(mRS), rowIndices.length, in ErrorCalculator()
63 Allocation.USAGE_SCRIPT); in ErrorCalculator()
65 mOutputRegionsAllocation = Allocation.createSized(mRS, Element.I32(mRS), in ErrorCalculator()
66 mOutputRowRegions.length, Allocation.USAGE_SCRIPT); in ErrorCalculator()
[all …]
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/d1new/
DImageBuffersForRenderScriptd1new.java4 import android.support.v8.renderscript.Allocation;
29 public Allocation sharpRGBAAllocation;
30 public Allocation fuzzyRGBAAllocation;
31 public Allocation integralRGBAAllocation;
33 public Allocation sharpActualDepthAllocation;
34 public Allocation sharpDilatedDepthAllocation;
35 public Allocation sharpActiveAllocation;
36 public Allocation sharpMatteAllocation;
51 sharpRGBAAllocation = Allocation.createSized( in ImageBuffersForRenderScriptd1new()
54 sharpActualDepthAllocation = Allocation.createSized( in ImageBuffersForRenderScriptd1new()
[all …]
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
DUT_foreach_multi.java26 private Allocation Ain0;
27 private Allocation Ain1;
28 private Allocation Ain2;
29 private Allocation Ain3;
31 private Allocation Out0;
32 private Allocation Out1;
33 private Allocation Out2;
34 private Allocation Out3;
52 Ain0 = Allocation.createTyped(RS, type32Builder.create()); in initializeGlobals()
56 Ain1 = Allocation.createTyped(RS, type32Builder.create()); in initializeGlobals()
[all …]
/frameworks/rs/java/tests/SampleTest/src/com/android/rs/sample/
DSampleRSActivity.java26 import android.renderscript.Allocation;
44 private Allocation mOutPixelsAllocation;
47 TextureViewUpdater(Allocation outAlloc, Sampler sampler) { in TextureViewUpdater()
80 private Allocation mTwoByTwoAlloc;
81 private Allocation mCityAlloc;
102 mTwoByTwoAlloc = Allocation.createFromBitmap(mRS, mBitmapTwoByTwo, in onCreate()
103 Allocation.MipmapControl.MIPMAP_NONE, in onCreate()
104Allocation.USAGE_SCRIPT | Allocation.USAGE_GRAPHICS_TEXTURE); in onCreate()
106 mCityAlloc = Allocation.createFromBitmap(mRS, mBitmapCity, in onCreate()
107 Allocation.MipmapControl.MIPMAP_NONE, in onCreate()
[all …]

12345678910>>...14