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

/frameworks/base/graphics/java/android/renderscript/
H A DAllocationAdapter.java243 * @param dimX ignored.
245 public synchronized void resize(int dimX) { argument
H A DAllocation.java1333 * @param dimX The new size of the allocation.
1338 public synchronized void resize(int dimX) { argument
1342 mRS.nAllocationResize1D(getID(mRS), dimX);
H A DRenderScript.java528 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 DType.cpp102 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 DrsType.h44 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 DrsAllocation.h79 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 DrsType.cpp68 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 Drs_hal.h63 uint32_t dimX; member in struct:android::renderscript::__anon1649
H A DrsAllocation.cpp178 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 Drs_structs.h50 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 DrsdAllocation.cpp222 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 Dandroid_renderscript_RenderScript.cpp675 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 Dandroid_renderscript_RenderScript.cpp844 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 DRenderScript.java434 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);

Completed in 401 milliseconds