/frameworks/rs/java/tests/ComputePerf/src/com/example/android/rs/computeperf/ |
H A D | Mandelbrot.java | 31 Type.Builder tb = new Type.Builder(rs, Element.U8_4(rs)); 32 tb.setX(mScript.get_gDimX()); 33 tb.setY(mScript.get_gDimY()); 34 mAllocationXY = Allocation.createTyped(rs, tb.create());
|
H A D | LaunchTest.java | 34 Type.Builder tb = new Type.Builder(rs, Element.U8(rs)); 35 tb.setX(dim); 36 tb.setY(dim); 37 mAllocationXY = Allocation.createTyped(rs, tb.create());
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | TypeThunker.java | 66 android.renderscript.Type.Builder tb = 68 if (dx > 0) tb.setX(dx); 69 if (dy > 0) tb.setY(dy); 70 if (dz > 0) tb.setZ(dz); 71 if (dmip) tb.setMipmaps(dmip); 72 if (dfaces) tb.setFaces(dfaces); 73 if (yuv > 0) tb.setYuvFormat(yuv); 74 android.renderscript.Type nt = tb.create();
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
H A D | ColorCube.java | 47 Type.Builder tb = new Type.Builder(mRS, Element.U8_4(mRS)); 48 tb.setX(sx); 49 tb.setY(sy); 50 tb.setZ(sz); 51 Type t = tb.create();
|
H A D | Grain.java | 73 Type.Builder tb = new Type.Builder(mRS, Element.U8(mRS)); 74 tb.setX(noiseW); 75 tb.setY(noiseH); 76 mNoise = Allocation.createTyped(mRS, tb.create()); 77 mNoise2 = Allocation.createTyped(mRS, tb.create());
|
H A D | Blur25.java | 76 Type.Builder tb = new Type.Builder(mRS, Element.F32_4(mRS)); 77 tb.setX(width); 78 tb.setY(height); 79 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, tb.create()); 80 mScratchPixelsAllocation2 = Allocation.createTyped(mRS, tb.create());
|
H A D | Blur25G.java | 67 Type.Builder tb = new Type.Builder(mRS, Element.U8(mRS)); 68 tb.setX(width); 69 tb.setY(height); 70 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, tb.create()); 71 mScratchPixelsAllocation2 = Allocation.createTyped(mRS, tb.create());
|
H A D | Histogram.java | 44 Type.Builder tb = new Type.Builder(mRS, Element.I32(mRS)); 45 tb.setX(256).setY(steps); 46 Type t = tb.create();
|
H A D | GroupTest.java | 66 Type.Builder tb = new Type.Builder(mRS, Element.U8_4(mRS)); 67 tb.setX(mWidth); 68 tb.setY(mHeight); 69 Type connect = tb.create();
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
H A D | Blur25G.java | 61 Type.Builder tb = new Type.Builder(mRS, Element.U8(mRS)); 62 tb.setX(width); 63 tb.setY(height); 64 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, tb.create()); 65 mScratchPixelsAllocation2 = Allocation.createTyped(mRS, tb.create());
|
H A D | ColorCube.java | 39 Type.Builder tb = new Type.Builder(mRS, Element.U8_4(mRS)); 40 tb.setX(sx); 41 tb.setY(sy); 42 tb.setZ(sz); 43 Type t = tb.create();
|
H A D | Grain.java | 68 Type.Builder tb = new Type.Builder(mRS, Element.U8(mRS)); 69 tb.setX(noiseW); 70 tb.setY(noiseH); 71 mNoise = Allocation.createTyped(mRS, tb.create()); 72 mNoise2 = Allocation.createTyped(mRS, tb.create());
|
H A D | GroupTest.java | 59 Type.Builder tb = new Type.Builder(mRS, Element.U8_4(mRS)); 60 tb.setX(mWidth); 61 tb.setY(mHeight); 62 Type connect = tb.create();
|
H A D | Blur25.java | 72 Type.Builder tb = new Type.Builder(mRS, Element.F32_4(mRS)); 73 tb.setX(width); 74 tb.setY(height); 75 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, tb.create()); 76 mScratchPixelsAllocation2 = Allocation.createTyped(mRS, tb.create());
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | Blur25G.java | 67 Type.Builder tb = new Type.Builder(mRS, Element.U8(mRS)); 68 tb.setX(width); 69 tb.setY(height); 70 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, tb.create()); 71 mScratchPixelsAllocation2 = Allocation.createTyped(mRS, tb.create());
|
H A D | ColorCube.java | 47 Type.Builder tb = new Type.Builder(mRS, Element.U8_4(mRS)); 48 tb.setX(sx); 49 tb.setY(sy); 50 tb.setZ(sz); 51 Type t = tb.create();
|
H A D | Grain.java | 78 Type.Builder tb = new Type.Builder(mRS, Element.U8(mRS)); 79 tb.setX(noiseW); 80 tb.setY(noiseH); 81 mNoise = Allocation.createTyped(mRS, tb.create()); 82 mNoise2 = Allocation.createTyped(mRS, tb.create());
|
H A D | Blur25.java | 76 Type.Builder tb = new Type.Builder(mRS, Element.F32_4(mRS)); 77 tb.setX(width); 78 tb.setY(height); 79 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, tb.create()); 80 mScratchPixelsAllocation2 = Allocation.createTyped(mRS, tb.create());
|
H A D | GroupTest.java | 66 Type.Builder tb = new Type.Builder(mRS, Element.U8_4(mRS)); 67 tb.setX(mWidth); 68 tb.setY(mHeight); 69 Type connect = tb.create();
|
/frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/ |
H A D | RsYuv.java | 78 Type.Builder tb = new Type.Builder(mRS, Element.RGBA_8888(mRS)); 79 tb.setX(mWidth); 80 tb.setY(mHeight); 81 Type t = tb.create(); 86 tb = new Type.Builder(mRS, Element.createPixel(mRS, Element.DataType.UNSIGNED_8, Element.DataKind.PIXEL_YUV)); 87 tb.setX(mWidth); 88 tb.setY(mHeight); 89 tb.setYuvFormat(android.graphics.ImageFormat.NV21); 90 mAllocationIn = Allocation.createTyped(mRS, tb.create(), Allocation.USAGE_SCRIPT);
|
/frameworks/rs/tests/cppbasic/ |
H A D | compute.cpp | 24 Type::Builder tb(rs, e); 25 tb.setX(128); 26 tb.setY(128); 27 sp<const Type> t = tb.create(); 81 Type::Builder tb(rs, e); 82 tb.setX(xDim); 83 tb.setY(yDim); 84 sp<const Type> t = tb.create();
|
/frameworks/rs/tests/cppbasic-shared/ |
H A D | compute.cpp | 24 Type::Builder tb(rs, e); 25 tb.setX(128); 26 tb.setY(128); 27 sp<const Type> t = tb.create(); 81 Type::Builder tb(rs, e); 82 tb.setX(xDim); 83 tb.setY(yDim); 84 sp<const Type> t = tb.create();
|
/frameworks/rs/tests/cppstrided/ |
H A D | compute.cpp | 30 Type::Builder tb(rs, e); 31 tb.setX(numElems); 32 tb.setY(numElems); 33 sp<const Type> t = tb.create();
|
/frameworks/rs/tests/cppallocation/ |
H A D | compute.cpp | 29 Type::Builder tb(rs, e); 30 tb.setX(numElems); 31 sp<const Type> t = tb.create();
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsicLUT.cpp | 68 const uchar *tb = &tg[256]; local 69 const uchar *ta = &tb[256]; 74 out[2] = tb[in[2]];
|