Searched refs:dimY (Results 1 - 22 of 22) sorted by relevance

/frameworks/rs/
H A DrsType.h45 uint32_t dimY; member in struct:android::renderscript::Type::Hal::State
67 uint32_t getDimY() const {return mHal.state.dimY;}
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 DrsType.cpp69 uint32_t l2y = rsFindHighBit(mHal.state.dimY) + 1;
89 uint32_t ty = mHal.state.dimY;
139 mHal.state.dimY,
155 stream->addU32(mHal.state.dimY);
207 uint32_t dimX, uint32_t dimY, uint32_t dimZ,
218 if (t->getDimY() != dimY) continue;
235 nt->mHal.state.dimY = dimY;
255 uint32_t dimY) const {
256 return getTypeRef(rsc, mElement.get(), dimX, dimY,
206 getTypeRef(Context *rsc, const Element *e, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool dimLOD, bool dimFaces, uint32_t dimYuv) 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 DrsAllocation.h80 uint32_t dimY; member in struct:android::renderscript::Allocation::Hal::DrvState::LodState
112 void resize2D(Context *rsc, uint32_t dimX, uint32_t dimY);
H A DrsGrallocConsumer.cpp40 uint32_t y = a->mHal.drvState.lod[0].dimY;
134 assert(mAlloc->mHal.drvState.lod[0].dimY ==
H A DrsAllocation.cpp206 if (y >= mHal.drvState.lod[0].dimY) {
457 void Allocation::resize2D(Context *rsc, uint32_t dimX, uint32_t dimY) { argument
589 void rsi_AllocationResize2D(Context *rsc, RsAllocation va, uint32_t dimX, uint32_t dimY) { argument
591 a->resize2D(rsc, dimX, dimY);
H A Drs.spec38 param uint32_t dimY
H A Drs_hal.h64 uint32_t dimY; member in struct:android::renderscript::__anon1649
/frameworks/rs/driver/runtime/
H A Drs_structs.h51 uint32_t dimY; member in struct:Allocation::__anon1619::DrvState::LodState
222 uint32_t dimY; member in struct:Type::__anon1629::__anon1630
H A Drs_allocation.c15 return alloc->mHal.drvState.lod[0].dimY;
111 const uint32_t dimY = alloc->mHal.drvState.lod[0].dimY; local
113 (z * stride * dimY)];
185 const uint32_t dimY = alloc->mHal.drvState.lod[0].dimY; local
186 return &p[(eSize * x) + (y * stride) + (z * stride * dimY)];
211 const uint32_t dimY = alloc->mHal.drvState.lod[0].dimY; local
212 memcpy((void*)&p[(eSize * x) + (y * stride) + (z * stride * dimY)], pt
[all...]
H A Drs_sample.c476 int sourceH = alloc->mHal.drvState.lod[lod].dimY;
521 int sourceH = alloc->mHal.drvState.lod[lod].dimY;
/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);
108 t->mDimY = dimY;
H A DrsCppStructs.h1280 * @param[in] dimY Y dimension
1284 static sp<const Type> create(sp<RS> rs, sp<const Element> e, uint32_t dimX, uint32_t dimY, uint32_t dimZ);
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsicConvolve5x5.cpp363 uint32_t y3 = rsMin((int32_t)p->y+1, (int32_t)(p->dimY-1));
364 uint32_t y4 = rsMin((int32_t)p->y+2, (int32_t)(p->dimY-1));
412 uint32_t y3 = rsMin((int32_t)p->y+1, (int32_t)(p->dimY-1));
413 uint32_t y4 = rsMin((int32_t)p->y+2, (int32_t)(p->dimY-1));
461 uint32_t y3 = rsMin((int32_t)p->y+1, (int32_t)(p->dimY-1));
462 uint32_t y4 = rsMin((int32_t)p->y+2, (int32_t)(p->dimY-1));
510 uint32_t y3 = rsMin((int32_t)p->y+1, (int32_t)(p->dimY-1));
511 uint32_t y4 = rsMin((int32_t)p->y+2, (int32_t)(p->dimY-1));
559 uint32_t y3 = rsMin((int32_t)p->y+1, (int32_t)(p->dimY-1));
560 uint32_t y4 = rsMin((int32_t)p->y+2, (int32_t)(p->dimY
[all...]
H A DrsCpuIntrinsic3DLUT.cpp74 cp->mLUT->mHal.drvState.lod[0].dimY - 1,
81 const size_t stride_z = stride_y * cp->mLUT->mHal.drvState.lod[0].dimY;
H A DrsCpuIntrinsicYuvToRGB.cpp130 if (cp->alloc->mHal.drvState.lod[0].dimY == 0) {
152 //ALOGE("dimX, %d, dimY, %d", cp->alloc->mHal.drvState.lod[0].dimX, cp->alloc->mHal.drvState.lod[0].dimY);
153 //ALOGE("p->dimX, %d, p->dimY, %d", p->dimX, p->dimY);
158 (strideY * p->dimY) +
H A DrsCpuCore.cpp169 if (mtls && mtls->fep.dimY <= 1 && mtls->xEnd <= mtls->xStart + mtls->mSliceSize) {
410 if (mtls->fep.dimY > 1) {
411 uint32_t s1 = mtls->fep.dimY / ((mWorkers.mCount + 1) * 4);
461 uint32_t offset = mtls->fep.dimY * mtls->fep.dimZ * p.ar[0] +
462 mtls->fep.dimY * p.z + p.y;
H A DrsCpuScript.cpp762 mtls->fep.dimY = ain->getType()->getDimY();
767 mtls->fep.dimY = aout->getType()->getDimY();
787 mtls->yEnd = mtls->fep.dimY;
789 rsAssert(sc->yStart < mtls->fep.dimY);
790 rsAssert(sc->yEnd <= mtls->fep.dimY);
792 mtls->yStart = rsMin(mtls->fep.dimY, sc->yStart);
793 mtls->yEnd = rsMin(mtls->fep.dimY, sc->yEnd);
H A DrsCpuIntrinsicBlur.cpp123 validY = rsMin(validY, (int)(p->dimY - 1));
141 validY = rsMin(validY, (int)(p->dimY - 1));
301 if ((y > cp->mIradius) && (y < ((int)p->dimY - cp->mIradius))) {
353 if ((y > cp->mIradius) && (y < ((int)p->dimY - cp->mIradius -1))) {
H A DrsCpuScriptGroup.cpp80 if (sl->ins[ct]->mHal.drvState.lod[0].dimY > p->lid) {
93 if (sl->outs[ct]->mHal.drvState.lod[0].dimY > p->lid) {
H A DrsCpuIntrinsicConvolve3x3.cpp198 uint32_t y1 = rsMin((int32_t)p->y + 1, (int32_t)(p->dimY-1));
245 uint32_t y1 = rsMin((int32_t)p->y + 1, (int32_t)(p->dimY-1));
290 uint32_t y1 = rsMin((int32_t)p->y + 1, (int32_t)(p->dimY-1));
335 uint32_t y1 = rsMin((int32_t)p->y + 1, (int32_t)(p->dimY-1));
380 uint32_t y1 = rsMin((int32_t)p->y + 1, (int32_t)(p->dimY-1));
424 uint32_t y1 = rsMin((int32_t)p->y + 1, (int32_t)(p->dimY-1));
/frameworks/rs/driver/
H A DrsdAllocation.cpp97 ptr += zoff * alloc->mHal.drvState.lod[lod].dimY * alloc->mHal.drvState.lod[lod].stride;
222 alloc->mHal.drvState.lod[0].dimX, alloc->mHal.drvState.lod[0].dimY);
260 state->lod[1].dimY = state->lod[0].dimY / 2;
262 state->lod[2].dimY = state->lod[0].dimY / 2;
272 (state->lod[0].stride * state->lod[0].dimY);
273 uvSize += state->lod[2].stride * state->lod[2].dimY;
277 (state->lod[2].stride * state->lod[2].dimY);
278 uvSize += state->lod[1].stride * state->lod[2].dimY;
[all...]
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DRenderScript.java439 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 112 milliseconds