Home
last modified time | relevance | path

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

12

/frameworks/rs/script_api/include/
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/
DrsType.cpp79 uint32_t l2z = rsFindHighBit(mHal.state.dimZ) + 1; in compute()
103 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()
363 uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, uint32_t yuv) { in rsi_TypeCreate() argument
[all …]
DrsType.h50 uint32_t dimZ; member
75 uint32_t getDimZ() const {return mHal.state.dimZ;} in getDimZ()
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
Dalloc.rscript6 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/tests/java_api/RsTest_16/src/com/android/rs/test/
Dalloc.rscript6 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/tests/java_api/RsTest_14/src/com/android/rs/test/
Dalloc.rscript6 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/tests/java_api/RSUnitTests/supportlibonlysrc/com/android/rs/unittest/
Dalloc_supportlib.rscript22 int dimZ;
39 _RS_ASSERT(rsAllocationGetDimZ(aRaw) == dimZ);
71 _RS_ASSERT(rsAllocationGetDimZ(aFaces) == dimZ);
77 _RS_ASSERT(rsAllocationGetDimZ(aLOD) == dimZ);
83 _RS_ASSERT(rsAllocationGetDimZ(aFacesLOD) == dimZ);
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dalloc_supportlib.rscript24 int dimZ;
41 _RS_ASSERT(rsAllocationGetDimZ(aRaw) == dimZ);
73 _RS_ASSERT(rsAllocationGetDimZ(aFaces) == dimZ);
79 _RS_ASSERT(rsAllocationGetDimZ(aLOD) == dimZ);
85 _RS_ASSERT(rsAllocationGetDimZ(aFacesLOD) == dimZ);
Dalloc.rscript24 int dimZ;
54 _RS_ASSERT(rsAllocationGetDimZ(aFaces) == dimZ);
60 _RS_ASSERT(rsAllocationGetDimZ(aLOD) == dimZ);
66 _RS_ASSERT(rsAllocationGetDimZ(aFacesLOD) == dimZ);
DUT_single_source_alloc.java27 private int dimZ = 5; field in UT_single_source_alloc
57 s.set_gDimZ(nDims > 2 ? dimZ : 0); in initializeGlobals()
Dsingle_source_ref_count.rscript23 static const int dimZ = 0;
34 rs_type type = rsCreateType(element, dimX, dimY, dimZ);
57 rs_type type = rsCreateType(element, dimX, dimY, dimZ);
Dkernel3d.rscript35 uint32_t dimZ = rsGetDimZ(context);
38 _RS_ASSERT_EQU(dimZ, gDimZ);
DUT_reduce_backward.java220 final int dimX = 59, dimY = 48, dimZ = 37; in fz3() local
221 final int inputLen = dimX * dimY * dimZ; in fz3()
228 typeBuilder.setX(dimX).setY(dimY).setZ(dimZ); in fz3()
230 inputAllocation.copy3DRangeFrom(0, 0, 0, dimX, dimY, dimZ, inputArray); in fz3()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dalloc.rscript22 int dimZ;
52 _RS_ASSERT(rsAllocationGetDimZ(aFaces) == dimZ);
58 _RS_ASSERT(rsAllocationGetDimZ(aLOD) == dimZ);
64 _RS_ASSERT(rsAllocationGetDimZ(aFacesLOD) == dimZ);
DUT_single_source_alloc.java25 private int dimZ = 5; field in UT_single_source_alloc
55 s.set_gDimZ(nDims > 2 ? dimZ : 0); in initializeGlobals()
DUT_fp16.java28 private int dimZ = 3; field in UT_fp16
46 typeBuilder.setX(dimX).setY(dimY).setZ(dimZ); in initializeGlobals()
54 s.set_gDimZ(nDims > 2 ? dimZ : 0); in initializeGlobals()
Dsingle_source_ref_count.rscript21 static const int dimZ = 0;
32 rs_type type = rsCreateType(element, dimX, dimY, dimZ);
55 rs_type type = rsCreateType(element, dimX, dimY, dimZ);
Dkernel3d.rscript33 uint32_t dimZ = rsGetDimZ(context);
36 _RS_ASSERT_EQU(dimZ, gDimZ);
DUT_reduce_backward.java218 final int dimX = 59, dimY = 48, dimZ = 37; in fz3() local
219 final int inputLen = dimX * dimY * dimZ; in fz3()
226 typeBuilder.setX(dimX).setY(dimY).setZ(dimZ); in fz3()
228 inputAllocation.copy3DRangeFrom(0, 0, 0, dimX, dimY, dimZ, inputArray); in fz3()
/frameworks/rs/script_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/rs/support/java/src/androidx/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/base/rs/java/android/renderscript/
DType.java313 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()
323 t.mDimZ = dimZ; in createXYZ()
/frameworks/rs/tests/cpp_api/cppf16/
Dcompute.cpp9 static const uint32_t dimX = 7, dimY = 5, dimZ = 3; variable
17 tb.setZ(dimZ); in testAllocationCreation()
/frameworks/rs/cpp/
DType.cpp112 …create(const sp<RS>& rs, const sp<const Element>& e, uint32_t dimX, uint32_t dimY, uint32_t dimZ) { in create() argument
113 …void * id = RS::dispatch->TypeCreate(rs->getContext(), e->getID(), dimX, dimY, dimZ, false, false,… in create()
119 t->mDimZ = dimZ; in create()
/frameworks/rs/driver/runtime/
Drs_structs.h68 uint32_t dimZ; member
256 uint32_t dimZ; member

12