Home
last modified time | relevance | path

Searched refs:dimY (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/
Dalloc.rs5 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);
Dforeach.rs5 int dimY;
16 for (j = 0; j < dimY; j++) {
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/
Dalloc.rs5 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);
Dforeach.rs5 int dimY;
16 for (j = 0; j < dimY; j++) {
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
Dalloc.rs5 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);
Dforeach.rs5 int dimY;
22 for (j = 0; j < dimY; j++) {
43 for (j = 0; j < dimY; j++) {
Dnoroot.rs5 int dimY;
16 for (j = 0; j < dimY; j++) {
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/
Dalloc.rs5 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);
Dforeach.rs5 int dimY;
22 for (j = 0; j < dimY; j++) {
43 for (j = 0; j < dimY; j++) {
Dnoroot.rs5 int dimY;
16 for (j = 0; j < dimY; j++) {
Dforeach_bounds.rs4 int dimY;
27 for (j = 0; j < dimY; j++) {
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DType.java234 static public Type createXY(RenderScript rs, Element e, int dimX, int dimY) { in createXY() argument
235 if ((dimX < 1) || (dimY < 1)) { in createXY()
239 long id = rs.nTypeCreate(e.getID(rs), dimX, dimY, 0, false, false, 0); in createXY()
243 t.mDimY = dimY; in createXY()
260 static public Type createXYZ(RenderScript rs, Element e, int dimX, int dimY, int dimZ) { in createXYZ() argument
261 if ((dimX < 1) || (dimY < 1) || (dimZ < 1)) { in createXYZ()
265 long id = rs.nTypeCreate(e.getID(rs), dimX, dimY, dimZ, false, false, 0); in createXYZ()
269 t.mDimY = dimY; in createXYZ()
/frameworks/rs/
DrsType.cpp79 uint32_t l2y = rsFindHighBit(mHal.state.dimY) + 1; in compute()
103 uint32_t ty = mHal.state.dimY; in compute()
156 mHal.state.dimY, in dumpLOGV()
172 stream->addU32(mHal.state.dimY); in serialize()
197 p.dimY = stream->loadU32(); in createFromStream()
236 if (t->getDimY() != params->dimY) continue; in getTypeRef()
269 nt->mHal.state.dimY = params->dimY; in getTypeRef()
300 p.dimY = getDimY(); in cloneAndResize1D()
308 uint32_t dimY) const { in cloneAndResize2D()
312 p.dimY = dimY; in cloneAndResize2D()
[all …]
DrsType.h47 uint32_t dimY; member
72 uint32_t getDimY() const {return mHal.state.dimY;} in getDimY()
109 ObjectBaseRef<Type> cloneAndResize2D(Context *rsc, uint32_t dimX, uint32_t dimY) const;
121 … ObjectBaseRef<Type> getTypeRef(Context *rsc, const Element *e, uint32_t dimX, uint32_t dimY = 0) {
125 p.dimY = dimY;
/frameworks/base/rs/java/android/renderscript/
DType.java287 static public Type createXY(RenderScript rs, Element e, int dimX, int dimY) { in createXY() argument
288 if ((dimX < 1) || (dimY < 1)) { in createXY()
292 long id = rs.nTypeCreate(e.getID(rs), dimX, dimY, 0, false, false, 0); in createXY()
296 t.mDimY = dimY; in createXY()
313 static public Type createXYZ(RenderScript rs, Element e, int dimX, int dimY, int dimZ) { in createXYZ() argument
314 if ((dimX < 1) || (dimY < 1) || (dimZ < 1)) { in createXYZ()
318 long id = rs.nTypeCreate(e.getID(rs), dimX, dimY, dimZ, false, false, 0); in createXYZ()
322 t.mDimY = dimY; in createXYZ()
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
Dalloc.rs5 int dimY;
35 _RS_ASSERT(rsAllocationGetDimY(aFaces) == dimY);
41 _RS_ASSERT(rsAllocationGetDimY(aLOD) == dimY);
47 _RS_ASSERT(rsAllocationGetDimY(aFacesLOD) == dimY);
Dforeach.rs5 int dimY;
22 for (j = 0; j < dimY; j++) {
43 for (j = 0; j < dimY; j++) {
Dkernel3d.rs16 uint32_t dimY = rsGetDimY(context);
19 _RS_ASSERT_EQU(dimY, gDimY);
21 return ain + x + dimX * y + dimX * dimY * z;
Dnoroot.rs5 int dimY;
16 for (j = 0; j < dimY; j++) {
Dforeach_bounds.rs4 int dimY;
29 for (j = 0; j < dimY; j++) {
Dkernel2d.rs16 uint32_t dimY = rsGetDimY(context);
18 _RS_ASSERT_EQU(dimY, gDimY);
Dkernel2d_oldstyle.rs16 uint32_t dimY = rsGetDimY(context);
18 _RS_ASSERT_EQU(dimY, gDimY);
/frameworks/rs/driver/runtime/
Drs_allocation.c14 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()
/frameworks/rs/driver/
DrsdAllocation.cpp96 ptr += zoff * alloc->mHal.drvState.lod[lod].dimY * alloc->mHal.drvState.lod[lod].stride; in GetOffsetPtr()
221 alloc->mHal.drvState.lod[0].dimX, alloc->mHal.drvState.lod[0].dimY); in AllocateRenderTarget()
268 state->lod[1].dimY = state->lod[0].dimY / 2; in DeriveYUVLayout()
270 state->lod[2].dimY = state->lod[0].dimY / 2; in DeriveYUVLayout()
280 (state->lod[0].stride * state->lod[0].dimY); in DeriveYUVLayout()
281 uvSize += state->lod[2].stride * state->lod[2].dimY; in DeriveYUVLayout()
285 (state->lod[2].stride * state->lod[2].dimY); in DeriveYUVLayout()
286 uvSize += state->lod[1].stride * state->lod[2].dimY; in DeriveYUVLayout()
293 (state->lod[0].stride * state->lod[0].dimY); in DeriveYUVLayout()
295 uvSize += state->lod[1].stride * state->lod[1].dimY; in DeriveYUVLayout()
[all …]
/frameworks/rs/cpp/
DType.cpp102 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()

12