/frameworks/base/graphics/java/android/renderscript/ |
H A D | AllocationAdapter.java | 242 * @param dimX ignored. 244 public synchronized void resize(int dimX) { argument
|
H A D | Allocation.java | 829 * @param dimX The new size of the allocation. 831 public synchronized void resize(int dimX) { argument 835 mRS.nAllocationResize1D(getID(), dimX); 845 public void resize(int dimX, int dimY) { 852 mRS.nAllocationResize2D(getID(), dimX, dimY);
|
H A D | RenderScript.java | 383 native void rsnAllocationResize1D(int con, int id, int dimX); argument 384 synchronized void nAllocationResize1D(int id, int dimX) { argument 386 rsnAllocationResize1D(mContext, id, dimX); 388 native void rsnAllocationResize2D(int con, int id, int dimX, int dimY); argument 389 synchronized void nAllocationResize2D(int id, int dimX, int dimY) { argument 391 rsnAllocationResize2D(mContext, id, dimX, dimY);
|
/frameworks/base/libs/rs/ |
H A D | rsType.cpp | 210 uint32_t dimX, uint32_t dimY, uint32_t dimZ, 220 if (t->getDimX() != dimX) continue; 235 nt->mDimX = dimX; 249 ObjectBaseRef<Type> Type::cloneAndResize1D(Context *rsc, uint32_t dimX) const { 250 return getTypeRef(rsc, mElement.get(), dimX, 255 uint32_t dimX, 257 return getTypeRef(rsc, mElement.get(), dimX, dimY, 267 RsType rsi_TypeCreate(Context *rsc, RsElement _e, uint32_t dimX, argument 271 return Type::getType(rsc, e, dimX, dimY, dimZ, mips, faces); 209 getTypeRef(Context *rsc, const Element *e, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool dimLOD, bool dimFaces) argument 254 cloneAndResize2D(Context *rsc, uint32_t dimX, uint32_t dimY) const argument
|
H A D | rsAllocation.cpp | 306 void Allocation::resize1D(Context *rsc, uint32_t dimX) { argument 308 if (dimX == oldDimX) { 312 ObjectBaseRef<Type> t = mHal.state.type->cloneAndResize1D(rsc, dimX); 313 if (dimX < oldDimX) { 314 decRefs(getPtr(), oldDimX - dimX, dimX); local 321 void Allocation::resize2D(Context *rsc, uint32_t dimX, uint32_t dimY) { argument 454 void rsi_AllocationResize1D(Context *rsc, RsAllocation va, uint32_t dimX) { argument 456 a->resize1D(rsc, dimX); 459 void rsi_AllocationResize2D(Context *rsc, RsAllocation va, uint32_t dimX, uint32_ argument [all...] |
/frameworks/compile/libbcc/lib/ScriptCRT/ |
H A D | rs_core.c | 288 const uint32_t dimX = alloc->mHal.state.dimensionX; local 289 return &p[eSize * (x + y * dimX)]; 297 const uint32_t dimX = alloc->mHal.state.dimensionX; local 299 return &p[eSize * (x + y * dimX + z * dimX * dimY)];
|
/frameworks/base/libs/rs/driver/ |
H A D | rsdAllocation.cpp | 294 const uint32_t dimX = newType->getDimX(); local 296 if (dimX > oldDimX) { 299 memset(((uint8_t *)drv->mallocPtr) + stride * oldDimX, 0, stride * (dimX - oldDimX));
|
H A D | rsdBcc.cpp | 213 uint32_t dimX; member in struct:__anon282 242 uint32_t offset = mtls->dimX * p.y; 301 mtls.dimX = ain->getType()->getDimX(); 306 mtls.dimX = aout->getType()->getDimX(); 316 mtls.xEnd = mtls.dimX; 318 rsAssert(sc->xStart < mtls.dimX); 319 rsAssert(sc->xEnd <= mtls.dimX); 321 mtls.xStart = rsMin(mtls.dimX, sc->xStart); 322 mtls.xEnd = rsMin(mtls.dimX, sc->xEnd); 390 uint32_t offset = mtls.dimX * mtl [all...] |
/frameworks/base/graphics/jni/ |
H A D | android_renderscript_RenderScript.cpp | 694 nAllocationResize1D(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint dimX) argument 696 LOG_API("nAllocationResize1D, con(%p), alloc(%p), sizeX(%i)", con, (RsAllocation)alloc, dimX); 697 rsAllocationResize1D(con, (RsAllocation)alloc, dimX); 701 nAllocationResize2D(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint dimX, jint dimY) argument 703 LOG_API("nAllocationResize1D, con(%p), alloc(%p), sizeX(%i), sizeY(%i)", con, (RsAllocation)alloc, dimX, dimY); 704 rsAllocationResize2D(con, (RsAllocation)alloc, dimX, dimY);
|