Searched defs:dimZ (Results 1 - 18 of 18) sorted by relevance

/frameworks/rs/tests/cppf16/
H A Dcompute.cpp6 static const uint32_t dimX = 7, dimY = 5, dimZ = 3; variable
14 tb.setZ(dimZ);
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
H A DUT_single_source_alloc.java29 private int dimZ = 5; field in class:UT_single_source_alloc
44 s.set_gDimZ(nDims > 2? dimZ: 0);
H A DUT_fp16.java27 private int dimZ = 3; field in class:UT_fp16
45 typeBuilder.setX(dimX).setY(dimY).setZ(dimZ);
52 s.set_gDimZ(nDims > 2? dimZ: 0);
/frameworks/rs/cpp/
H A DType.cpp110 sp<const Type> Type::create(sp<RS> rs, sp<const Element> e, uint32_t dimX, uint32_t dimY, uint32_t dimZ) { argument
111 void * id = RS::dispatch->TypeCreate(rs->getContext(), e->getID(), dimX, dimY, dimZ, false, false, 0);
117 t->mDimZ = dimZ;
/frameworks/rs/
H A DrsType.h48 uint32_t dimZ; member in struct:android::renderscript::Type::Hal::State
73 uint32_t getDimZ() const {return mHal.state.dimZ;}
H A DrsType.cpp80 uint32_t l2z = rsFindHighBit(mHal.state.dimZ) + 1;
104 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
364 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 DrsAllocation.h94 uint32_t dimZ; member in struct:android::renderscript::Allocation::Hal::DrvState::LodState
H A DrsScriptC_Lib.cpp285 uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces,
287 return rsi_TypeCreate(rsc, element, dimX, dimY, dimZ, mipmaps, faces, yuv);
284 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 DrsInternalDefines.h217 uint32_t dimZ; member in struct:__anon1686
/frameworks/base/rs/java/android/renderscript/
H A DType.java310 * @param dimZ The Z dimension, must be > 0
314 static public Type createXYZ(RenderScript rs, Element e, int dimX, int dimY, int dimZ) { argument
315 if ((dimX < 1) || (dimY < 1) || (dimZ < 1)) {
319 long id = rs.nTypeCreate(e.getID(rs), dimX, dimY, dimZ, false, false, 0);
324 t.mDimZ = dimZ;
H A DRenderScript.java486 native ByteBuffer rsnAllocationGetByteBuffer(long con, long alloc, long[] stride, int xBytesSize, int dimY, int dimZ); argument
487 synchronized ByteBuffer nAllocationGetByteBuffer(long alloc, long[] stride, int xBytesSize, int dimY, int dimZ) { argument
489 return rsnAllocationGetByteBuffer(mContext, alloc, stride, xBytesSize, dimY, dimZ);
/frameworks/support/v8/renderscript/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;
H A DRenderScript.java438 native ByteBuffer rsnAllocationGetByteBuffer(long con, long alloc, int xBytesSize, int dimY, int dimZ); argument
439 synchronized ByteBuffer nAllocationGetByteBuffer(long alloc, int xBytesSize, int dimY, int dimZ) { argument
441 return rsnAllocationGetByteBuffer(mContext, alloc, xBytesSize, dimY, dimZ);
/frameworks/rs/driver/runtime/
H A Drs_allocation.c20 return alloc->mHal.drvState.lod[0].dimZ;
503 rs_element element, uint32_t dimX, uint32_t dimY, uint32_t dimZ,
633 uint32_t dimZ) {
634 return rsCreateType(element, dimX, dimY, dimZ, false, false, RS_YUV_NONE);
631 rsCreateType(rs_element element, uint32_t dimX, uint32_t dimY, uint32_t dimZ) argument
H A Drs_structs.h68 uint32_t dimZ; member in struct:Allocation::__anon1654::DrvState::LodState
256 uint32_t dimZ; member in struct:Type::__anon1664::__anon1665
/frameworks/rs/driver/
H A DrsdRuntimeStubs.cpp247 uint32_t dimZ, bool mipmaps,
271 if (dimZ > 0) {
300 if (dimZ != 0 || dimY == 0 || faces || mipmaps) {
306 Type *type = (Type *) rsrTypeCreate(rsc, element, dimX, dimY, dimZ, mipmaps,
374 uint32_t dimZ, bool mipmaps, bool faces,
377 dimY, dimZ, mipmaps, faces,
402 uint32_t dimY, uint32_t dimZ,
405 return CreateType((RsElement) element.p, dimX, dimY, dimZ, mipmaps, faces,
245 CreateType(RsElement element, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, uint32_t yuv_format) argument
373 rsCreateType(::rs_element element, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, rs_yuv_format yuv_format) argument
401 rsCreateType(::rs_element element, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, rs_yuv_format yuv_format) argument
/frameworks/support/v8/renderscript/jni/
H A Dandroid_renderscript_RenderScript.cpp2226 nAllocationGetByteBuffer(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jint xBytesSize, jint dimY, jint dimZ) argument
2233 RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X, dimZ, 0,
2241 if (dimZ > 0) {
2242 bufferSize *= dimZ;
/frameworks/base/rs/jni/
H A Dandroid_renderscript_RenderScript.cpp2766 jint dimY, jint dimZ) {
2792 if (dimZ > 0) {
2793 bufferSize *= dimZ;
2764 nAllocationGetByteBuffer(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jlongArray strideArr, jint xBytesSize, jint dimY, jint dimZ) argument

Completed in 200 milliseconds