/frameworks/rs/ |
H A D | rsType.h | 45 uint32_t dimY; member in struct:android::renderscript::Type::Hal::State 69 uint32_t getDimY() const {return mHal.state.dimY;} 100 ObjectBaseRef<Type> cloneAndResize2D(Context *rsc, uint32_t dimX, uint32_t dimY) const; 103 uint32_t dimX, uint32_t dimY, uint32_t dimZ, 107 uint32_t dimX, uint32_t dimY, uint32_t dimZ, 109 ObjectBaseRef<Type> type = getTypeRef(rsc, e, dimX, dimY, dimZ, dimLOD, dimFaces, yuv);
|
H A D | rsType.cpp | 76 uint32_t l2y = rsFindHighBit(mHal.state.dimY) + 1; 100 uint32_t ty = mHal.state.dimY; 153 mHal.state.dimY, 169 stream->addU32(mHal.state.dimY); 221 uint32_t dimX, uint32_t dimY, uint32_t dimZ, 232 if (t->getDimY() != dimY) continue; 261 nt->mHal.state.dimY = dimY; 281 uint32_t dimY) const { 282 return getTypeRef(rsc, mElement.get(), dimX, dimY, 220 getTypeRef(Context *rsc, const Element *e, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool dimLOD, bool dimFaces, uint32_t dimYuv) argument 330 rsi_TypeCreate(Context *rsc, RsElement _e, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, uint32_t yuv) argument [all...] |
H A D | rsAllocation.h | 80 uint32_t dimY; member in struct:android::renderscript::Allocation::Hal::DrvState::LodState 114 void resize2D(Context *rsc, uint32_t dimX, uint32_t dimY);
|
H A D | rsGrallocConsumer.cpp | 45 uint32_t y = a->mHal.drvState.lod[0].dimY; 139 assert(mAlloc->mHal.drvState.lod[0].dimY ==
|
H A D | rsAllocation.cpp | 109 if ((stride != NULL) && mHal.drvState.lod[0].dimY) { 225 if (y >= mHal.drvState.lod[0].dimY) { 484 void Allocation::resize2D(Context *rsc, uint32_t dimX, uint32_t dimY) { argument 630 void rsi_AllocationResize2D(Context *rsc, RsAllocation va, uint32_t dimX, uint32_t dimY) { argument 632 a->resize2D(rsc, dimX, dimY);
|
H A D | rs.spec | 38 param uint32_t dimY
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | Type.java | 242 * @param dimY The Y dimension, must be > 0 246 static public Type createXY(RenderScript rs, Element e, int dimX, int dimY) { argument 247 if ((dimX < 1) || (dimY < 1)) { 251 long id = rs.nTypeCreate(e.getID(rs), dimX, dimY, 0, false, false, 0); 255 t.mDimY = dimY; 267 * @param dimY The Y dimension, must be > 0 272 static public Type createXYZ(RenderScript rs, Element e, int dimX, int dimY, int dimZ) { argument 273 if ((dimX < 1) || (dimY < 1) || (dimZ < 1)) { 277 long id = rs.nTypeCreate(e.getID(rs), dimX, dimY, dimZ, false, false, 0); 281 t.mDimY = dimY; [all...] |
/frameworks/rs/driver/runtime/ |
H A D | rs_allocation.c | 14 return alloc->mHal.drvState.lod[0].dimY; 113 const uint32_t dimY = alloc->mHal.drvState.lod[0].dimY; local 115 (z * stride * dimY)]; 128 const uint32_t dimY = alloc->mHal.drvState.lod[0].dimY; local 131 (z * stride * dimY)]; 212 const uint32_t dimY = alloc->mHal.drvState.lod[0].dimY; local 213 return &p[(eSize * x) + (y * stride) + (z * stride * dimY)]; 238 const uint32_t dimY = alloc->mHal.drvState.lod[0].dimY; local [all...] |
H A D | rs_structs.h | 55 uint32_t dimY; member in struct:Allocation::__anon1498::DrvState::LodState 240 uint32_t dimY; member in struct:Type::__anon1508::__anon1509
|
H A D | rs_sample.c | 475 int sourceH = alloc->mHal.drvState.lod[lod].dimY; 520 int sourceH = alloc->mHal.drvState.lod[lod].dimY;
|
/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); 108 t->mDimY = dimY;
|
H A D | rsCppStructs.h | 1293 * @param[in] dimY Y dimension 1297 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 D | rsCpuIntrinsicConvolve5x5.cpp | 363 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)); 423 uint32_t y3 = rsMin((int32_t)p->y+1, (int32_t)(p->dimY-1)); 424 uint32_t y4 = rsMin((int32_t)p->y+2, (int32_t)(p->dimY-1)); 472 uint32_t y3 = rsMin((int32_t)p->y+1, (int32_t)(p->dimY-1)); 473 uint32_t y4 = rsMin((int32_t)p->y+2, (int32_t)(p->dimY-1)); 521 uint32_t y3 = rsMin((int32_t)p->y+1, (int32_t)(p->dimY-1)); 522 uint32_t y4 = rsMin((int32_t)p->y+2, (int32_t)(p->dimY-1)); 570 uint32_t y3 = rsMin((int32_t)p->y+1, (int32_t)(p->dimY-1)); 571 uint32_t y4 = rsMin((int32_t)p->y+2, (int32_t)(p->dimY [all...] |
H A D | rsCpuScript.cpp | 818 mtls->fep.dimY = inType->getDimY(); 825 mtls->fep.dimY = outType->getDimY(); 854 mtls->yEnd = mtls->fep.dimY; 856 rsAssert(sc->yStart < mtls->fep.dimY); 857 rsAssert(sc->yEnd <= mtls->fep.dimY); 859 mtls->yStart = rsMin(mtls->fep.dimY, sc->yStart); 860 mtls->yEnd = rsMin(mtls->fep.dimY, sc->yEnd); 939 mtls->fep.dimY = inType->getDimY(); 955 mtls->fep.dimY = outType->getDimY(); 984 mtls->yEnd = mtls->fep.dimY; [all...] |
H A D | rsCpuIntrinsicBlur.cpp | 124 validY = rsMin(validY, (int)(p->dimY - 1)); 142 validY = rsMin(validY, (int)(p->dimY - 1)); 301 rsdIntrinsicBlurU4_K(out, (uchar4 const *)(pin + stride * p->y), p->dimX, p->dimY, 318 if ((y > cp->mIradius) && (y < ((int)p->dimY - cp->mIradius))) { 371 rsdIntrinsicBlurU1_K(out, pin + stride * p->y, p->dimX, p->dimY, 379 if ((y > cp->mIradius) && (y < ((int)p->dimY - cp->mIradius -1))) {
|
H A D | rsCpuCore.cpp | 173 if (mtls && mtls->fep.dimY <= 1 && mtls->xEnd <= mtls->xStart + mtls->mSliceSize) { 418 if (mtls->fep.dimY > 1) { 419 uint32_t s1 = mtls->fep.dimY / ((mWorkers.mCount + 1) * 4); 469 uint32_t offset = mtls->fep.dimY * mtls->fep.dimZ * p.ar[0] + 470 mtls->fep.dimY * p.z + p.y; 490 if (mtls->fep.dimY > 1) { 491 uint32_t s1 = mtls->fep.dimY / ((mWorkers.mCount + 1) * 4); 549 uint32_t offset_invariant = mtls->fep.dimY * mtls->fep.dimZ * p.ar[0]; 556 uint32_t offset = offset_part + mtls->fep.dimY * p.z + p.y;
|
H A D | rsCpuIntrinsic3DLUT.cpp | 75 static_cast<int>(cp->mLUT->mHal.drvState.lod[0].dimY - 1), 82 const size_t stride_z = stride_y * cp->mLUT->mHal.drvState.lod[0].dimY;
|
H A D | rsCpuIntrinsicYuvToRGB.cpp | 121 if (cp->alloc->mHal.drvState.lod[0].dimY == 0) { 143 //ALOGE("dimX, %d, dimY, %d", cp->alloc->mHal.drvState.lod[0].dimX, cp->alloc->mHal.drvState.lod[0].dimY); 144 //ALOGE("p->dimX, %d, p->dimY, %d", p->dimX, p->dimY); 149 (strideY * p->dimY) +
|
H A D | rsCpuIntrinsicResize.cpp | 188 const int srcHeight = cp->mAlloc->mHal.drvState.lod[0].dimY; 228 const int srcHeight = cp->mAlloc->mHal.drvState.lod[0].dimY; 268 const int srcHeight = cp->mAlloc->mHal.drvState.lod[0].dimY; 315 const uint32_t srcHeight = mAlloc->mHal.drvState.lod[0].dimY; 333 scaleY = (float)srcHeight / aout->mHal.drvState.lod[0].dimY;
|
H A D | rsCpuCore.h | 60 uint32_t dimY; member in struct:android::renderscript::__anon1483
|
H A D | rsCpuScriptGroup.cpp | 80 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 D | rsCpuIntrinsicConvolve3x3.cpp | 198 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 D | rsdAllocation.cpp | 97 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 D | RenderScript.java | 520 native void rsnAllocationResize2D(int con, int id, int dimX, int dimY); argument 521 synchronized void nAllocationResize2D(int id, int dimX, int dimY) { argument 523 rsnAllocationResize2D(mContext, id, dimX, dimY);
|