Home
last modified time | relevance | path

Searched refs:dimZ (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/rs/scriptc/
Drs_allocation_create.rsh88 * dimZ, if present and non-zero, indicates that the Z dimension is present and
101 * dimZ: Size along the Z dimension
108 rsCreateType(rs_element element, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mipmaps,
114 rsCreateType(rs_element element, uint32_t dimX, uint32_t dimY, uint32_t dimZ);
159 rsCreateAllocation_half(uint32_t dimX, uint32_t dimY, uint32_t dimZ) {
161 rs_type t = rsCreateType(e, dimX, dimY, dimZ);
168 rsCreateAllocation_float(uint32_t dimX, uint32_t dimY, uint32_t dimZ) {
170 rs_type t = rsCreateType(e, dimX, dimY, dimZ);
177 rsCreateAllocation_double(uint32_t dimX, uint32_t dimY, uint32_t dimZ) {
179 rs_type t = rsCreateType(e, dimX, dimY, dimZ);
[all …]
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/
Dalloc.rs6 int dimZ;
23 _RS_ASSERT(rsAllocationGetDimZ(aRaw) == dimZ);
55 _RS_ASSERT(rsAllocationGetDimZ(aFaces) == dimZ);
61 _RS_ASSERT(rsAllocationGetDimZ(aLOD) == dimZ);
67 _RS_ASSERT(rsAllocationGetDimZ(aFacesLOD) == dimZ);
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
Dalloc.rs6 int dimZ;
23 _RS_ASSERT(rsAllocationGetDimZ(aRaw) == dimZ);
55 _RS_ASSERT(rsAllocationGetDimZ(aFaces) == dimZ);
61 _RS_ASSERT(rsAllocationGetDimZ(aLOD) == dimZ);
67 _RS_ASSERT(rsAllocationGetDimZ(aFacesLOD) == dimZ);
DUT_reduce.java196 final int dimX = 59, dimY = 48, dimZ = 37; in fz3() local
197 final int inputLen = dimX * dimY * dimZ; in fz3()
204 typeBuilder.setX(dimX).setY(dimY).setZ(dimZ); in fz3()
206 inputAllocation.copy3DRangeFrom(0, 0, 0, dimX, dimY, dimZ, inputArray); in fz3()
DUT_reduce_backward.java196 final int dimX = 59, dimY = 48, dimZ = 37; in fz3() local
197 final int inputLen = dimX * dimY * dimZ; in fz3()
204 typeBuilder.setX(dimX).setY(dimY).setZ(dimZ); in fz3()
206 inputAllocation.copy3DRangeFrom(0, 0, 0, dimX, dimY, dimZ, inputArray); in fz3()
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/
Dalloc.rs6 int dimZ;
23 _RS_ASSERT(rsAllocationGetDimZ(aRaw) == dimZ);
55 _RS_ASSERT(rsAllocationGetDimZ(aFaces) == dimZ);
61 _RS_ASSERT(rsAllocationGetDimZ(aLOD) == dimZ);
67 _RS_ASSERT(rsAllocationGetDimZ(aFacesLOD) == dimZ);
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/
Dalloc.rs6 int dimZ;
23 _RS_ASSERT(rsAllocationGetDimZ(aRaw) == dimZ);
55 _RS_ASSERT(rsAllocationGetDimZ(aFaces) == dimZ);
61 _RS_ASSERT(rsAllocationGetDimZ(aLOD) == dimZ);
67 _RS_ASSERT(rsAllocationGetDimZ(aFacesLOD) == dimZ);
/frameworks/rs/
DrsType.cpp80 uint32_t l2z = rsFindHighBit(mHal.state.dimZ) + 1; in compute()
104 uint32_t tz = mHal.state.dimZ; in compute()
157 mHal.state.dimZ, in dumpLOGV()
173 stream->addU32(mHal.state.dimZ); in serialize()
198 p.dimZ = stream->loadU32(); in createFromStream()
237 if (t->getDimZ() != params->dimZ) continue; in getTypeRef()
270 nt->mHal.state.dimZ = params->dimZ; in getTypeRef()
301 p.dimZ = getDimZ(); in cloneAndResize1D()
313 p.dimZ = getDimZ(); in cloneAndResize2D()
365 uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, uint32_t yuv) { in rsi_TypeCreate() argument
[all …]
DrsType.h48 uint32_t dimZ; member
73 uint32_t getDimZ() const {return mHal.state.dimZ;} in getDimZ()
DrsScriptC_Lib.cpp285 uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, in rsrTypeCreate() argument
287 return rsi_TypeCreate(rsc, element, dimX, dimY, dimZ, mipmaps, faces, yuv); in rsrTypeCreate()
DrsInternalDefines.h217 uint32_t dimZ; member
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
Dalloc.rs6 int dimZ;
36 _RS_ASSERT(rsAllocationGetDimZ(aFaces) == dimZ);
42 _RS_ASSERT(rsAllocationGetDimZ(aLOD) == dimZ);
48 _RS_ASSERT(rsAllocationGetDimZ(aFacesLOD) == dimZ);
Dsingle_source_ref_count.rs5 static const int dimZ = 0;
16 rs_type type = rsCreateType(element, dimX, dimY, dimZ);
39 rs_type type = rsCreateType(element, dimX, dimY, dimZ);
DUT_fp16.java27 private int dimZ = 3; field in UT_fp16
45 typeBuilder.setX(dimX).setY(dimY).setZ(dimZ); in initializeGlobals()
52 s.set_gDimZ(nDims > 2? dimZ: 0); in initializeGlobals()
DUT_single_source_alloc.java29 private int dimZ = 5; field in UT_single_source_alloc
44 s.set_gDimZ(nDims > 2? dimZ: 0); in initializeGlobals()
Dkernel3d.rs17 uint32_t dimZ = rsGetDimZ(context);
20 _RS_ASSERT_EQU(dimZ, gDimZ);
DUT_reduce_backward.java212 final int dimX = 59, dimY = 48, dimZ = 37; in fz3() local
213 final int inputLen = dimX * dimY * dimZ; in fz3()
220 typeBuilder.setX(dimX).setY(dimY).setZ(dimZ); in fz3()
222 inputAllocation.copy3DRangeFrom(0, 0, 0, dimX, dimY, dimZ, inputArray); in fz3()
DUT_reduce.java322 final int dimZ = size[2]; in addint3D() local
324 …t[] inputArray = createInputArrayInt(dimX * dimY * dimZ, seed, Integer.MAX_VALUE / (dimX * dimY * in addint3D()
333 typeBuilder.setX(dimX).setY(dimY).setZ(dimZ); in addint3D()
338 inputAllocation.copy3DRangeFrom(0, 0, 0, dimX, dimY, dimZ, inputArray); in addint3D()
659 final int dimX = size[0], dimY = size[1], dimZ = size[2]; in fz3() local
660 final int inputLen = dimX * dimY * dimZ; in fz3()
679 typeBuilder.setX(dimX).setY(dimY).setZ(dimZ); in fz3()
684 inputAllocation.copy3DRangeFrom(0, 0, 0, dimX, dimY, dimZ, inputArray); in fz3()
/frameworks/rs/api/
Drs_allocation_create.spec81 arg: uint32_t dimZ, "Size along the Z dimension"
94 dimZ, if present and non-zero, indicates that the Z dimension is present and
111 arg: uint32_t dimZ
178 arg: uint32_t dimZ
181 rs_type t = rsCreateType(e, dimX, dimY, dimZ);
193 arg: uint32_t dimZ
196 rs_type t = rsCreateType(e, dimX, dimY, dimZ);
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DType.java260 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()
270 t.mDimZ = dimZ; in createXYZ()
/frameworks/rs/tests/cppf16/
Dcompute.cpp6 static const uint32_t dimX = 7, dimY = 5, dimZ = 3; variable
14 tb.setZ(dimZ); in testAllocationCreation()
/frameworks/base/rs/java/android/renderscript/
DType.java314 static public Type createXYZ(RenderScript rs, Element e, int dimX, int dimY, int dimZ) { in createXYZ() argument
315 if ((dimX < 1) || (dimY < 1) || (dimZ < 1)) { in createXYZ()
319 long id = rs.nTypeCreate(e.getID(rs), dimX, dimY, dimZ, false, false, 0); in createXYZ()
324 t.mDimZ = dimZ; in createXYZ()
/frameworks/rs/cpp/
DType.cpp110 …t Type> Type::create(sp<RS> rs, sp<const Element> e, uint32_t dimX, uint32_t dimY, uint32_t dimZ) { in create() argument
111 …void * id = RS::dispatch->TypeCreate(rs->getContext(), e->getID(), dimX, dimY, dimZ, false, false,… in create()
117 t->mDimZ = dimZ; in create()
/frameworks/rs/driver/runtime/
Drs_structs.h68 uint32_t dimZ; member
256 uint32_t dimZ; member
Drs_allocation.c20 return alloc->mHal.drvState.lod[0].dimZ; in rsAllocationGetDimZ()
503 rs_element element, uint32_t dimX, uint32_t dimY, uint32_t dimZ,
633 uint32_t dimZ) { in rsCreateType() argument
634 return rsCreateType(element, dimX, dimY, dimZ, false, false, RS_YUV_NONE); in rsCreateType()

12