Home
last modified time | relevance | path

Searched refs:dimY (Results 1 – 25 of 65) sorted by relevance

123

/frameworks/rs/scriptc/
Drs_allocation_create.rsh85 * dimY, if present and non-zero, indicates that the Y dimension is present and
100 * dimY: Size along the Y 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);
119 rsCreateType(rs_element element, uint32_t dimX, uint32_t dimY);
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) {
[all …]
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/
Dalloc.rs5 int dimY;
22 _RS_ASSERT(rsAllocationGetDimY(aRaw) == dimY);
26 for (j = 0; j < dimY; j++) {
44 for (j = 0; j < dimY; j++) {
54 _RS_ASSERT(rsAllocationGetDimY(aFaces) == dimY);
60 _RS_ASSERT(rsAllocationGetDimY(aLOD) == dimY);
66 _RS_ASSERT(rsAllocationGetDimY(aFacesLOD) == dimY);
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/
Dalloc.rs5 int dimY;
22 _RS_ASSERT(rsAllocationGetDimY(aRaw) == dimY);
26 for (j = 0; j < dimY; j++) {
44 for (j = 0; j < dimY; j++) {
54 _RS_ASSERT(rsAllocationGetDimY(aFaces) == dimY);
60 _RS_ASSERT(rsAllocationGetDimY(aLOD) == dimY);
66 _RS_ASSERT(rsAllocationGetDimY(aFacesLOD) == dimY);
Dforeach.rs5 int dimY;
22 for (j = 0; j < dimY; j++) {
43 for (j = 0; j < dimY; j++) {
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
Dalloc.rs5 int dimY;
22 _RS_ASSERT(rsAllocationGetDimY(aRaw) == dimY);
26 for (j = 0; j < dimY; j++) {
44 for (j = 0; j < dimY; j++) {
54 _RS_ASSERT(rsAllocationGetDimY(aFaces) == dimY);
60 _RS_ASSERT(rsAllocationGetDimY(aLOD) == dimY);
66 _RS_ASSERT(rsAllocationGetDimY(aFacesLOD) == dimY);
DUT_reduce_backward.java106 final int dimX = 450, dimY = 225; in addint2D() local
108 final int[] inputArray = createInputArrayInt(dimX * dimY, 1, 1 << 13); in addint2D()
110 typeBuilder.setX(dimX).setY(dimY); in addint2D()
112 inputAllocation.copy2DRangeFrom(0, 0, dimX, dimY, inputArray); in addint2D()
171 final int dimX = 225, dimY = 450; in fz2() local
172 final int inputLen = dimX * dimY; in fz2()
179 typeBuilder.setX(dimX).setY(dimY); in fz2()
181 inputAllocation.copy2DRangeFrom(0, 0, dimX, dimY, inputArray); in fz2()
196 final int dimX = 59, dimY = 48, dimZ = 37; in fz3() local
197 final int inputLen = dimX * dimY * dimZ; in fz3()
[all …]
DUT_reduce.java106 final int dimX = 450, dimY = 225; in addint2D() local
108 final int[] inputArray = createInputArrayInt(dimX * dimY, 1, 1 << 13); in addint2D()
110 typeBuilder.setX(dimX).setY(dimY); in addint2D()
112 inputAllocation.copy2DRangeFrom(0, 0, dimX, dimY, inputArray); in addint2D()
171 final int dimX = 225, dimY = 450; in fz2() local
172 final int inputLen = dimX * dimY; in fz2()
179 typeBuilder.setX(dimX).setY(dimY); in fz2()
181 inputAllocation.copy2DRangeFrom(0, 0, dimX, dimY, inputArray); in fz2()
196 final int dimX = 59, dimY = 48, dimZ = 37; in fz3() local
197 final int inputLen = dimX * dimY * dimZ; in fz3()
[all …]
Dforeach.rs5 int dimY;
22 for (j = 0; j < dimY; j++) {
43 for (j = 0; j < dimY; j++) {
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/
Dalloc.rs5 int dimY;
22 _RS_ASSERT(rsAllocationGetDimY(aRaw) == dimY);
26 for (j = 0; j < dimY; j++) {
44 for (j = 0; j < dimY; j++) {
54 _RS_ASSERT(rsAllocationGetDimY(aFaces) == dimY);
60 _RS_ASSERT(rsAllocationGetDimY(aLOD) == dimY);
66 _RS_ASSERT(rsAllocationGetDimY(aFacesLOD) == dimY);
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
Dsingle_source_script.rs4 int dimY;
35 for (j = 0; j < dimY; j++) {
39 if (j < dimY / 2) {
71 for (j = 0; j < dimY; j++) {
83 opts.yEnd = dimY / 2;
93 opts2.yEnd = dimY;
DUT_reduce_backward.java116 final int dimX = 450, dimY = 225; in addint2D() local
118 final int[] inputArray = createInputArrayInt(dimX * dimY, 1, 1 << 13); in addint2D()
120 typeBuilder.setX(dimX).setY(dimY); in addint2D()
122 inputAllocation.copy2DRangeFrom(0, 0, dimX, dimY, inputArray); in addint2D()
187 final int dimX = 225, dimY = 450; in fz2() local
188 final int inputLen = dimX * dimY; in fz2()
195 typeBuilder.setX(dimX).setY(dimY); in fz2()
197 inputAllocation.copy2DRangeFrom(0, 0, dimX, dimY, inputArray); in fz2()
212 final int dimX = 59, dimY = 48, dimZ = 37; in fz3() local
213 final int inputLen = dimX * dimY * dimZ; in fz3()
[all …]
DUT_small_struct.java27 private static final int dimY = 2; field in UT_small_struct
35 s.set_gDimY(dimY); in initializeGlobals()
39 builderA.setY(dimY); in initializeGlobals()
46 builderB.setY(dimY); in initializeGlobals()
Dalloc.rs5 int dimY;
35 _RS_ASSERT(rsAllocationGetDimY(aFaces) == dimY);
41 _RS_ASSERT(rsAllocationGetDimY(aLOD) == dimY);
47 _RS_ASSERT(rsAllocationGetDimY(aFacesLOD) == dimY);
Dsingle_source_ref_count.rs4 static const int dimY = 768;
16 rs_type type = rsCreateType(element, dimX, dimY, dimZ);
39 rs_type type = rsCreateType(element, dimX, dimY, dimZ);
Dforeach.rs5 int dimY;
22 for (j = 0; j < dimY; j++) {
43 for (j = 0; j < dimY; j++) {
DUT_fp16.java26 private int dimY = 5; field in UT_fp16
42 typeBuilder.setX(dimX).setY(dimY); in initializeGlobals()
45 typeBuilder.setX(dimX).setY(dimY).setZ(dimZ); in initializeGlobals()
51 s.set_gDimY(nDims > 1? dimY: 0); in initializeGlobals()
Dkernel3d.rs16 uint32_t dimY = rsGetDimY(context);
19 _RS_ASSERT_EQU(dimY, gDimY);
21 return ain + x + dimX * y + dimX * dimY * z;
DUT_reduce.java288 final int dimY = size[1]; in addint2D() local
290 …final int[] inputArray = createInputArrayInt(dimX * dimY, seed, Integer.MAX_VALUE / (dimX * dimY)); in addint2D()
299 typeBuilder.setX(dimX).setY(dimY); in addint2D()
304 inputAllocation.copy2DRangeFrom(0, 0, dimX, dimY, inputArray); in addint2D()
321 final int dimY = size[1]; in addint3D() local
324 …inal int[] inputArray = createInputArrayInt(dimX * dimY * dimZ, seed, Integer.MAX_VALUE / (dimX * in addint3D()
333 typeBuilder.setX(dimX).setY(dimY).setZ(dimZ); in addint3D()
338 inputAllocation.copy3DRangeFrom(0, 0, 0, dimX, dimY, dimZ, inputArray); in addint3D()
615 final int dimX = size[0], dimY = size[1]; in fz2() local
616 final int inputLen = dimX * dimY; in fz2()
[all …]
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DType.java234 static public Type createXY(RenderScript rs, Element e, int dimX, int dimY) { in createXY() argument
235 if ((dimX < 1) || (dimY < 1)) { in createXY()
239 long id = rs.nTypeCreate(e.getID(rs), dimX, dimY, 0, false, false, 0); in createXY()
243 t.mDimY = dimY; in createXY()
260 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()
269 t.mDimY = dimY; in createXYZ()
/frameworks/rs/
DrsType.cpp79 uint32_t l2y = rsFindHighBit(mHal.state.dimY) + 1; in compute()
103 uint32_t ty = mHal.state.dimY; in compute()
156 mHal.state.dimY, in dumpLOGV()
172 stream->addU32(mHal.state.dimY); in serialize()
197 p.dimY = stream->loadU32(); in createFromStream()
236 if (t->getDimY() != params->dimY) continue; in getTypeRef()
269 nt->mHal.state.dimY = params->dimY; in getTypeRef()
300 p.dimY = getDimY(); in cloneAndResize1D()
308 uint32_t dimY) const { in cloneAndResize2D()
312 p.dimY = dimY; in cloneAndResize2D()
[all …]
DrsType.h47 uint32_t dimY; member
72 uint32_t getDimY() const {return mHal.state.dimY;} in getDimY()
109 ObjectBaseRef<Type> cloneAndResize2D(Context *rsc, uint32_t dimX, uint32_t dimY) const;
121 … ObjectBaseRef<Type> getTypeRef(Context *rsc, const Element *e, uint32_t dimX, uint32_t dimY = 0) {
125 p.dimY = dimY;
DrsGrallocConsumer.cpp51 uint32_t y = a->mHal.drvState.lod[0].dimY; in GrallocConsumer()
155 rsAssert(mAlloc[idx]->mHal.drvState.lod[0].dimY == in lockNextBuffer()
174 const int yHeight = mAlloc[idx]->mHal.drvState.lod[0].dimY; in lockNextBuffer()
182 mAlloc[idx]->mHal.drvState.lod[1].dimY = cHeight; in lockNextBuffer()
184 mAlloc[idx]->mHal.drvState.lod[2].dimY = cHeight; in lockNextBuffer()
206 mAlloc[idx]->mHal.drvState.lod[1].dimY = cHeight; in lockNextBuffer()
208 mAlloc[idx]->mHal.drvState.lod[2].dimY = cHeight; in lockNextBuffer()
/frameworks/rs/api/
Drs_allocation_create.spec80 arg: uint32_t dimY, "Size along the Y dimension"
91 dimY, if present and non-zero, indicates that the Y dimension is present and
110 arg: uint32_t dimY
120 arg: uint32_t dimY
177 arg: uint32_t dimY
181 rs_type t = rsCreateType(e, dimX, dimY, dimZ);
192 arg: uint32_t dimY
196 rs_type t = rsCreateType(e, dimX, dimY, dimZ);
206 arg: uint32_t dimY
209 rs_type t = rsCreateType(e, dimX, dimY);
[all …]
/frameworks/base/rs/java/android/renderscript/
DType.java288 static public Type createXY(RenderScript rs, Element e, int dimX, int dimY) { in createXY() argument
289 if ((dimX < 1) || (dimY < 1)) { in createXY()
293 long id = rs.nTypeCreate(e.getID(rs), dimX, dimY, 0, false, false, 0); in createXY()
297 t.mDimY = dimY; in createXY()
314 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()
323 t.mDimY = dimY; in createXYZ()
/frameworks/rs/driver/runtime/
Drs_allocation.c14 return alloc->mHal.drvState.lod[0].dimY; in rsAllocationGetDimY()
116 const uint32_t dimY = alloc->mHal.drvState.lod[0].dimY; in rsOffset() local
118 (z * stride * dimY)]; in rsOffset()
131 const uint32_t dimY = alloc->mHal.drvState.lod[0].dimY; in rsOffsetNs() local
134 (z * stride * dimY)]; in rsOffsetNs()
276 const uint32_t dimY = alloc->mHal.drvState.lod[0].dimY; in rsGetElementAt() local
277 return &p[(eSize * x) + (y * stride) + (z * stride * dimY)]; in rsGetElementAt()
302 const uint32_t dimY = alloc->mHal.drvState.lod[0].dimY; in rsSetElementAt() local
303 memcpy((void*)&p[(eSize * x) + (y * stride) + (z * stride * dimY)], ptr, eSize); in rsSetElementAt()
503 rs_element element, uint32_t dimX, uint32_t dimY, uint32_t dimZ,
[all …]

123