Searched refs:dimZ (Results 1 - 25 of 36) sorted by relevance

12

/frameworks/rs/script_api/include/
H A 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/tests/cpp_api/cppf16/
H A Dcompute.cpp9 static const uint32_t dimX = 7, dimY = 5, dimZ = 3; variable
17 tb.setZ(dimZ);
/frameworks/rs/tests/java_api/RSTest_CompatLib/src/com/android/rs/test/
H A DUT_single_source_alloc.java29 private int dimZ = 5; field in class:UT_single_source_alloc
59 s.set_gDimZ(nDims > 2? dimZ: 0);
H A DUT_reduce.java196 final int dimX = 59, dimY = 48, dimZ = 37;
197 final int inputLen = dimX * dimY * dimZ;
204 typeBuilder.setX(dimX).setY(dimY).setZ(dimZ);
206 inputAllocation.copy3DRangeFrom(0, 0, 0, dimX, dimY, dimZ, inputArray);
H A DUT_reduce_backward.java196 final int dimX = 59, dimY = 48, dimZ = 37;
197 final int inputLen = dimX * dimY * dimZ;
204 typeBuilder.setX(dimX).setY(dimY).setZ(dimZ);
206 inputAllocation.copy3DRangeFrom(0, 0, 0, dimX, dimY, dimZ, inputArray);
/frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/
H A DUT_single_source_alloc.java25 private int dimZ = 5; field in class:UT_single_source_alloc
39 s.set_gDimZ(nDims > 2 ? dimZ : 0);
H A DUT_fp16.java28 private int dimZ = 3; field in class:UT_fp16
46 typeBuilder.setX(dimX).setY(dimY).setZ(dimZ);
54 s.set_gDimZ(nDims > 2 ? dimZ : 0);
H A DUT_reduce_backward.java218 final int dimX = 59, dimY = 48, dimZ = 37;
219 final int inputLen = dimX * dimY * dimZ;
226 typeBuilder.setX(dimX).setY(dimY).setZ(dimZ);
228 inputAllocation.copy3DRangeFrom(0, 0, 0, dimX, dimY, dimZ, inputArray);
H A DUT_reduce.java360 final int dimZ = size[2];
362 final int[] inputArray = createInputArrayInt(dimX * dimY * dimZ, seed, Integer.MAX_VALUE / (dimX * dimY * dimZ));
371 typeBuilder.setX(dimX).setY(dimY).setZ(dimZ);
376 inputAllocation.copy3DRangeFrom(0, 0, 0, dimX, dimY, dimZ, inputArray);
783 final int dimX = size[0], dimY = size[1], dimZ = size[2];
784 final int inputLen = dimX * dimY * dimZ;
803 typeBuilder.setX(dimX).setY(dimY).setZ(dimZ);
808 inputAllocation.copy3DRangeFrom(0, 0, 0, dimX, dimY, dimZ, inputArray);
/frameworks/rs/
H A DrsType.cpp79 uint32_t l2z = rsFindHighBit(mHal.state.dimZ) + 1;
103 uint32_t tz = mHal.state.dimZ;
157 mHal.state.dimZ,
173 stream->addU32(mHal.state.dimZ);
198 p.dimZ = stream->loadU32();
237 if (t->getDimZ() != params->dimZ) continue;
270 nt->mHal.state.dimZ = params->dimZ;
301 p.dimZ = getDimZ();
313 p.dimZ
362 rsi_TypeCreate(Context *rsc, RsElement _e, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, uint32_t yuv) argument
[all...]
H A DrsType.h50 uint32_t dimZ; member in struct:android::renderscript::Type::Hal::State
75 uint32_t getDimZ() const {return mHal.state.dimZ;}
H A DrsInternalDefines.h217 uint32_t dimZ; member in struct:__anon2031
H A DrsScriptC_Lib.cpp340 uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces,
342 return rsi_TypeCreate(rsc, element, dimX, dimY, dimZ, mipmaps, faces, yuv);
339 rsrTypeCreate(Context *rsc, const RsElement element, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, uint32_t yuv) argument
H A DrsAllocation.h90 uint32_t dimZ; member in struct:android::renderscript::Allocation::Hal::DrvState::LodState
H A DrsRuntime.h166 uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces,
/frameworks/rs/driver/runtime/
H A Drs_structs.h68 uint32_t dimZ; member in struct:Allocation::__anon1998::DrvState::LodState
256 uint32_t dimZ; member in struct:Type::__anon2008::__anon2009
H A Drs_allocation.c20 return alloc->mHal.drvState.lod[0].dimZ;
502 rs_element element, uint32_t dimX, uint32_t dimY, uint32_t dimZ,
632 uint32_t dimZ) {
633 return rsCreateType(element, dimX, dimY, dimZ, false, false, RS_YUV_NONE);
630 rsCreateType(rs_element element, uint32_t dimX, uint32_t dimY, uint32_t dimZ) argument
/frameworks/base/rs/java/android/renderscript/
H A DType.java309 * @param dimZ The Z dimension, must be > 0
313 static public Type createXYZ(RenderScript rs, Element e, int dimX, int dimY, int dimZ) { argument
314 if ((dimX < 1) || (dimY < 1) || (dimZ < 1)) {
318 long id = rs.nTypeCreate(e.getID(rs), dimX, dimY, dimZ, false, false, 0);
323 t.mDimZ = dimZ;
/frameworks/rs/support/java/src/android/support/v8/renderscript/
H A DType.java256 * @param dimZ The Z dimension, must be > 0
260 static public Type createXYZ(RenderScript rs, Element e, int dimX, int dimY, int dimZ) { argument
261 if ((dimX < 1) || (dimY < 1) || (dimZ < 1)) {
265 long id = rs.nTypeCreate(e.getID(rs), dimX, dimY, dimZ, false, false, 0);
270 t.mDimZ = dimZ;
/frameworks/rs/script_api/
H A 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/cpp/
H A DType.cpp112 sp<const Type> Type::create(const sp<RS>& rs, const sp<const Element>& e, uint32_t dimX, uint32_t dimY, uint32_t dimZ) { argument
113 void * id = RS::dispatch->TypeCreate(rs->getContext(), e->getID(), dimX, dimY, dimZ, false, false, 0);
119 t->mDimZ = dimZ;
/frameworks/rs/rsov/driver/
H A DrsovRuntimeStubs.cpp245 uint32_t dimZ, bool mipmaps,
265 if (dimZ > 0) {
296 if (dimZ != 0 || dimY == 0 || faces || mipmaps) {
302 Type *type = (Type *)rsrTypeCreate(rsc, element, dimX, dimY, dimZ, mipmaps,
363 uint32_t dimZ, bool mipmaps, bool faces,
366 CreateType((RsElement)element.p, dimX, dimY, dimZ, mipmaps, faces,
388 uint32_t dimY, uint32_t dimZ,
391 return CreateType((RsElement)element.p, dimX, dimY, dimZ, mipmaps, faces,
243 CreateType(RsElement element, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, uint32_t yuv_format) argument
362 rsCreateType(::rs_element element, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, rs_yuv_format yuv_format) argument
387 rsCreateType(::rs_element element, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, rs_yuv_format yuv_format) argument
H A DrsovAllocation.cpp87 alloc->mHal.drvState.lod[0].dimZ = type->getDimZ();
101 rsMax(alloc->mHal.drvState.lod[0].dimZ, 1u);
111 uint32_t tz = alloc->mHal.drvState.lod[0].dimZ;
115 alloc->mHal.drvState.lod[lod].dimZ = tz;
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsic3DLUT.cpp69 static_cast<int>(cp->mLUT->mHal.drvState.lod[0].dimZ - 1),
/frameworks/rs/driver/
H A DrsdRuntimeStubs.cpp263 uint32_t dimZ, bool mipmaps,
287 if (dimZ > 0) {
316 if (dimZ != 0 || dimY == 0 || faces || mipmaps) {
322 Type *type = (Type *) rsrTypeCreate(rsc, element, dimX, dimY, dimZ, mipmaps,
390 uint32_t dimZ, bool mipmaps, bool faces,
393 dimY, dimZ, mipmaps, faces,
418 uint32_t dimY, uint32_t dimZ,
421 return CreateType((RsElement) element.p, dimX, dimY, dimZ, mipmaps, faces,
261 CreateType(RsElement element, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, uint32_t yuv_format) argument
389 rsCreateType(::rs_element element, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, rs_yuv_format yuv_format) argument
417 rsCreateType(::rs_element element, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, rs_yuv_format yuv_format) argument

Completed in 985 milliseconds

12