/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/ |
D | alloc.rs | 4 int dimX; 14 *o = x + y * dimX; 21 _RS_ASSERT(rsAllocationGetDimX(aRaw) == dimX); 27 for (i = 0; i < dimX; i++) { 28 rsDebug("Verifying ", i + j * dimX); 31 _RS_ASSERT(val == (i + j * dimX)); 36 for (i = 0; i < dimX; i++) { 45 for (i = 0; i < dimX; i++) { 46 rsDebug("Verifying ", i + j * dimX); 49 _RS_ASSERT(val == (i + j * dimX)); [all …]
|
D | foreach.rs | 4 int dimX; 9 *out = x + y * dimX; 17 for (i = 0; i < dimX; i++) { 19 _RS_ASSERT(v == (i + j * dimX));
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
D | alloc.rs | 4 int dimX; 14 *o = x + y * dimX; 21 _RS_ASSERT(rsAllocationGetDimX(aRaw) == dimX); 27 for (i = 0; i < dimX; i++) { 28 rsDebug("Verifying ", i + j * dimX); 31 _RS_ASSERT(val == (i + j * dimX)); 36 for (i = 0; i < dimX; i++) { 45 for (i = 0; i < dimX; i++) { 46 rsDebug("Verifying ", i + j * dimX); 49 _RS_ASSERT(val == (i + j * dimX)); [all …]
|
D | foreach.rs | 4 int dimX; 9 *out = x + y * dimX; 13 _RS_ASSERT(*in == (x + y * dimX)); 14 *out = 99 + x + y * dimX; 15 _RS_ASSERT(*out == (99 + x + y * dimX)); 23 for (i = 0; i < dimX; i++) { 25 _RS_ASSERT(v == (i + j * dimX)); 44 for (i = 0; i < dimX; i++) { 46 _RS_ASSERT(v == (99 + i + j * dimX));
|
D | noroot.rs | 4 int dimX; 9 *out = 99 + x + y * dimX; 17 for (i = 0; i < dimX; i++) { 19 _RS_ASSERT(v == (99 + i + j * dimX));
|
D | array_alloc.rs | 3 const int dimX = 20; 4 rs_allocation a[dimX]; 9 for (int i = 0; i < dimX; i++) {
|
D | foreach_bounds.rs | 3 int dimX; 16 *out = x + y * dimX; 28 for (i = 0; i < dimX; i++) { 36 _RS_ASSERT(v == (i + j * dimX));
|
D | UT_array_alloc.java | 36 int dimX = s.get_dimX(); in run() local 37 Allocation[] Arr = new Allocation[dimX]; in run() 40 for (int i = 0; i < dimX; i++) { in run()
|
D | kernel.rs | 5 int dimX; 22 for (i = 0; i < dimX; i++) {
|
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/ |
D | alloc.rs | 4 int dimX; 14 *o = x + y * dimX; 21 _RS_ASSERT(rsAllocationGetDimX(aRaw) == dimX); 27 for (i = 0; i < dimX; i++) { 28 rsDebug("Verifying ", i + j * dimX); 31 _RS_ASSERT(val == (i + j * dimX)); 36 for (i = 0; i < dimX; i++) { 45 for (i = 0; i < dimX; i++) { 46 rsDebug("Verifying ", i + j * dimX); 49 _RS_ASSERT(val == (i + j * dimX)); [all …]
|
D | foreach.rs | 4 int dimX; 9 *out = x + y * dimX; 17 for (i = 0; i < dimX; i++) { 19 _RS_ASSERT(v == (i + j * dimX));
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
D | foreach.rs | 4 int dimX; 9 *out = x + y * dimX; 13 _RS_ASSERT(*in == (x + y * dimX)); 14 *out = 99 + x + y * dimX; 15 _RS_ASSERT(*out == (99 + x + y * dimX)); 23 for (i = 0; i < dimX; i++) { 25 _RS_ASSERT(v == (i + j * dimX)); 44 for (i = 0; i < dimX; i++) { 46 _RS_ASSERT(v == (99 + i + j * dimX));
|
D | alloc.rs | 4 int dimX; 21 _RS_ASSERT(rsAllocationGetDimX(aRaw) == dimX); 27 for (i = 0; i < dimX; i++) { 34 _RS_ASSERT(rsAllocationGetDimX(aFaces) == dimX); 40 _RS_ASSERT(rsAllocationGetDimX(aLOD) == dimX); 46 _RS_ASSERT(rsAllocationGetDimX(aFacesLOD) == dimX);
|
D | noroot.rs | 4 int dimX; 9 *out = 99 + x + y * dimX; 17 for (i = 0; i < dimX; i++) { 19 _RS_ASSERT(v == (99 + i + j * dimX));
|
D | foreach_bounds.rs | 3 int dimX; 18 *out = x + y * dimX; 30 for (i = 0; i < dimX; i++) { 35 _RS_ASSERT(v == (i + j * dimX));
|
D | array_alloc.rs | 3 const int dimX = 20; 4 rs_allocation a[dimX]; 9 for (int i = 0; i < dimX; i++) {
|
D | UT_array_alloc.java | 36 int dimX = s.get_dimX(); in run() local 37 Allocation[] Arr = new Allocation[dimX]; in run() 40 for (int i = 0; i < dimX; i++) { in run()
|
D | kernel.rs | 5 int dimX; 22 for (i = 0; i < dimX; i++) {
|
D | kernel_struct.rs | 14 int dimX; 38 for (i = 0; i < dimX; i++) {
|
/frameworks/base/rs/java/android/renderscript/ |
D | Type.java | 222 static public Type createX(RenderScript rs, Element e, int dimX) { in createX() argument 223 if (dimX < 1) { in createX() 227 long id = rs.nTypeCreate(e.getID(rs), dimX, 0, 0, false, false, 0); in createX() 230 t.mDimX = dimX; in createX() 246 static public Type createXY(RenderScript rs, Element e, int dimX, int dimY) { in createXY() argument 247 if ((dimX < 1) || (dimY < 1)) { in createXY() 251 long id = rs.nTypeCreate(e.getID(rs), dimX, dimY, 0, false, false, 0); in createXY() 254 t.mDimX = dimX; in createXY() 272 static public Type createXYZ(RenderScript rs, Element e, int dimX, int dimY, int dimZ) { in createXYZ() argument 273 if ((dimX < 1) || (dimY < 1) || (dimZ < 1)) { in createXYZ() [all …]
|
/frameworks/rs/ |
D | rsType.h | 44 uint32_t dimX; member 68 uint32_t getDimX() const {return mHal.state.dimX;} in getDimX() 99 ObjectBaseRef<Type> cloneAndResize1D(Context *rsc, uint32_t dimX) const; 100 ObjectBaseRef<Type> cloneAndResize2D(Context *rsc, uint32_t dimX, uint32_t dimY) const; 103 uint32_t dimX, uint32_t dimY, uint32_t dimZ, 107 uint32_t dimX, uint32_t dimY, uint32_t dimZ, in getType() argument 109 ObjectBaseRef<Type> type = getTypeRef(rsc, e, dimX, dimY, dimZ, dimLOD, dimFaces, yuv); in getType()
|
D | rsType.cpp | 75 uint32_t l2x = rsFindHighBit(mHal.state.dimX) + 1; in compute() 99 uint32_t tx = mHal.state.dimX; in compute() 152 mHal.state.dimX, in dumpLOGV() 168 stream->addU32(mHal.state.dimX); in serialize() 221 uint32_t dimX, uint32_t dimY, uint32_t dimZ, in getTypeRef() argument 231 if (t->getDimX() != dimX) continue; in getTypeRef() 260 nt->mHal.state.dimX = dimX; in getTypeRef() 274 ObjectBaseRef<Type> Type::cloneAndResize1D(Context *rsc, uint32_t dimX) const { in cloneAndResize1D() 275 return getTypeRef(rsc, mElement.get(), dimX, in cloneAndResize1D() 280 uint32_t dimX, in cloneAndResize2D() argument [all …]
|
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/ |
D | balls.rs | 33 uint32_t dimX = rsAllocationGetDimX(rsGetAllocation(balls)); 35 for (uint32_t ct=0; ct < dimX; ct++) { 51 int32_t dimX = rsAllocationGetDimX(aout); 55 for (uint32_t ct=0; ct < dimX; ct++) { 69 for (uint32_t ct=0; ct < dimX; ct++) { 98 for (uint32_t ct=0; ct < dimX; ct++) {
|
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsicBlur.cpp | 256 validX = rsMin(validX, (int)(p->dimX - 1)); in OneHU4() 271 validX = rsMin(validX, (int)(p->dimX - 1)); in OneHU1() 301 rsdIntrinsicBlurU4_K(out, (uchar4 const *)(pin + stride * p->y), p->dimX, p->dimY, in kernelU4() 307 if (p->dimX > 2048) { in kernelU4() 308 if ((p->dimX > cp->mScratchSize[p->lid]) || !cp->mScratch[p->lid]) { in kernelU4() 310 cp->mScratch[p->lid] = realloc(cp->mScratch[p->lid], (p->dimX + 1) * 16); in kernelU4() 311 cp->mScratchSize[p->lid] = p->dimX; in kernelU4() 320 OneVFU4(fout, pi, stride, cp->mFp, cp->mIradius * 2 + 1, 0, p->dimX); in kernelU4() 323 while(p->dimX > x1) { in kernelU4() 371 rsdIntrinsicBlurU1_K(out, pin + stride * p->y, p->dimX, p->dimY, in kernelU1() [all …]
|
/frameworks/rs/cpp/ |
D | Type.cpp | 102 sp<const Type> Type::create(sp<RS> rs, sp<const Element> e, uint32_t dimX, uint32_t dimY, uint32_t … in create() argument 103 …void * id = RS::dispatch->TypeCreate(rs->getContext(), e->getID(), dimX, dimY, dimZ, false, false,… in create() 107 t->mDimX = dimX; in create()
|