/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/ |
D | alloc.rs | 4 int dimX; 17 for (i = 0; i < dimX; i++) { 18 a[i + j * dimX] = i + j * dimX; 23 _RS_ASSERT(rsAllocationGetDimX(alloc) == dimX); 29 for (i = 0; i < dimX; i++) { 30 rsDebug("Verifying ", i + j * dimX); 33 _RS_ASSERT(val == (i + j * dimX)); 38 for (i = 0; i < dimX * dimY; i++) { 47 for (i = 0; i < dimX; i++) { 48 rsDebug("Verifying ", 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++) { 24 _RS_ASSERT(a[i + j * dimX] == (i + j * dimX)); 43 for (i = 0; i < dimX; i++) { 44 _RS_ASSERT(a[i + j * dimX] == (99 + i + j * dimX));
|
D | noroot.rs | 4 int dimX; 9 *out = 99 + x + y * dimX; 17 for (i = 0; i < dimX; i++) { 18 _RS_ASSERT(a[i + j * dimX] == (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 | 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/tests/RenderScriptTests/tests_v14/src/com/android/rs/test/ |
D | alloc.rs | 4 int dimX; 17 for (i = 0; i < dimX; i++) { 18 a[i + j * dimX] = i + j * dimX; 23 _RS_ASSERT(rsAllocationGetDimX(alloc) == dimX); 29 for (i = 0; i < dimX; i++) { 30 rsDebug("Verifying ", i + j * dimX); 33 _RS_ASSERT(val == (i + j * dimX)); 38 for (i = 0; i < dimX * dimY; i++) { 47 for (i = 0; i < dimX; i++) { 48 rsDebug("Verifying ", i + j * dimX); [all …]
|
D | foreach.rs | 4 int dimX; 8 *out = x + y * dimX; 16 for (i = 0; i < dimX; i++) { 17 _RS_ASSERT(a[i + j * dimX] == (i + j * dimX));
|
/frameworks/support/renderscript/v8/rs_support/ |
D | rsType.cpp | 66 uint32_t l2x = rsFindHighBit(mHal.state.dimX) + 1; in compute() 88 uint32_t tx = mHal.state.dimX; in compute() 149 mHal.state.dimX, in dumpLOGV() 167 stream->addU32(mHal.state.dimX); in serialize() 219 uint32_t dimX, uint32_t dimY, uint32_t dimZ, in getTypeRef() argument 229 if (t->getDimX() != dimX) continue; in getTypeRef() 245 nt->mHal.state.dimX = dimX; in getTypeRef() 258 ObjectBaseRef<Type> Type::cloneAndResize1D(Context *rsc, uint32_t dimX) const { in cloneAndResize1D() 259 return getTypeRef(rsc, mElement.get(), dimX, in cloneAndResize1D() 264 uint32_t dimX, in cloneAndResize2D() argument [all …]
|
D | rsType.h | 44 uint32_t dimX; member 66 uint32_t getDimX() const {return mHal.state.dimX;} in getDimX() 106 ObjectBaseRef<Type> cloneAndResize1D(Context *rsc, uint32_t dimX) const; 107 ObjectBaseRef<Type> cloneAndResize2D(Context *rsc, uint32_t dimX, uint32_t dimY) const; 110 uint32_t dimX, uint32_t dimY, uint32_t dimZ, 114 uint32_t dimX, uint32_t dimY, uint32_t dimZ, in getType() argument 116 ObjectBaseRef<Type> type = getTypeRef(rsc, e, dimX, dimY, dimZ, dimLOD, dimFaces); in getType()
|
D | rsAllocation.cpp | 398 void Allocation::resize1D(Context *rsc, uint32_t dimX) { in resize1D() argument 400 if (dimX == oldDimX) { in resize1D() 404 ObjectBaseRef<Type> t = mHal.state.type->cloneAndResize1D(rsc, dimX); in resize1D() 405 if (dimX < oldDimX) { in resize1D() 406 decRefs(rsc->mHal.funcs.allocation.lock1D(rsc, this), oldDimX - dimX, dimX); in resize1D() 414 void Allocation::resize2D(Context *rsc, uint32_t dimX, uint32_t dimY) { in resize2D() argument 478 void rsi_AllocationResize1D(Context *rsc, RsAllocation va, uint32_t dimX) { in rsi_AllocationResize1D() argument 480 a->resize1D(rsc, dimX); in rsi_AllocationResize1D() 483 void rsi_AllocationResize2D(Context *rsc, RsAllocation va, uint32_t dimX, uint32_t dimY) { in rsi_AllocationResize2D() argument 485 a->resize2D(rsc, dimX, dimY); in rsi_AllocationResize2D()
|
D | rs.spec | 32 param uint32_t dimX 170 param uint32_t dimX 175 param uint32_t dimX
|
/frameworks/rs/ |
D | rsType.cpp | 66 uint32_t l2x = rsFindHighBit(mHal.state.dimX) + 1; in compute() 88 uint32_t tx = mHal.state.dimX; in compute() 149 mHal.state.dimX, in dumpLOGV() 167 stream->addU32(mHal.state.dimX); in serialize() 219 uint32_t dimX, uint32_t dimY, uint32_t dimZ, in getTypeRef() argument 229 if (t->getDimX() != dimX) continue; in getTypeRef() 245 nt->mHal.state.dimX = dimX; in getTypeRef() 258 ObjectBaseRef<Type> Type::cloneAndResize1D(Context *rsc, uint32_t dimX) const { in cloneAndResize1D() 259 return getTypeRef(rsc, mElement.get(), dimX, in cloneAndResize1D() 264 uint32_t dimX, in cloneAndResize2D() argument [all …]
|
D | rsType.h | 44 uint32_t dimX; member 66 uint32_t getDimX() const {return mHal.state.dimX;} in getDimX() 106 ObjectBaseRef<Type> cloneAndResize1D(Context *rsc, uint32_t dimX) const; 107 ObjectBaseRef<Type> cloneAndResize2D(Context *rsc, uint32_t dimX, uint32_t dimY) const; 110 uint32_t dimX, uint32_t dimY, uint32_t dimZ, 114 uint32_t dimX, uint32_t dimY, uint32_t dimZ, in getType() argument 116 ObjectBaseRef<Type> type = getTypeRef(rsc, e, dimX, dimY, dimZ, dimLOD, dimFaces); in getType()
|
D | rsAllocation.cpp | 420 void Allocation::resize1D(Context *rsc, uint32_t dimX) { in resize1D() argument 422 if (dimX == oldDimX) { in resize1D() 426 ObjectBaseRef<Type> t = mHal.state.type->cloneAndResize1D(rsc, dimX); in resize1D() 427 if (dimX < oldDimX) { in resize1D() 428 decRefs(rsc->mHal.funcs.allocation.lock1D(rsc, this), oldDimX - dimX, dimX); in resize1D() 436 void Allocation::resize2D(Context *rsc, uint32_t dimX, uint32_t dimY) { in resize2D() argument 540 void rsi_AllocationResize1D(Context *rsc, RsAllocation va, uint32_t dimX) { in rsi_AllocationResize1D() argument 542 a->resize1D(rsc, dimX); in rsi_AllocationResize1D() 545 void rsi_AllocationResize2D(Context *rsc, RsAllocation va, uint32_t dimX, uint32_t dimY) { in rsi_AllocationResize2D() argument 547 a->resize2D(rsc, dimX, dimY); in rsi_AllocationResize2D()
|
/frameworks/base/tests/RenderScriptTests/Balls/src/com/example/android/rs/balls/ |
D | balls.rs | 34 uint32_t dimX = rsAllocationGetDimX(rsGetAllocation(balls1)); 36 for (uint32_t ct=0; ct < dimX; ct++) { 68 bc.dimX = rsAllocationGetDimX(bc.ain); 73 for (uint32_t ct=0; ct < bc.dimX; ct++) {
|
D | balls.rsh | 14 uint32_t dimX;
|
/frameworks/rs/driver/ |
D | rsdIntrinsicBlur.cpp | 154 validX = rsMin(validX, (int)(p->dimX - 1)); in OneH() 181 if (p->dimX > 2048) { in Blur_uchar4() 182 if ((p->dimX > cp->scratchSize[p->lid]) || !cp->scratch[p->lid]) { in Blur_uchar4() 183 cp->scratch[p->lid] = realloc(cp->scratch[p->lid], p->dimX * 16); in Blur_uchar4() 184 cp->scratchSize[p->lid] = p->dimX; in Blur_uchar4() 200 if (vx2 >= p->dimX) { in Blur_uchar4() 201 vx2 = p->dimX - 1; in Blur_uchar4()
|
D | rsdIntrinsicYuvToRGB.cpp | 96 const uchar *Y = pin + (p->y * p->dimX); in YuvToRGB_uchar4() 97 const uchar *uv = pin + (p->dimX * p->dimY); in YuvToRGB_uchar4() 98 uv += (p->y>>1) * p->dimX; in YuvToRGB_uchar4()
|
D | rsdBcc.cpp | 260 mtls->fep.dimX = ain->getType()->getDimX(); in rsdScriptInvokeForEachMtlsSetup() 265 mtls->fep.dimX = aout->getType()->getDimX(); in rsdScriptInvokeForEachMtlsSetup() 275 mtls->xEnd = mtls->fep.dimX; in rsdScriptInvokeForEachMtlsSetup() 277 rsAssert(sc->xStart < mtls->fep.dimX); in rsdScriptInvokeForEachMtlsSetup() 278 rsAssert(sc->xEnd <= mtls->fep.dimX); in rsdScriptInvokeForEachMtlsSetup() 280 mtls->xStart = rsMin(mtls->fep.dimX, sc->xStart); in rsdScriptInvokeForEachMtlsSetup() 281 mtls->xEnd = rsMin(mtls->fep.dimX, sc->xEnd); in rsdScriptInvokeForEachMtlsSetup() 368 uint32_t s1 = mtls->fep.dimX / ((dc->mWorkers.mCount + 1) * 4); in rsdScriptLaunchThreads()
|
D | rsdAllocation.cpp | 237 drv->lod[0].dimX = type->getDimX(); in AllocationBuildPointerTable() 240 drv->lod[0].stride = drv->lod[0].dimX * type->getElementSizeBytes(); in AllocationBuildPointerTable() 249 uint32_t tx = drv->lod[0].dimX; in AllocationBuildPointerTable() 253 drv->lod[lod].dimX = tx; in AllocationBuildPointerTable() 382 const uint32_t dimX = newType->getDimX(); in rsdAllocationResize() local 384 if (dimX > oldDimX) { in rsdAllocationResize() 387 0, stride * (dimX - oldDimX)); in rsdAllocationResize() 414 RSD_CALL_GL(glReadPixels, 0, 0, drv->lod[0].dimX, drv->lod[0].dimY, in rsdAllocationSyncFromFBO() 771 uint32_t w = drv->lod[lod + 1].dimX; in mip565() 790 uint32_t w = drv->lod[lod + 1].dimX; in mip8888() [all …]
|
/frameworks/support/renderscript/v8/rs_support/driver/ |
D | rsdIntrinsicYuvToRGB.cpp | 92 const uchar *Y = pin + (p->y * p->dimX); in YuvToRGB_uchar4() 93 const uchar *uv = pin + (p->dimX * p->dimY); in YuvToRGB_uchar4() 94 uv += (p->y>>1) * p->dimX; in YuvToRGB_uchar4()
|
D | rsdAllocation.cpp | 72 drv->lod[0].dimX = type->getDimX(); in AllocationBuildPointerTable() 75 drv->lod[0].stride = drv->lod[0].dimX * type->getElementSizeBytes(); in AllocationBuildPointerTable() 84 uint32_t tx = drv->lod[0].dimX; in AllocationBuildPointerTable() 88 drv->lod[lod].dimX = tx; in AllocationBuildPointerTable() 200 const uint32_t dimX = newType->getDimX(); in rsdAllocationResize() local 202 if (dimX > oldDimX) { in rsdAllocationResize() 205 0, stride * (dimX - oldDimX)); in rsdAllocationResize() 464 uint32_t w = drv->lod[lod + 1].dimX; in mip565() 483 uint32_t w = drv->lod[lod + 1].dimX; in mip8888() 502 uint32_t w = drv->lod[lod + 1].dimX; in mip8()
|
/frameworks/rs/cpp/ |
D | Allocation.h | 112 void resize(int dimX); 113 void resize(int dimX, int dimY);
|