/frameworks/base/rs/java/android/renderscript/ |
D | ScriptIntrinsicBlend.java | 43 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 …]
|
D | ScriptIntrinsicBLAS.java | 34 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/tests/lldb/cpp/Allocations/ |
D | Allocations.cpp | 22 sp<Allocation> mBoolAllocation; // boolean 24 sp<Allocation> mCharAllocation; // char 25 sp<Allocation> mChar2Allocation; // char2 26 sp<Allocation> mChar3Allocation; // char3 27 sp<Allocation> mChar4Allocation; // char4 29 sp<Allocation> mUCharAllocation; // uchar 30 sp<Allocation> mUChar2Allocation; // uchar2 31 sp<Allocation> mUChar3Allocation; // uchar3 32 sp<Allocation> mUChar4Allocation; // uchar4 34 sp<Allocation> mShortAllocation; // short [all …]
|
/frameworks/rs/tests/lldb/jni/Allocations/jniallocations/ |
D | jniallocations.cpp | 26 sp<Allocation> mBoolAllocation; // boolean 28 sp<Allocation> mCharAllocation; // char 29 sp<Allocation> mChar2Allocation; // char2 30 sp<Allocation> mChar3Allocation; // char3 31 sp<Allocation> mChar4Allocation; // char4 33 sp<Allocation> mUCharAllocation; // uchar 34 sp<Allocation> mUChar2Allocation; // uchar2 35 sp<Allocation> mUChar3Allocation; // uchar3 36 sp<Allocation> mUChar4Allocation; // uchar4 38 sp<Allocation> mShortAllocation; // short [all …]
|
/frameworks/rs/cpp/ |
D | rsCppStructs.h | 47 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, const sp<const Allocation>& data, uint32_t dataOf… 751 const sp<const Allocation>& data, uint32_t dataXoff, uint32_t dataYoff); 821 const sp<const Allocation>& data, 846 static sp<Allocation> createTyped(const sp<RS>& rs, const sp<const Type>& type, 859 static sp<Allocation> createTyped(const sp<RS>& rs, const sp<const Type>& type, 869 static sp<Allocation> createTyped(const sp<RS>& rs, const sp<const Type>& type, [all …]
|
D | ScriptIntrinsicBLAS.cpp | 23 using android::RSC::Allocation; 183 … validateGEMV(RS* mRS, const sp<const Element>& e, RsBlasTranspose TransA, const sp<Allocation>& A, in validateGEMV() 184 const sp<Allocation>& X, int incX, const sp<Allocation>& Y, int incY) { in validateGEMV() 213 …cBLAS::SGEMV(RsBlasTranspose TransA, float alpha, const sp<Allocation>& A, const sp<Allocation>& X, in SGEMV() 214 int incX, float beta, const sp<Allocation>& Y, int incY) { in SGEMV() 224 …BLAS::DGEMV(RsBlasTranspose TransA, double alpha, const sp<Allocation>& A, const sp<Allocation>& X, in DGEMV() 225 int incX, double beta, const sp<Allocation>& Y, int incY) { in DGEMV() 235 …BLAS::CGEMV(RsBlasTranspose TransA, Float2 alpha, const sp<Allocation>& A, const sp<Allocation>& X, in CGEMV() 236 int incX, Float2 beta, const sp<Allocation>& Y, int incY) { in CGEMV() 246 …LAS::ZGEMV(RsBlasTranspose TransA, Double2 alpha, const sp<Allocation>& A, const sp<Allocation>& X, in ZGEMV() [all …]
|
D | Allocation.cpp | 20 using android::RSC::Allocation; 24 void * Allocation::getIDSafe() const { in getIDSafe() 28 void Allocation::updateCacheInfo(const 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() [all …]
|
/frameworks/compile/slang/tests/P_reduce_general_accumulator/ |
D | ScriptC_reduce_general_accumulator.java.expect | 58 for (Allocation tempIn : mTempIns) { 71 private result_int(Allocation out) { 77 private Allocation[] mTempIns; 78 private Allocation mOut; 90 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length); 95 result.mTempIns = new Allocation[]{ain1}; 100 public result_int reduce_my_half(Allocation ain1) { 105 public result_int reduce_my_half(Allocation ain1, Script.LaunchOptions sc) { 110 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 112 reduce(mExportReduceIdx_my_half, new Allocation[]{ain1}, aout, sc); [all …]
|
/frameworks/rs/tests/lldb/java/Allocations/src/com/android/rs/allocations/ |
D | MainActivity.java | 27 private Allocation mInAllocation; // script input 28 private Allocation mOutAllocation; // script output 30 private Allocation mStructInAlloc; // complexStruct input 31 private Allocation mStructOutAlloc; // complexStruct output 33 private Allocation mBoolAllocation; // boolean 35 private Allocation mCharAllocation; // char 36 private Allocation mChar2Allocation; // char2 37 private Allocation mChar3Allocation; // char3 38 private Allocation mChar4Allocation; // char4 40 private Allocation mUCharAllocation; // uchar [all …]
|
/frameworks/rs/support/java/src/androidx/renderscript/ |
D | ScriptIntrinsicBlend.java | 54 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 …]
|
D | ScriptIntrinsicBLAS.java | 34 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/ |
D | ScriptC_reduce_general_input.java.expect | 126 for (Allocation tempIn : mTempIns) { 139 private result_int(Allocation out) { 145 private Allocation[] mTempIns; 146 private Allocation mOut; 158 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length); 163 result.mTempIns = new Allocation[]{ain1}; 168 public result_int reduce_my_half_0(Allocation ain1) { 173 public result_int reduce_my_half_0(Allocation ain1, Script.LaunchOptions sc) { 178 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 180 reduce(mExportReduceIdx_my_half_0, new Allocation[]{ain1}, aout, sc); [all …]
|
/frameworks/rs/ |
D | rsAllocation.cpp | 28 Allocation::Allocation(Context *rsc, const Type *type, uint32_t usages, in Allocation() function in android::renderscript::Allocation 42 Allocation::Allocation(Context *rsc, const Allocation *alloc, const Type *type) in Allocation() function in android::renderscript::Allocation 54 void Allocation::operator delete(void* ptr) { in operator delete() 56 Allocation *a = (Allocation*) ptr; in operator delete() 61 Allocation * Allocation::createAllocationStrided(Context *rsc, const Type *type, uint32_t usages, in createAllocationStrided() 65 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Allocation), 0); in createAllocationStrided() 73 Allocation *a = nullptr; in createAllocationStrided() 76 a = new (allocMem) Allocation(rsc, type, usages, mc, nullptr); in createAllocationStrided() 84 a = new (allocMem) Allocation(rsc, type, usages, mc, ptr); in createAllocationStrided() 88 a = new (allocMem) Allocation(rsc, type, usages, mc, ptr); in createAllocationStrided() [all …]
|
D | rs_hal.h | 80 class Allocation; variable 121 RS_BASE_OBJ(Allocation) rs_allocation; 172 const Allocation * ain, 173 Allocation * aout, 179 const Allocation ** ains, size_t inLen, 180 Allocation *aout, 202 Allocation *data); 211 const Allocation ** ains, 213 Allocation * aout, 221 bool (*init)(const Context *rsc, Allocation *alloc, bool forceZero); [all …]
|
/frameworks/compile/slang/tests/P_reduce_general_result/ |
D | ScriptC_reduce_general_result.java.expect | 129 for (Allocation tempIn : mTempIns) { 142 private resultArray7_bool(Allocation out) { 148 private Allocation[] mTempIns; 149 private Allocation mOut; 165 for (Allocation tempIn : mTempIns) { 178 private resultArray7_char(Allocation out) { 184 private Allocation[] mTempIns; 185 private Allocation mOut; 206 for (Allocation tempIn : mTempIns) { 219 private resultArray7_char2(Allocation out) { [all …]
|
/frameworks/compile/slang/tests/P_reduce_general_examples/ |
D | ScriptC_reduce_general_examples.java.expect | 71 for (Allocation tempIn : mTempIns) { 84 private resultArray256_uint(Allocation out) { 90 private Allocation[] mTempIns; 91 private Allocation mOut; 107 for (Allocation tempIn : mTempIns) { 120 private result_float(Allocation out) { 126 private Allocation[] mTempIns; 127 private Allocation mOut; 143 for (Allocation tempIn : mTempIns) { 156 private result_int(Allocation out) { [all …]
|
/frameworks/compile/slang/tests/P_reduce_general_examples_backward/ |
D | ScriptC_reduce_general_examples_backward.java.expect | 71 for (Allocation tempIn : mTempIns) { 84 private resultArray256_uint(Allocation out) { 90 private Allocation[] mTempIns; 91 private Allocation mOut; 107 for (Allocation tempIn : mTempIns) { 120 private result_float(Allocation out) { 126 private Allocation[] mTempIns; 127 private Allocation mOut; 143 for (Allocation tempIn : mTempIns) { 156 private result_int(Allocation out) { [all …]
|
/frameworks/compile/slang/tests/P_reduce_general_inputs/ |
D | ScriptC_reduce_general_inputs.java.expect | 98 for (Allocation tempIn : mTempIns) { 111 private result_int(Allocation out) { 117 private Allocation[] mTempIns; 118 private Allocation mOut; 131 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length); 142 Allocation ain2 = Allocation.createSized(mRSLocal, __F16, in2.length); 147 result.mTempIns = new Allocation[]{ain1, ain2}; 153 public result_int reduce_my_half_half_0(Allocation ain1, Allocation ain2) { 159 …public result_int reduce_my_half_half_0(Allocation ain1, Allocation ain2, Script.LaunchOptions sc)… 181 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); [all …]
|
/frameworks/compile/slang/tests/P_reduce_general_examples_explicit/ |
D | ScriptC_reduce_general_examples_explicit.java.expect | 69 for (Allocation tempIn : mTempIns) { 82 private resultArray256_uint(Allocation out) { 88 private Allocation[] mTempIns; 89 private Allocation mOut; 105 for (Allocation tempIn : mTempIns) { 118 private result_float(Allocation out) { 124 private Allocation[] mTempIns; 125 private Allocation mOut; 141 for (Allocation tempIn : mTempIns) { 154 private result_int(Allocation out) { [all …]
|
/frameworks/rs/driver/ |
D | rsdAllocation.h | 81 android::renderscript::Allocation *alloc); 83 android::renderscript::Allocation *alloc, 87 android::renderscript::Allocation *alloc, 91 android::renderscript::Allocation *alloc); 93 android::renderscript::Allocation *alloc); 96 const android::renderscript::Allocation *alloc, 99 const android::renderscript::Allocation *alloc, 102 const android::renderscript::Allocation *alloc); 104 android::renderscript::Allocation *alloc, ANativeWindow *nw); 106 android::renderscript::Allocation *alloc); [all …]
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
D | ErrorCalculator.java | 23 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/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | UT_foreach_multi.java | 20 import android.renderscript.Allocation; 26 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; 51 Ain0 = Allocation.createTyped(RS, type32Builder.create()); in initializeGlobals() [all …]
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | UT_foreach_multi.java | 22 import androidx.renderscript.Allocation; 28 private Allocation Ain0; 29 private Allocation Ain1; 30 private Allocation Ain2; 31 private Allocation Ain3; 33 private Allocation Out0; 34 private Allocation Out1; 35 private Allocation Out2; 36 private Allocation Out3; 53 Ain0 = Allocation.createTyped(RS, type32Builder.create()); in initializeGlobals() [all …]
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/d1new/ |
D | ImageBuffersForRenderScriptd1new.java | 4 import androidx.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/tests/java_api/SampleTest/src/com/android/rs/sample/ |
D | SampleRSActivity.java | 26 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() 104 … Allocation.USAGE_SCRIPT | Allocation.USAGE_GRAPHICS_TEXTURE); in onCreate() 106 mCityAlloc = Allocation.createFromBitmap(mRS, mBitmapCity, in onCreate() 107 Allocation.MipmapControl.MIPMAP_NONE, in onCreate() [all …]
|