Searched defs:dimY (Results 1 - 21 of 21) sorted by relevance

/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
H A DUT_small_struct.java27 private static final int dimY = 2; field in class:UT_small_struct
35 s.set_gDimY(dimY);
39 builderA.setY(dimY);
46 builderB.setY(dimY);
H A DUT_single_source_alloc.java28 private int dimY = 4; field in class:UT_single_source_alloc
43 s.set_gDimY(nDims > 1? dimY: 0);
H A DUT_fp16.java26 private int dimY = 5; field in class:UT_fp16
42 typeBuilder.setX(dimX).setY(dimY);
45 typeBuilder.setX(dimX).setY(dimY).setZ(dimZ);
51 s.set_gDimY(nDims > 1? dimY: 0);
/frameworks/rs/tests/cppf16/
H A Dcompute.cpp6 static const uint32_t dimX = 7, dimY = 5, dimZ = 3; variable
12 tb.setY(dimY);
/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);
116 t->mDimY = dimY;
/frameworks/rs/
H A DrsType.h47 uint32_t dimY; member in struct:android::renderscript::Type::Hal::State
72 uint32_t getDimY() const {return mHal.state.dimY;}
109 ObjectBaseRef<Type> cloneAndResize2D(Context *rsc, uint32_t dimX, uint32_t dimY) const;
121 static ObjectBaseRef<Type> getTypeRef(Context *rsc, const Element *e, uint32_t dimX, uint32_t dimY = 0) {
125 p.dimY = dimY;
H A DrsType.cpp79 uint32_t l2y = rsFindHighBit(mHal.state.dimY) + 1;
103 uint32_t ty = mHal.state.dimY;
156 mHal.state.dimY,
172 stream->addU32(mHal.state.dimY);
197 p.dimY = stream->loadU32();
236 if (t->getDimY() != params->dimY) continue;
269 nt->mHal.state.dimY = params->dimY;
300 p.dimY = getDimY();
308 uint32_t dimY) cons
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.h93 uint32_t dimY; member in struct:android::renderscript::Allocation::Hal::DrvState::LodState
134 void resize2D(Context *rsc, uint32_t dimX, uint32_t dimY);
206 p += z * mHal.drvState.lod[lod].stride * mHal.drvState.lod[lod].dimY;
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.h216 uint32_t dimY; member in struct:__anon1686
H A DrsAllocation.cpp186 if ((stride != nullptr) && mHal.drvState.lod[0].dimY) {
277 if (y > 0 && y >= mHal.drvState.lod[0].dimY) {
312 if (y > 0 && y >= mHal.drvState.lod[0].dimY) {
575 void Allocation::resize2D(Context *rsc, uint32_t dimX, uint32_t dimY) { argument
774 void rsi_AllocationResize2D(Context *rsc, RsAllocation va, uint32_t dimX, uint32_t dimY) { argument
776 a->resize2D(rsc, dimX, dimY);
/frameworks/base/rs/java/android/renderscript/
H A DType.java284 * @param dimY The Y dimension, must be > 0
288 static public Type createXY(RenderScript rs, Element e, int dimX, int dimY) { argument
289 if ((dimX < 1) || (dimY < 1)) {
293 long id = rs.nTypeCreate(e.getID(rs), dimX, dimY, 0, false, false, 0);
297 t.mDimY = dimY;
309 * @param dimY The Y 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);
323 t.mDimY = dimY;
[all...]
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.java230 * @param dimY The Y dimension, must be > 0
234 static public Type createXY(RenderScript rs, Element e, int dimX, int dimY) { argument
235 if ((dimX < 1) || (dimY < 1)) {
239 long id = rs.nTypeCreate(e.getID(rs), dimX, dimY, 0, false, false, 0);
243 t.mDimY = dimY;
255 * @param dimY The Y 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);
269 t.mDimY = dimY;
[all...]
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);
605 native void rsnAllocationResize2D(long con, long id, int dimX, int dimY); argument
606 synchronized void nAllocationResize2D(long id, int dimX, int dimY) { argument
608 rsnAllocationResize2D(mContext, id, dimX, dimY);
/frameworks/rs/driver/runtime/
H A Drs_allocation.c14 return alloc->mHal.drvState.lod[0].dimY;
116 const uint32_t dimY = alloc->mHal.drvState.lod[0].dimY; local
118 (z * stride * dimY)];
131 const uint32_t dimY = alloc->mHal.drvState.lod[0].dimY; local
134 (z * stride * dimY)];
276 const uint32_t dimY = alloc->mHal.drvState.lod[0].dimY; local
277 return &p[(eSize * x) + (y * stride) + (z * stride * dimY)];
302 const uint32_t dimY = alloc->mHal.drvState.lod[0].dimY; local
631 rsCreateType(rs_element element, uint32_t dimX, uint32_t dimY, uint32_t dimZ) argument
637 rsCreateType(rs_element element, uint32_t dimX, uint32_t dimY) argument
[all...]
H A Drs_structs.h67 uint32_t dimY; member in struct:Allocation::__anon1654::DrvState::LodState
255 uint32_t dimY; member in struct:Type::__anon1664::__anon1665
/frameworks/rs/java/tests/ScriptGroupTest/src/com/android/rs/sgtest/
H A DFilters.java122 dimX, dimY, 0.5f, 0.5f, 0.5f, Sampler.CLAMP_LINEAR(mRS));
140 private final int dimX=1067, dimY=1600; field in class:Filters.FisheyeFilter
/frameworks/rs/driver/
H A DrsdRuntimeStubs.cpp246 uint32_t dimX, uint32_t dimY,
272 if (dimX < 1 || dimY < 1) {
286 if (dimY > 0 && dimX < 1) {
291 if (mipmaps && dimY < 1) {
295 if (faces && dimY < 1) {
300 if (dimZ != 0 || dimY == 0 || faces || mipmaps) {
306 Type *type = (Type *) rsrTypeCreate(rsc, element, dimX, dimY, dimZ, mipmaps,
373 Type *rsCreateType(::rs_element element, uint32_t dimX, uint32_t dimY, argument
377 dimY, dimZ, mipmaps, faces,
402 uint32_t dimY, uint32_
245 CreateType(RsElement element, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, uint32_t 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
494 const uint32_t dimY = a->mHal.drvState.lod[0].dimY; local
[all...]
/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
2238 if (dimY > 0) {
2239 bufferSize *= dimY;
/frameworks/base/rs/jni/
H A Dandroid_renderscript_RenderScript.cpp2766 jint dimY, jint dimZ) {
2789 if (dimY > 0) {
2790 bufferSize *= dimY;
2764 nAllocationGetByteBuffer(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jlongArray strideArr, jint xBytesSize, jint dimY, jint dimZ) argument

Completed in 405 milliseconds