/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/ |
UT_array_alloc.java | 36 int dimX = s.get_dimX(); 37 Allocation[] Arr = new Allocation[dimX]; 40 for (int i = 0; i < dimX; i++) {
|
/frameworks/rs/ |
rsType.h | 44 uint32_t dimX; 66 uint32_t getDimX() const {return mHal.state.dimX;} 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, 116 ObjectBaseRef<Type> type = getTypeRef(rsc, e, dimX, dimY, dimZ, dimLOD, dimFaces);
|
rsType.cpp | 66 uint32_t l2x = rsFindHighBit(mHal.state.dimX) + 1; 88 uint32_t tx = mHal.state.dimX; 149 mHal.state.dimX, 167 stream->addU32(mHal.state.dimX); 219 uint32_t dimX, uint32_t dimY, uint32_t dimZ, 229 if (t->getDimX() != dimX) continue; 245 nt->mHal.state.dimX = dimX; 258 ObjectBaseRef<Type> Type::cloneAndResize1D(Context *rsc, uint32_t dimX) const { 259 return getTypeRef(rsc, mElement.get(), dimX, [all...] |
rsAllocation.cpp | 420 void Allocation::resize1D(Context *rsc, uint32_t dimX) { 422 if (dimX == oldDimX) { 426 ObjectBaseRef<Type> t = mHal.state.type->cloneAndResize1D(rsc, dimX); 427 if (dimX < oldDimX) { 428 decRefs(rsc->mHal.funcs.allocation.lock1D(rsc, this), oldDimX - dimX, dimX); 436 void Allocation::resize2D(Context *rsc, uint32_t dimX, uint32_t dimY) { 540 void rsi_AllocationResize1D(Context *rsc, RsAllocation va, uint32_t dimX) { 542 a->resize1D(rsc, dimX); 545 void rsi_AllocationResize2D(Context *rsc, RsAllocation va, uint32_t dimX, uint32_t dimY) [all...] |
rsAllocation.h | 92 void resize1D(Context *rsc, uint32_t dimX); 93 void resize2D(Context *rsc, uint32_t dimX, uint32_t dimY);
|
rs.spec | 32 param uint32_t dimX 232 param uint32_t dimX 237 param uint32_t dimX
|
/frameworks/support/renderscript/v8/rs_support/ |
rsType.h | 44 uint32_t dimX; 66 uint32_t getDimX() const {return mHal.state.dimX;} 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, 116 ObjectBaseRef<Type> type = getTypeRef(rsc, e, dimX, dimY, dimZ, dimLOD, dimFaces);
|
rsType.cpp | 66 uint32_t l2x = rsFindHighBit(mHal.state.dimX) + 1; 88 uint32_t tx = mHal.state.dimX; 149 mHal.state.dimX, 167 stream->addU32(mHal.state.dimX); 219 uint32_t dimX, uint32_t dimY, uint32_t dimZ, 229 if (t->getDimX() != dimX) continue; 245 nt->mHal.state.dimX = dimX; 258 ObjectBaseRef<Type> Type::cloneAndResize1D(Context *rsc, uint32_t dimX) const { 259 return getTypeRef(rsc, mElement.get(), dimX, [all...] |
rsAllocation.cpp | 398 void Allocation::resize1D(Context *rsc, uint32_t dimX) { 400 if (dimX == oldDimX) { 404 ObjectBaseRef<Type> t = mHal.state.type->cloneAndResize1D(rsc, dimX); 405 if (dimX < oldDimX) { 406 decRefs(rsc->mHal.funcs.allocation.lock1D(rsc, this), oldDimX - dimX, dimX); 414 void Allocation::resize2D(Context *rsc, uint32_t dimX, uint32_t dimY) { 478 void rsi_AllocationResize1D(Context *rsc, RsAllocation va, uint32_t dimX) { 480 a->resize1D(rsc, dimX); 483 void rsi_AllocationResize2D(Context *rsc, RsAllocation va, uint32_t dimX, uint32_t dimY) [all...] |
rs.spec | 32 param uint32_t dimX 170 param uint32_t dimX 175 param uint32_t dimX
|
rsAllocation.h | 89 void resize1D(Context *rsc, uint32_t dimX); 90 void resize2D(Context *rsc, uint32_t dimX, uint32_t dimY);
|
/frameworks/rs/driver/ |
rsdIntrinsicYuvToRGB.cpp | 96 const uchar *Y = pin + (p->y * p->dimX); 97 const uchar *uv = pin + (p->dimX * p->dimY); 98 uv += (p->y>>1) * p->dimX;
|
rsdAllocation.cpp | 237 drv->lod[0].dimX = type->getDimX(); 240 drv->lod[0].stride = drv->lod[0].dimX * type->getElementSizeBytes(); 249 uint32_t tx = drv->lod[0].dimX; 253 drv->lod[lod].dimX = tx; 382 const uint32_t dimX = newType->getDimX(); 384 if (dimX > oldDimX) { 387 0, stride * (dimX - oldDimX)); 414 RSD_CALL_GL(glReadPixels, 0, 0, drv->lod[0].dimX, drv->lod[0].dimY, 771 uint32_t w = drv->lod[lod + 1].dimX; 790 uint32_t w = drv->lod[lod + 1].dimX; [all...] |
rsdBcc.cpp | 258 mtls->fep.dimX = ain->getType()->getDimX(); 263 mtls->fep.dimX = aout->getType()->getDimX(); 273 mtls->xEnd = mtls->fep.dimX; 275 rsAssert(sc->xStart < mtls->fep.dimX); 276 rsAssert(sc->xEnd <= mtls->fep.dimX); 278 mtls->xStart = rsMin(mtls->fep.dimX, sc->xStart); 279 mtls->xEnd = rsMin(mtls->fep.dimX, sc->xEnd); 354 mtls->mSliceSize = mtls->fep.dimX / (dc->mWorkers.mCount * 4);
|
rsdIntrinsicConvolve5x5.cpp | 59 uint32_t x3 = rsMin((int32_t)x+1, (int32_t)(p->dimX-1)); 60 uint32_t x4 = rsMin((int32_t)x+2, (int32_t)(p->dimX-1));
|
/frameworks/support/renderscript/v8/rs_support/driver/ |
rsdIntrinsicYuvToRGB.cpp | 92 const uchar *Y = pin + (p->y * p->dimX); 93 const uchar *uv = pin + (p->dimX * p->dimY); 94 uv += (p->y>>1) * p->dimX;
|
rsdAllocation.cpp | 72 drv->lod[0].dimX = type->getDimX(); 75 drv->lod[0].stride = drv->lod[0].dimX * type->getElementSizeBytes(); 84 uint32_t tx = drv->lod[0].dimX; 88 drv->lod[lod].dimX = tx; 200 const uint32_t dimX = newType->getDimX(); 202 if (dimX > oldDimX) { 205 0, stride * (dimX - oldDimX)); 464 uint32_t w = drv->lod[lod + 1].dimX; 483 uint32_t w = drv->lod[lod + 1].dimX; 502 uint32_t w = drv->lod[lod + 1].dimX; [all...] |
rsdBcc.cpp | 433 mtls->fep.dimX = ain->getType()->getDimX(); 438 mtls->fep.dimX = aout->getType()->getDimX(); 448 mtls->xEnd = mtls->fep.dimX; 450 rsAssert(sc->xStart < mtls->fep.dimX); 451 rsAssert(sc->xEnd <= mtls->fep.dimX); 453 mtls->xStart = rsMin(mtls->fep.dimX, sc->xStart); 454 mtls->xEnd = rsMin(mtls->fep.dimX, sc->xEnd); 529 mtls->mSliceSize = mtls->fep.dimX / (dc->mWorkers.mCount * 4);
|
rsdIntrinsicConvolve5x5.cpp | 59 uint32_t x3 = rsMin((int32_t)x+1, (int32_t)(p->dimX-1)); 60 uint32_t x4 = rsMin((int32_t)x+2, (int32_t)(p->dimX-1));
|
/frameworks/rs/cpp/ |
Allocation.h | 112 void resize(int dimX); 113 void resize(int dimX, int dimY);
|
/frameworks/compile/libbcc/lib/Renderscript/runtime/ |
rs_structs.h | 209 uint32_t dimX;
|
/frameworks/base/graphics/java/android/renderscript/ |
AllocationAdapter.java | 242 * @param dimX ignored. 244 public synchronized void resize(int dimX) {
|
RenderScript.java | 430 native void rsnAllocationResize1D(int con, int id, int dimX); 431 synchronized void nAllocationResize1D(int id, int dimX) { 433 rsnAllocationResize1D(mContext, id, dimX); 435 native void rsnAllocationResize2D(int con, int id, int dimX, int dimY); 436 synchronized void nAllocationResize2D(int id, int dimX, int dimY) { 438 rsnAllocationResize2D(mContext, id, dimX, dimY); [all...] |
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/ |
AllocationAdapter.java | 242 * @param dimX ignored. 244 public synchronized void resize(int dimX) {
|
RenderScript.java | 336 native void rsnAllocationResize1D(int con, int id, int dimX); 337 synchronized void nAllocationResize1D(int id, int dimX) { 339 rsnAllocationResize1D(mContext, id, dimX); 341 native void rsnAllocationResize2D(int con, int id, int dimX, int dimY); 342 synchronized void nAllocationResize2D(int id, int dimX, int dimY) { 344 rsnAllocationResize2D(mContext, id, dimX, dimY);
|