/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/ |
D | alloc.rs | 5 int dimY; 22 _RS_ASSERT(rsAllocationGetDimY(aRaw) == dimY); 26 for (j = 0; j < dimY; j++) { 44 for (j = 0; j < dimY; j++) { 54 _RS_ASSERT(rsAllocationGetDimY(aFaces) == dimY); 60 _RS_ASSERT(rsAllocationGetDimY(aLOD) == dimY); 66 _RS_ASSERT(rsAllocationGetDimY(aFacesLOD) == dimY);
|
D | foreach.rs | 5 int dimY; 16 for (j = 0; j < dimY; j++) {
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
D | alloc.rs | 5 int dimY; 22 _RS_ASSERT(rsAllocationGetDimY(aRaw) == dimY); 26 for (j = 0; j < dimY; j++) { 44 for (j = 0; j < dimY; j++) { 54 _RS_ASSERT(rsAllocationGetDimY(aFaces) == dimY); 60 _RS_ASSERT(rsAllocationGetDimY(aLOD) == dimY); 66 _RS_ASSERT(rsAllocationGetDimY(aFacesLOD) == dimY);
|
D | foreach.rs | 5 int dimY; 22 for (j = 0; j < dimY; j++) { 43 for (j = 0; j < dimY; j++) {
|
D | noroot.rs | 5 int dimY; 16 for (j = 0; j < dimY; j++) {
|
D | foreach_bounds.rs | 4 int dimY; 27 for (j = 0; j < dimY; j++) {
|
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/ |
D | alloc.rs | 5 int dimY; 22 _RS_ASSERT(rsAllocationGetDimY(aRaw) == dimY); 26 for (j = 0; j < dimY; j++) { 44 for (j = 0; j < dimY; j++) { 54 _RS_ASSERT(rsAllocationGetDimY(aFaces) == dimY); 60 _RS_ASSERT(rsAllocationGetDimY(aLOD) == dimY); 66 _RS_ASSERT(rsAllocationGetDimY(aFacesLOD) == dimY);
|
D | foreach.rs | 5 int dimY; 16 for (j = 0; j < dimY; j++) {
|
/frameworks/base/rs/java/android/renderscript/ |
D | Type.java | 246 static public Type createXY(RenderScript rs, Element e, int dimX, int dimY) { in createXY() argument 247 if ((dimX < 1) || (dimY < 1)) { in createXY() 251 long id = rs.nTypeCreate(e.getID(rs), dimX, dimY, 0, false, false, 0); in createXY() 255 t.mDimY = dimY; in createXY() 272 static public Type createXYZ(RenderScript rs, Element e, int dimX, int dimY, int dimZ) { in createXYZ() argument 273 if ((dimX < 1) || (dimY < 1) || (dimZ < 1)) { in createXYZ() 277 long id = rs.nTypeCreate(e.getID(rs), dimX, dimY, dimZ, false, false, 0); in createXYZ() 281 t.mDimY = dimY; in createXYZ()
|
/frameworks/rs/ |
D | rsType.h | 45 uint32_t dimY; member 69 uint32_t getDimY() const {return mHal.state.dimY;} in getDimY() 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, in getType() argument 109 ObjectBaseRef<Type> type = getTypeRef(rsc, e, dimX, dimY, dimZ, dimLOD, dimFaces, yuv); in getType()
|
D | rsType.cpp | 76 uint32_t l2y = rsFindHighBit(mHal.state.dimY) + 1; in compute() 100 uint32_t ty = mHal.state.dimY; in compute() 153 mHal.state.dimY, in dumpLOGV() 169 stream->addU32(mHal.state.dimY); in serialize() 221 uint32_t dimX, uint32_t dimY, uint32_t dimZ, in getTypeRef() argument 232 if (t->getDimY() != dimY) continue; in getTypeRef() 261 nt->mHal.state.dimY = dimY; in getTypeRef() 281 uint32_t dimY) const { in cloneAndResize2D() 282 return getTypeRef(rsc, mElement.get(), dimX, dimY, in cloneAndResize2D() 331 uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, uint32_t yuv) { in rsi_TypeCreate() argument [all …]
|
D | rsGrallocConsumer.cpp | 40 uint32_t y = a->mHal.drvState.lod[0].dimY; in GrallocConsumer() 134 assert(mAlloc->mHal.drvState.lod[0].dimY == in lockNextBuffer()
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
D | alloc.rs | 5 int dimY; 35 _RS_ASSERT(rsAllocationGetDimY(aFaces) == dimY); 41 _RS_ASSERT(rsAllocationGetDimY(aLOD) == dimY); 47 _RS_ASSERT(rsAllocationGetDimY(aFacesLOD) == dimY);
|
D | foreach.rs | 5 int dimY; 22 for (j = 0; j < dimY; j++) { 43 for (j = 0; j < dimY; j++) {
|
D | noroot.rs | 5 int dimY; 16 for (j = 0; j < dimY; j++) {
|
D | foreach_bounds.rs | 4 int dimY; 29 for (j = 0; j < dimY; j++) {
|
/frameworks/rs/driver/runtime/ |
D | rs_allocation.c | 14 return alloc->mHal.drvState.lod[0].dimY; in rsAllocationGetDimY() 113 const uint32_t dimY = alloc->mHal.drvState.lod[0].dimY; in rsOffset() local 115 (z * stride * dimY)]; in rsOffset() 128 const uint32_t dimY = alloc->mHal.drvState.lod[0].dimY; in rsOffsetNs() local 131 (z * stride * dimY)]; in rsOffsetNs() 212 const uint32_t dimY = alloc->mHal.drvState.lod[0].dimY; in rsGetElementAt() local 213 return &p[(eSize * x) + (y * stride) + (z * stride * dimY)]; in rsGetElementAt() 238 const uint32_t dimY = alloc->mHal.drvState.lod[0].dimY; in rsSetElementAt() local 239 memcpy((void*)&p[(eSize * x) + (y * stride) + (z * stride * dimY)], ptr, eSize); in rsSetElementAt()
|
D | rs_structs.h | 55 uint32_t dimY; member 240 uint32_t dimY; member
|
/frameworks/rs/cpp/ |
D | Type.cpp | 102 sp<const Type> Type::create(sp<RS> rs, sp<const Element> e, uint32_t dimX, uint32_t dimY, uint32_t … in create() argument 103 …void * id = RS::dispatch->TypeCreate(rs->getContext(), e->getID(), dimX, dimY, dimZ, false, false,… in create() 108 t->mDimY = dimY; in create()
|
/frameworks/rs/driver/ |
D | rsdAllocation.cpp | 97 ptr += zoff * alloc->mHal.drvState.lod[lod].dimY * alloc->mHal.drvState.lod[lod].stride; in GetOffsetPtr() 222 alloc->mHal.drvState.lod[0].dimX, alloc->mHal.drvState.lod[0].dimY); in AllocateRenderTarget() 260 state->lod[1].dimY = state->lod[0].dimY / 2; in DeriveYUVLayout() 262 state->lod[2].dimY = state->lod[0].dimY / 2; in DeriveYUVLayout() 272 (state->lod[0].stride * state->lod[0].dimY); in DeriveYUVLayout() 273 uvSize += state->lod[2].stride * state->lod[2].dimY; in DeriveYUVLayout() 277 (state->lod[2].stride * state->lod[2].dimY); in DeriveYUVLayout() 278 uvSize += state->lod[1].stride * state->lod[2].dimY; in DeriveYUVLayout() 285 (state->lod[0].stride * state->lod[0].dimY); in DeriveYUVLayout() 287 uvSize += state->lod[1].stride * state->lod[1].dimY; in DeriveYUVLayout() [all …]
|
/frameworks/rs/cpu_ref/ |
D | rsCpuScript.cpp | 813 mtls->fep.dimY = inType->getDimY(); in forEachMtlsSetup() 820 mtls->fep.dimY = outType->getDimY(); in forEachMtlsSetup() 849 mtls->yEnd = mtls->fep.dimY; in forEachMtlsSetup() 851 rsAssert(sc->yStart < mtls->fep.dimY); in forEachMtlsSetup() 852 rsAssert(sc->yEnd <= mtls->fep.dimY); in forEachMtlsSetup() 854 mtls->yStart = rsMin(mtls->fep.dimY, sc->yStart); in forEachMtlsSetup() 855 mtls->yEnd = rsMin(mtls->fep.dimY, sc->yEnd); in forEachMtlsSetup() 934 mtls->fep.dimY = inType->getDimY(); in forEachMtlsSetup() 950 mtls->fep.dimY = outType->getDimY(); in forEachMtlsSetup() 979 mtls->yEnd = mtls->fep.dimY; in forEachMtlsSetup() [all …]
|
D | rsCpuCore.cpp | 173 if (mtls && mtls->fep.dimY <= 1 && mtls->xEnd <= mtls->xStart + mtls->mSliceSize) { in launchThreads() 418 if (mtls->fep.dimY > 1) { in launchThreads() 419 uint32_t s1 = mtls->fep.dimY / ((mWorkers.mCount + 1) * 4); in launchThreads() 469 uint32_t offset = mtls->fep.dimY * mtls->fep.dimZ * p.ar[0] + in launchThreads() 470 mtls->fep.dimY * p.z + p.y; in launchThreads() 490 if (mtls->fep.dimY > 1) { in launchThreads() 491 uint32_t s1 = mtls->fep.dimY / ((mWorkers.mCount + 1) * 4); in launchThreads() 549 uint32_t offset_invariant = mtls->fep.dimY * mtls->fep.dimZ * p.ar[0]; in launchThreads() 556 uint32_t offset = offset_part + mtls->fep.dimY * p.z + p.y; in launchThreads()
|
D | rsCpuIntrinsicConvolve5x5.cpp | 363 uint32_t y3 = rsMin((int32_t)p->y+1, (int32_t)(p->dimY-1)); in kernelU4() 364 uint32_t y4 = rsMin((int32_t)p->y+2, (int32_t)(p->dimY-1)); in kernelU4() 423 uint32_t y3 = rsMin((int32_t)p->y+1, (int32_t)(p->dimY-1)); in kernelU2() 424 uint32_t y4 = rsMin((int32_t)p->y+2, (int32_t)(p->dimY-1)); in kernelU2() 472 uint32_t y3 = rsMin((int32_t)p->y+1, (int32_t)(p->dimY-1)); in kernelU1() 473 uint32_t y4 = rsMin((int32_t)p->y+2, (int32_t)(p->dimY-1)); in kernelU1() 521 uint32_t y3 = rsMin((int32_t)p->y+1, (int32_t)(p->dimY-1)); in kernelF4() 522 uint32_t y4 = rsMin((int32_t)p->y+2, (int32_t)(p->dimY-1)); in kernelF4() 570 uint32_t y3 = rsMin((int32_t)p->y+1, (int32_t)(p->dimY-1)); in kernelF2() 571 uint32_t y4 = rsMin((int32_t)p->y+2, (int32_t)(p->dimY-1)); in kernelF2() [all …]
|
D | rsCpuIntrinsicBlur.cpp | 124 validY = rsMin(validY, (int)(p->dimY - 1)); in OneVU4() 142 validY = rsMin(validY, (int)(p->dimY - 1)); in OneVU1() 301 rsdIntrinsicBlurU4_K(out, (uchar4 const *)(pin + stride * p->y), p->dimX, p->dimY, in kernelU4() 318 if ((y > cp->mIradius) && (y < ((int)p->dimY - cp->mIradius))) { in kernelU4() 371 rsdIntrinsicBlurU1_K(out, pin + stride * p->y, p->dimX, p->dimY, in kernelU1() 379 if ((y > cp->mIradius) && (y < ((int)p->dimY - cp->mIradius -1))) { in kernelU1()
|
D | rsCpuIntrinsicResize.cpp | 188 const int srcHeight = cp->mAlloc->mHal.drvState.lod[0].dimY; in kernelU4() 228 const int srcHeight = cp->mAlloc->mHal.drvState.lod[0].dimY; in kernelU2() 268 const int srcHeight = cp->mAlloc->mHal.drvState.lod[0].dimY; in kernelU1() 315 const uint32_t srcHeight = mAlloc->mHal.drvState.lod[0].dimY; in preLaunch() 333 scaleY = (float)srcHeight / aout->mHal.drvState.lod[0].dimY; in preLaunch()
|