/frameworks/base/graphics/java/android/renderscript/ |
H A D | AllocationAdapter.java | 243 * @param dimX ignored. 245 public synchronized void resize(int dimX) { argument
|
H A D | Allocation.java | 1333 * @param dimX The new size of the allocation. 1338 public synchronized void resize(int dimX) { argument 1342 mRS.nAllocationResize1D(getID(mRS), dimX);
|
H A D | RenderScript.java | 528 native void rsnAllocationResize1D(int con, int id, int dimX); argument 529 synchronized void nAllocationResize1D(int id, int dimX) { argument 531 rsnAllocationResize1D(mContext, id, dimX);
|
/frameworks/rs/cpp/ |
H A D | Type.cpp | 102 sp<const Type> Type::create(sp<RS> rs, sp<const Element> e, uint32_t dimX, uint32_t dimY, uint32_t dimZ) { argument 103 void * id = RS::dispatch->TypeCreate(rs->getContext(), e->getID(), dimX, dimY, dimZ, false, false, 0); 107 t->mDimX = dimX;
|
/frameworks/rs/ |
H A D | rsType.h | 44 uint32_t dimX; member in struct:android::renderscript::Type::Hal::State 66 uint32_t getDimX() const {return mHal.state.dimX;} 97 ObjectBaseRef<Type> cloneAndResize1D(Context *rsc, uint32_t dimX) const; 98 ObjectBaseRef<Type> cloneAndResize2D(Context *rsc, uint32_t dimX, uint32_t dimY) const; 101 uint32_t dimX, uint32_t dimY, uint32_t dimZ, 105 uint32_t dimX, uint32_t dimY, uint32_t dimZ, 107 ObjectBaseRef<Type> type = getTypeRef(rsc, e, dimX, dimY, dimZ, dimLOD, dimFaces, yuv);
|
H A D | rsAllocation.h | 79 uint32_t dimX; member in struct:android::renderscript::Allocation::Hal::DrvState::LodState 111 void resize1D(Context *rsc, uint32_t dimX); 112 void resize2D(Context *rsc, uint32_t dimX, uint32_t dimY);
|
H A D | rsType.cpp | 68 uint32_t l2x = rsFindHighBit(mHal.state.dimX) + 1; 88 uint32_t tx = mHal.state.dimX; 138 mHal.state.dimX, 154 stream->addU32(mHal.state.dimX); 207 uint32_t dimX, uint32_t dimY, uint32_t dimZ, 217 if (t->getDimX() != dimX) continue; 234 nt->mHal.state.dimX = dimX; 248 ObjectBaseRef<Type> Type::cloneAndResize1D(Context *rsc, uint32_t dimX) const { 249 return getTypeRef(rsc, mElement.get(), dimX, 206 getTypeRef(Context *rsc, const Element *e, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool dimLOD, bool dimFaces, uint32_t dimYuv) argument 253 cloneAndResize2D(Context *rsc, uint32_t dimX, uint32_t dimY) const argument 297 rsi_TypeCreate(Context *rsc, RsElement _e, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mips, bool faces, uint32_t yuv) argument [all...] |
H A D | rs_hal.h | 63 uint32_t dimX; member in struct:android::renderscript::__anon1649
|
H A D | rsAllocation.cpp | 178 if (x >= mHal.drvState.lod[0].dimX) { 200 if (x >= mHal.drvState.lod[0].dimX) { 441 void Allocation::resize1D(Context *rsc, uint32_t dimX) { argument 442 uint32_t oldDimX = mHal.drvState.lod[0].dimX; 443 if (dimX == oldDimX) { 447 ObjectBaseRef<Type> t = mHal.state.type->cloneAndResize1D(rsc, dimX); 448 if (dimX < oldDimX) { 449 decRefs(rsc->mHal.funcs.allocation.lock1D(rsc, this), oldDimX - dimX, dimX); 457 void Allocation::resize2D(Context *rsc, uint32_t dimX, uint32_ argument 584 rsi_AllocationResize1D(Context *rsc, RsAllocation va, uint32_t dimX) argument 589 rsi_AllocationResize2D(Context *rsc, RsAllocation va, uint32_t dimX, uint32_t dimY) argument [all...] |
/frameworks/rs/driver/runtime/ |
H A D | rs_structs.h | 50 uint32_t dimX; member in struct:Allocation::__anon1619::DrvState::LodState 221 uint32_t dimX; member in struct:Type::__anon1629::__anon1630
|
/frameworks/rs/driver/ |
H A D | rsdAllocation.cpp | 222 alloc->mHal.drvState.lod[0].dimX, alloc->mHal.drvState.lod[0].dimY); 259 state->lod[1].dimX = state->lod[0].dimX / 2; 261 state->lod[2].dimX = state->lod[0].dimX / 2; 281 //state->lod[1].dimX = state->lod[0].dimX; 305 alloc->mHal.drvState.lod[0].dimX = type->getDimX(); 310 size_t stride = alloc->mHal.drvState.lod[0].dimX * type->getElementSizeBytes(); 321 uint32_t tx = alloc->mHal.drvState.lod[0].dimX; 525 const uint32_t dimX = newType->getDimX(); local [all...] |
/frameworks/support/v8/renderscript/jni/ |
H A D | android_renderscript_RenderScript.cpp | 675 nAllocationResize1D(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint dimX) argument 677 LOG_API("nAllocationResize1D, con(%p), alloc(%p), sizeX(%i)", con, (RsAllocation)alloc, dimX); 678 rsAllocationResize1D(con, (RsAllocation)alloc, dimX);
|
/frameworks/base/graphics/jni/ |
H A D | android_renderscript_RenderScript.cpp | 844 nAllocationResize1D(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint dimX) argument 846 LOG_API("nAllocationResize1D, con(%p), alloc(%p), sizeX(%i)", con, (RsAllocation)alloc, dimX); 847 rsAllocationResize1D(con, (RsAllocation)alloc, dimX);
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | RenderScript.java | 434 native void rsnAllocationResize1D(int con, int id, int dimX); argument 435 synchronized void nAllocationResize1D(int id, int dimX) { argument 437 rsnAllocationResize1D(mContext, id, dimX); 439 native void rsnAllocationResize2D(int con, int id, int dimX, int dimY); argument 440 synchronized void nAllocationResize2D(int id, int dimX, int dimY) { argument 442 rsnAllocationResize2D(mContext, id, dimX, dimY);
|