Home
last modified time | relevance | path

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

/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/
Dalloc.rs5 int dimY;
16 for (j = 0; j < dimY; j++) {
24 _RS_ASSERT(rsAllocationGetDimY(alloc) == dimY);
28 for (j = 0; j < dimY; j++) {
38 for (i = 0; i < dimX * dimY; i++) {
46 for (j = 0; j < dimY; j++) {
56 _RS_ASSERT(rsAllocationGetDimY(aFaces) == dimY);
62 _RS_ASSERT(rsAllocationGetDimY(aLOD) == dimY);
68 _RS_ASSERT(rsAllocationGetDimY(aFacesLOD) == dimY);
Dforeach.rs5 int dimY;
15 for (j = 0; j < dimY; j++) {
/frameworks/base/libs/rs/
DrsType.cpp210 uint32_t dimX, uint32_t dimY, uint32_t dimZ, in getTypeRef() argument
221 if (t->getDimY() != dimY) continue; in getTypeRef()
236 nt->mDimY = dimY; in getTypeRef()
256 uint32_t dimY) const { in cloneAndResize2D()
257 return getTypeRef(rsc, mElement.get(), dimX, dimY, in cloneAndResize2D()
268 uint32_t dimY, uint32_t dimZ, bool mips, bool faces) { in rsi_TypeCreate() argument
271 return Type::getType(rsc, e, dimX, dimY, dimZ, mips, faces); in rsi_TypeCreate()
DrsType.h66 ObjectBaseRef<Type> cloneAndResize2D(Context *rsc, uint32_t dimX, uint32_t dimY) const;
69 uint32_t dimX, uint32_t dimY, uint32_t dimZ,
73 uint32_t dimX, uint32_t dimY, uint32_t dimZ, in getType() argument
75 ObjectBaseRef<Type> type = getTypeRef(rsc, e, dimX, dimY, dimZ, dimLOD, dimFaces); in getType()
Drs.spec33 param uint32_t dimY
212 param uint32_t dimY
DrsAllocation.h81 void resize2D(Context *rsc, uint32_t dimX, uint32_t dimY);
DrsAllocation.cpp321 void Allocation::resize2D(Context *rsc, uint32_t dimX, uint32_t dimY) { in resize2D() argument
459 void rsi_AllocationResize2D(Context *rsc, RsAllocation va, uint32_t dimX, uint32_t dimY) { in rsi_AllocationResize2D() argument
461 a->resize2D(rsc, dimX, dimY); in rsi_AllocationResize2D()
/frameworks/base/libs/rs/driver/
DrsdBcc.cpp214 uint32_t dimY; member
311 mtls.dimY = ain->getType()->getDimY(); in rsdScriptInvokeForEach()
316 mtls.dimY = aout->getType()->getDimY(); in rsdScriptInvokeForEach()
336 mtls.yEnd = mtls.dimY; in rsdScriptInvokeForEach()
338 rsAssert(sc->yStart < mtls.dimY); in rsdScriptInvokeForEach()
339 rsAssert(sc->yEnd <= mtls.dimY); in rsdScriptInvokeForEach()
341 mtls.yStart = rsMin(mtls.dimY, sc->yStart); in rsdScriptInvokeForEach()
342 mtls.yEnd = rsMin(mtls.dimY, sc->yEnd); in rsdScriptInvokeForEach()
380 if (mtls.dimY > 1) { in rsdScriptInvokeForEach()
398 uint32_t offset = mtls.dimX * mtls.dimY * mtls.dimZ * p.ar[0] + in rsdScriptInvokeForEach()
[all …]
/frameworks/compile/libbcc/lib/ScriptCRT/
Drs_core.c298 const uint32_t dimY = alloc->mHal.state.dimensionY; in rsGetElementAt() local
299 return &p[eSize * (x + y * dimX + z * dimX * dimY)]; in rsGetElementAt()
/frameworks/base/graphics/java/android/renderscript/
DRenderScript.java384 native void rsnAllocationResize2D(int con, int id, int dimX, int dimY); in rsnAllocationResize2D() argument
385 synchronized void nAllocationResize2D(int id, int dimX, int dimY) { in nAllocationResize2D() argument
387 rsnAllocationResize2D(mContext, id, dimX, dimY); in nAllocationResize2D()
/frameworks/base/graphics/jni/
Dandroid_renderscript_RenderScript.cpp695 nAllocationResize2D(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint dimX, jint dimY) in nAllocationResize2D() argument
697 …locationResize1D, con(%p), alloc(%p), sizeX(%i), sizeY(%i)", con, (RsAllocation)alloc, dimX, dimY); in nAllocationResize2D()
698 rsAllocationResize2D(con, (RsAllocation)alloc, dimX, dimY); in nAllocationResize2D()