HomeSort by relevance Sort by last modified time
    Searched defs:dimX (Results 1 - 6 of 6) sorted by null

  /cts/tests/tests/renderscript/src/android/renderscript/cts/
AllocationCreateAllocationsTest.java 32 private int dimX = 1920;
38 Type t = Type.createXY(mRS, e, dimX, dimY);
SingleSourceAllocationTest.java 31 private static final int dimX = 3;
41 s.set_gDimX(dimX);
AllocationByteBufferTest.java 36 Allocation createTypedAllocation(DataType dt, int size, int dimX, int dimY) {
40 t = Type.createX(mRS, e, dimX);
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);
62 int posX = r.nextInt(dimX);
64 byte byteInData = data[(posY * dimX + posX) * vecWidth * byteSize];
74 int dimX = r.nextInt(MAX_DIM) + 1;
75 testByteBufferHelper(dt, byteSize, dimX, 1)
    [all...]
ReduceTest.java 191 final int dimX = 450, dimY = 225;
193 final int[] inputArray = createInputArrayInt(dimX * dimY, 1, 1 << 13);
195 typeBuilder.setX(dimX).setY(dimY);
197 inputAllocation.copy2DRangeFrom(0, 0, dimX, dimY, inputArray);
388 final int dimX = 225, dimY = 450;
389 final int inputLen = dimX * dimY;
396 typeBuilder.setX(dimX).setY(dimY);
398 inputAllocation.copy2DRangeFrom(0, 0, dimX, dimY, inputArray);
402 final int cellVal = inputArray[rsRslt.x + dimX * rsRslt.y];
411 final int dimX = 59, dimY = 48, dimZ = 37
    [all...]
ImageProcessingTest.java 68 private final int dimX = 256;
74 Type t = new Type.Builder(mRS, Element.U8_4(mRS)).setX(dimX).setY(dimX).create();
821 Type connect = new Type.Builder(mRS, Element.U8_4(mRS)).setX(dimX).setY(dimX).create();
  /cts/tests/tests/rsblas/src/android/renderscript/cts/
IntrinsicBLAS.java 353 int dimX = 1 + (mBLASData.dN - 1) * incX;
355 vectorXS = Allocation.createTyped(mRS, Type.createXY(mRS, Element.F32(mRS), dimX, 1));
408 int dimX = 1 + (mBLASData.dN - 1) * incX;
410 vectorXD = Allocation.createTyped(mRS, Type.createXY(mRS, Element.F64(mRS), dimX, 1));
463 int dimX = 1 + (mBLASData.dN - 1) * incX;
465 vectorXC = Allocation.createTyped(mRS, Type.createXY(mRS, Element.F32_2(mRS), dimX, 1));
518 int dimX = 1 + (mBLASData.dN - 1) * incX;
520 vectorXZ = Allocation.createTyped(mRS, Type.createXY(mRS, Element.F64_2(mRS), dimX, 1));
653 int dimX = 1 + (mBLASData.dN - 1) * incX;
655 vectorXS = Allocation.createTyped(mRS, Type.createXY(mRS, Element.F32(mRS), dimX, 1))
    [all...]

Completed in 161 milliseconds