/frameworks/rs/script_api/include/ |
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...] |
/prebuilts/sdk/renderscript/include/ |
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...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
single_source_script.rs | 43 void testLaunchOptions(rs_allocation in, rs_allocation out, int dimX, int dimY) { 48 opts.yEnd = dimY / 2; 52 void testAllocationlessLaunch(rs_allocation inAndOut, int dimX, int dimY) { 58 opts.yEnd = dimY; 65 const uint32_t dimY = rsAllocationGetDimY(in); 67 for (int j = 0; j < dimY; j++) {
|
AtomicTest.rs | 66 uint32_t dimY = rsAllocationGetDimY(a); 67 for (uint32_t y = 0; y < dimY; y++) { 78 uint32_t dimY = rsAllocationGetDimY(a); 79 for (uint32_t y = 0; y < dimY; y++) { 90 uint32_t dimY = rsAllocationGetDimY(a); 91 for (uint32_t y = 0; y < dimY; y++) { 102 uint32_t dimY = rsAllocationGetDimY(a); 103 for (uint32_t y = 0; y < dimY; y++) {
|
TestCtxDim.rs | 28 uint32_t dimY = rsGetDimY(context); 29 _RS_ASSERT(gDimY == dimY);
|
AllocationByteBufferTest.java | 36 Allocation createTypedAllocation(DataType dt, int size, int dimX, int dimY) { 39 if (dimY <= 1) { 42 t = Type.createXY(mRS, e, dimX, dimY); 48 void testByteBufferHelper(DataType dt, int byteSize, int dimX, int dimY) { 53 byte[] data = new byte[dimX * dimY * vecWidth * byteSize]; 56 Allocation alloc = createTypedAllocation(dt, size, dimX, dimY); 63 int posY = r.nextInt(dimY); 81 int dimY = r.nextInt(MAX_DIM) + 2; //Make sure dimY is larger than 1; 82 testByteBufferHelper(dt, byteSize, dimX, dimY); [all...] |
SingleSourceAllocationTest.java | 32 private static final int dimY = 4; 42 s.set_gDimY(dimY);
|
launchclip.rs | 22 int dimY;
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
UT_small_struct.java | 30 private static final int dimY = 2; 38 s.set_gDimY(dimY); 42 builderA.setY(dimY); 49 builderB.setY(dimY);
|
UT_small_struct_2.java | 30 private static final int dimY = 2; 38 s.set_gDimY(dimY); 42 builderA.setY(dimY); 49 builderB.setY(dimY);
|
noroot.rs | 21 int dimY; 32 for (j = 0; j < dimY; j++) {
|
foreach.rs | 21 int dimY; 38 for (j = 0; j < dimY; j++) { 59 for (j = 0; j < dimY; j++) {
|
single_source_ref_count.rs | 20 static const int dimY = 768; 32 rs_type type = rsCreateType(element, dimX, dimY, dimZ); 55 rs_type type = rsCreateType(element, dimX, dimY, dimZ);
|
alloc.rs | 21 int dimY; 51 _RS_ASSERT(rsAllocationGetDimY(aFaces) == dimY); 57 _RS_ASSERT(rsAllocationGetDimY(aLOD) == dimY); 63 _RS_ASSERT(rsAllocationGetDimY(aFacesLOD) == dimY);
|
foreach_bounds.rs | 20 int dimY; 45 for (j = 0; j < dimY; j++) {
|
single_source_script.rs | 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;
|
kernel3d.rs | 32 uint32_t dimY = rsGetDimY(context); 35 _RS_ASSERT_EQU(dimY, gDimY); 37 return ain + x + dimX * y + dimX * dimY * z;
|
kernel2d.rs | 32 uint32_t dimY = rsGetDimY(context); 34 _RS_ASSERT_EQU(dimY, gDimY);
|
kernel2d_oldstyle.rs | 32 uint32_t dimY = rsGetDimY(context); 34 _RS_ASSERT_EQU(dimY, gDimY);
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
UT_small_struct.java | 32 private static final int dimY = 2; 40 s.set_gDimY(dimY); 44 builderA.setY(dimY); 51 builderB.setY(dimY);
|
UT_small_struct_2.java | 32 private static final int dimY = 2; 40 s.set_gDimY(dimY); 44 builderA.setY(dimY); 51 builderB.setY(dimY);
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibonlysrc/com/android/rs/unittest/ |
alloc_supportlib.rs | 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/rs/ |
rsType.h | 49 uint32_t dimY; 74 uint32_t getDimY() const {return mHal.state.dimY;} 111 ObjectBaseRef<Type> cloneAndResize2D(Context *rsc, uint32_t dimX, uint32_t dimY) const; 123 static ObjectBaseRef<Type> getTypeRef(Context *rsc, const Element *e, uint32_t dimX, uint32_t dimY = 0) { 127 p.dimY = dimY;
|
/frameworks/base/rs/java/android/renderscript/ |
Type.java | 283 * @param dimY The Y dimension, must be > 0 287 static public Type createXY(RenderScript rs, Element e, int dimX, int dimY) { 288 if ((dimX < 1) || (dimY < 1)) { 292 long id = rs.nTypeCreate(e.getID(rs), dimX, dimY, 0, false, false, 0); 296 t.mDimY = dimY; 308 * @param dimY The Y dimension, must be > 0 313 static public Type createXYZ(RenderScript rs, Element e, int dimX, int dimY, int dimZ) { 314 if ((dimX < 1) || (dimY < 1) || (dimZ < 1)) { 318 long id = rs.nTypeCreate(e.getID(rs), dimX, dimY, dimZ, false, false, 0); 322 t.mDimY = dimY; [all...] |
/frameworks/rs/support/java/src/android/support/v8/renderscript/ |
Type.java | 230 * @param dimY The Y dimension, must be > 0 234 static public Type createXY(RenderScript rs, Element e, int dimX, int dimY) { 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) { 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...] |