Searched defs:dimX (Results 1 - 9 of 9) sorted by relevance

/frameworks/base/graphics/java/android/renderscript/
H A DAllocationAdapter.java242 * @param dimX ignored.
244 public synchronized void resize(int dimX) { argument
H A DAllocation.java829 * @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 DRenderScript.java383 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 DrsType.cpp210 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 DrsAllocation.cpp306 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 Drs_core.c288 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 DrsdAllocation.cpp294 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 DrsdBcc.cpp213 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 Dandroid_renderscript_RenderScript.cpp694 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);

Completed in 132 milliseconds