/frameworks/rs/script_api/include/ |
D | rs_allocation_create.rsh | 85 * 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/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | alloc.rscript | 5 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);
|
D | foreach.rscript | 5 int dimY; 22 for (j = 0; j < dimY; j++) { 43 for (j = 0; j < dimY; j++) {
|
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/ |
D | alloc.rscript | 5 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);
|
D | foreach.rscript | 5 int dimY; 16 for (j = 0; j < dimY; j++) {
|
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/ |
D | alloc.rscript | 5 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/support/java/src/androidx/renderscript/ |
D | Type.java | 234 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/ |
D | rsType.cpp | 78 uint32_t l2y = rsFindHighBit(mHal.state.dimY) + 1; in compute() 102 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 …]
|
D | rsType.h | 49 uint32_t dimY; member 74 uint32_t getDimY() const {return mHal.state.dimY;} in getDimY() 111 ObjectBaseRef<Type> cloneAndResize2D(Context *rsc, uint32_t dimX, uint32_t dimY) const; 123 … ObjectBaseRef<Type> getTypeRef(Context *rsc, const Element *e, uint32_t dimX, uint32_t dimY = 0) { 127 p.dimY = dimY;
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | UT_reduce_backward.java | 122 final int dimX = 450, dimY = 225; in addint2D() local 124 final int[] inputArray = createInputArrayInt(dimX * dimY, 1, 1 << 13); in addint2D() 126 typeBuilder.setX(dimX).setY(dimY); in addint2D() 128 inputAllocation.copy2DRangeFrom(0, 0, dimX, dimY, inputArray); in addint2D() 193 final int dimX = 225, dimY = 450; in fz2() local 194 final int inputLen = dimX * dimY; in fz2() 201 typeBuilder.setX(dimX).setY(dimY); in fz2() 203 inputAllocation.copy2DRangeFrom(0, 0, dimX, dimY, inputArray); in fz2() 218 final int dimX = 59, dimY = 48, dimZ = 37; in fz3() local 219 final int inputLen = dimX * dimY * dimZ; in fz3() [all …]
|
D | UT_small_struct.java | 30 private static final int dimY = 2; field in UT_small_struct 38 s.set_gDimY(dimY); in initializeGlobals() 42 builderA.setY(dimY); in initializeGlobals() 49 builderB.setY(dimY); in initializeGlobals()
|
D | UT_small_struct_2.java | 30 private static final int dimY = 2; field in UT_small_struct_2 38 s.set_gDimY(dimY); in initializeGlobals() 42 builderA.setY(dimY); in initializeGlobals() 49 builderB.setY(dimY); in initializeGlobals()
|
D | single_source_script.rscript | 20 int dimY; 51 for (j = 0; j < dimY; j++) { 55 if (j < dimY / 2) { 87 for (j = 0; j < dimY; j++) { 99 opts.yEnd = dimY / 2; 109 opts2.yEnd = dimY;
|
D | alloc.rscript | 21 int dimY; 51 _RS_ASSERT(rsAllocationGetDimY(aFaces) == dimY); 57 _RS_ASSERT(rsAllocationGetDimY(aLOD) == dimY); 63 _RS_ASSERT(rsAllocationGetDimY(aFacesLOD) == dimY);
|
D | UT_fp16.java | 27 private int dimY = 5; field in UT_fp16 43 typeBuilder.setX(dimX).setY(dimY); in initializeGlobals() 46 typeBuilder.setX(dimX).setY(dimY).setZ(dimZ); in initializeGlobals() 53 s.set_gDimY(nDims > 1 ? dimY : 0); in initializeGlobals()
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | UT_reduce_backward.java | 124 final int dimX = 450, dimY = 225; in addint2D() local 126 final int[] inputArray = createInputArrayInt(dimX * dimY, 1, 1 << 13); in addint2D() 128 typeBuilder.setX(dimX).setY(dimY); in addint2D() 130 inputAllocation.copy2DRangeFrom(0, 0, dimX, dimY, inputArray); in addint2D() 195 final int dimX = 225, dimY = 450; in fz2() local 196 final int inputLen = dimX * dimY; in fz2() 203 typeBuilder.setX(dimX).setY(dimY); in fz2() 205 inputAllocation.copy2DRangeFrom(0, 0, dimX, dimY, inputArray); in fz2() 220 final int dimX = 59, dimY = 48, dimZ = 37; in fz3() local 221 final int inputLen = dimX * dimY * dimZ; in fz3() [all …]
|
D | alloc_supportlib.rscript | 23 int dimY; 40 _RS_ASSERT(rsAllocationGetDimY(aRaw) == dimY); 44 for (j = 0; j < dimY; j++) { 62 for (j = 0; j < dimY; j++) { 72 _RS_ASSERT(rsAllocationGetDimY(aFaces) == dimY); 78 _RS_ASSERT(rsAllocationGetDimY(aLOD) == dimY); 84 _RS_ASSERT(rsAllocationGetDimY(aFacesLOD) == dimY);
|
D | UT_small_struct.java | 32 private static final int dimY = 2; field in UT_small_struct 40 s.set_gDimY(dimY); in initializeGlobals() 44 builderA.setY(dimY); in initializeGlobals() 51 builderB.setY(dimY); in initializeGlobals()
|
D | UT_small_struct_2.java | 32 private static final int dimY = 2; field in UT_small_struct_2 40 s.set_gDimY(dimY); in initializeGlobals() 44 builderA.setY(dimY); in initializeGlobals() 51 builderB.setY(dimY); in initializeGlobals()
|
D | single_source_script.rscript | 22 int dimY; 53 for (j = 0; j < dimY; j++) { 57 if (j < dimY / 2) { 89 for (j = 0; j < dimY; j++) { 101 opts.yEnd = dimY / 2; 111 opts2.yEnd = dimY;
|
D | alloc.rscript | 23 int dimY; 53 _RS_ASSERT(rsAllocationGetDimY(aFaces) == dimY); 59 _RS_ASSERT(rsAllocationGetDimY(aLOD) == dimY); 65 _RS_ASSERT(rsAllocationGetDimY(aFacesLOD) == dimY);
|
/frameworks/rs/script_api/ |
D | rs_allocation_create.spec | 80 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/rs/tests/java_api/RSUnitTests/supportlibonlysrc/com/android/rs/unittest/ |
D | alloc_supportlib.rscript | 21 int dimY; 38 _RS_ASSERT(rsAllocationGetDimY(aRaw) == dimY); 42 for (j = 0; j < dimY; j++) { 60 for (j = 0; j < dimY; j++) { 70 _RS_ASSERT(rsAllocationGetDimY(aFaces) == dimY); 76 _RS_ASSERT(rsAllocationGetDimY(aLOD) == dimY); 82 _RS_ASSERT(rsAllocationGetDimY(aFacesLOD) == dimY);
|
/frameworks/base/rs/java/android/renderscript/ |
D | Type.java | 287 static public Type createXY(RenderScript rs, Element e, int dimX, int dimY) { in createXY() argument 288 if ((dimX < 1) || (dimY < 1)) { in createXY() 292 long id = rs.nTypeCreate(e.getID(rs), dimX, dimY, 0, false, false, 0); in createXY() 296 t.mDimY = dimY; in createXY() 313 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() 322 t.mDimY = dimY; in createXYZ()
|
/frameworks/rs/driver/runtime/ |
D | rs_allocation.c | 14 return alloc->mHal.drvState.lod[0].dimY; in rsAllocationGetDimY() 70 const uint32_t dimY = alloc->mHal.drvState.lod[0].dimY; in rsOffset() local 72 (z * stride * dimY)]; in rsOffset() 81 const uint32_t dimY = alloc->mHal.drvState.lod[0].dimY; in rsOffsetNs() local 84 (z * stride * dimY)]; in rsOffsetNs() 214 const uint32_t dimY = alloc->mHal.drvState.lod[0].dimY; in rsGetElementAt() local 215 return &p[(eSize * x) + (y * stride) + (z * stride * dimY)]; in rsGetElementAt() 240 const uint32_t dimY = alloc->mHal.drvState.lod[0].dimY; in rsSetElementAt() local 241 local_memcpy((void*)&p[(eSize * x) + (y * stride) + (z * stride * dimY)], ptr, eSize); in rsSetElementAt() 417 rs_element element, uint32_t dimX, uint32_t dimY, uint32_t dimZ, [all …]
|