/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
H A D | UT_alloc_copy.java | 33 RenderScript mRS = RenderScript.create(mCtx); 35 allocation_copy1DRangeTo_Byte(mRS); 36 allocation_copy1DRangeTo_Short(mRS); 37 allocation_copy1DRangeTo_Int(mRS); 38 allocation_copy1DRangeTo_Float(mRS); 39 allocation_copy1DRangeTo_Long(mRS); 41 allocation_copy2DRangeTo_Byte(mRS); 42 allocation_copy2DRangeTo_Short(mRS); 43 allocation_copy2DRangeTo_Int(mRS); 44 allocation_copy2DRangeTo_Float(mRS); 57 allocation_copy1DRangeTo_Byte(RenderScript mRS) argument 96 allocation_copy1DRangeTo_Short(RenderScript mRS) argument 138 allocation_copy1DRangeTo_Int(RenderScript mRS) argument 180 allocation_copy1DRangeTo_Float(RenderScript mRS) argument 222 allocation_copy1DRangeTo_Long(RenderScript mRS) argument 264 allocation_copy2DRangeTo_Byte(RenderScript mRS) argument 299 allocation_copy2DRangeTo_Short(RenderScript mRS) argument 337 allocation_copy2DRangeTo_Int(RenderScript mRS) argument 375 allocation_copy2DRangeTo_Float(RenderScript mRS) argument 413 allocation_copy2DRangeTo_Long(RenderScript mRS) argument 452 allocation_copy1DRangeToUnchecked_Byte(RenderScript mRS) argument 491 allocation_copy1DRangeToUnchecked_Short(RenderScript mRS) argument 533 allocation_copy1DRangeToUnchecked_Int(RenderScript mRS) argument 575 allocation_copy1DRangeToUnchecked_Float(RenderScript mRS) argument 617 allocation_copy1DRangeToUnchecked_Long(RenderScript mRS) argument [all...] |
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
H A D | UT_alloc_copy.java | 33 RenderScript mRS = RenderScript.create(mCtx); 35 allocation_copy1DRangeTo_Byte(mRS); 36 allocation_copy1DRangeTo_Short(mRS); 37 allocation_copy1DRangeTo_Int(mRS); 38 allocation_copy1DRangeTo_Float(mRS); 39 allocation_copy1DRangeTo_Long(mRS); 41 allocation_copy2DRangeTo_Byte(mRS); 42 allocation_copy2DRangeTo_Short(mRS); 43 allocation_copy2DRangeTo_Int(mRS); 44 allocation_copy2DRangeTo_Float(mRS); 57 allocation_copy1DRangeTo_Byte(RenderScript mRS) argument 96 allocation_copy1DRangeTo_Short(RenderScript mRS) argument 138 allocation_copy1DRangeTo_Int(RenderScript mRS) argument 180 allocation_copy1DRangeTo_Float(RenderScript mRS) argument 222 allocation_copy1DRangeTo_Long(RenderScript mRS) argument 264 allocation_copy2DRangeTo_Byte(RenderScript mRS) argument 299 allocation_copy2DRangeTo_Short(RenderScript mRS) argument 337 allocation_copy2DRangeTo_Int(RenderScript mRS) argument 375 allocation_copy2DRangeTo_Float(RenderScript mRS) argument 413 allocation_copy2DRangeTo_Long(RenderScript mRS) argument 452 allocation_copy1DRangeToUnchecked_Byte(RenderScript mRS) argument 491 allocation_copy1DRangeToUnchecked_Short(RenderScript mRS) argument 533 allocation_copy1DRangeToUnchecked_Int(RenderScript mRS) argument 575 allocation_copy1DRangeToUnchecked_Float(RenderScript mRS) argument 617 allocation_copy1DRangeToUnchecked_Long(RenderScript mRS) argument [all...] |
/frameworks/rs/java/tests/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/ |
H A D | TestBase.java | 31 protected RenderScript mRS; field in class:TestBase 40 mRS = ipact.mProcessor.mRS;
|
/frameworks/av/media/libstagefright/filters/ |
H A D | RSFilter.cpp | 55 mRS = wrapper->mContext; 63 RSC::sp<const RSC::Element> e = RSC::Element::U8_4(mRS); 65 RSC::Type::Builder tb(mRS, e); 70 mAllocIn = RSC::Allocation::createTyped(mRS, t); 71 mAllocOut = RSC::Allocation::createTyped(mRS, t); 80 mRS.clear();
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | ProgramVertex.java | 124 mRS.validate(); 131 tmp[idx++] = mInputs[i].getID(mRS); 135 tmp[idx++] = mOutputs[i].getID(mRS); 139 tmp[idx++] = mConstants[i].getID(mRS); 147 long id = mRS.nProgramVertexCreate(mShader, texNames, tmp); 148 ProgramVertex pv = new ProgramVertex(id, mRS);
|
H A D | ProgramVertexFixedFunction.java | 42 mRS.validate(); 77 mRS.validate(); 84 tmp[idx++] = mInputs[i].getID(mRS); 88 tmp[idx++] = mOutputs[i].getID(mRS); 92 tmp[idx++] = mConstants[i].getID(mRS); 100 long id = mRS.nProgramVertexCreate(mShader, texNames, tmp); 101 ProgramVertexFixedFunction pv = new ProgramVertexFixedFunction(id, mRS); 113 RenderScript mRS; field in class:ProgramVertexFixedFunction.Builder 122 mRS = rs; 176 InternalBuilder sb = new InternalBuilder(mRS); [all...] |
H A D | ScriptIntrinsicColorMatrix.java | 245 if (!ain.getElement().isCompatible(Element.U8(mRS)) && 246 !ain.getElement().isCompatible(Element.U8_2(mRS)) && 247 !ain.getElement().isCompatible(Element.U8_3(mRS)) && 248 !ain.getElement().isCompatible(Element.U8_4(mRS)) && 249 !ain.getElement().isCompatible(Element.F32(mRS)) && 250 !ain.getElement().isCompatible(Element.F32_2(mRS)) && 251 !ain.getElement().isCompatible(Element.F32_3(mRS)) && 252 !ain.getElement().isCompatible(Element.F32_4(mRS))) { 257 if (!aout.getElement().isCompatible(Element.U8(mRS)) && 258 !aout.getElement().isCompatible(Element.U8_2(mRS)) [all...] |
/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)); 52 mCube = Allocation.createTyped(mRS, t); 71 mScript = new ScriptC_colorcube(mRS); 72 mIntrinsic = ScriptIntrinsic3DLUT.create(mRS, Element.U8_4(mRS));
|
H A D | Fisheye.java | 101 mScript_approx_relaxed = new ScriptC_fisheye_approx_relaxed(mRS); 103 mScript_approx_relaxed.set_sampler(Sampler.CLAMP_LINEAR(mRS)); 105 mScript_approx_full = new ScriptC_fisheye_approx_full(mRS); 107 mScript_approx_full.set_sampler(Sampler.CLAMP_LINEAR(mRS)); 110 mScript_relaxed = new ScriptC_fisheye_relaxed(mRS); 112 mScript_relaxed.set_sampler(Sampler.CLAMP_LINEAR(mRS)); 114 mScript_full = new ScriptC_fisheye_full(mRS); 116 mScript_full.set_sampler(Sampler.CLAMP_LINEAR(mRS));
|
H A D | GroupTest.java | 51 mConvolve = ScriptIntrinsicConvolve3x3.create(mRS, Element.U8_4(mRS)); 52 mMatrix = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS)); 66 Type.Builder tb = new Type.Builder(mRS, Element.U8_4(mRS)); 72 ScriptGroup.Builder2 b = new ScriptGroup.Builder2(mRS); 85 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, connect);
|
H A D | BWFilter.java | 26 mScript = new ScriptC_bwfilter(mRS);
|
H A D | Contrast.java | 27 mScript = new ScriptC_contrast(mRS);
|
H A D | Exposure.java | 27 mScript = new ScriptC_exposure(mRS);
|
H A D | Shadows.java | 27 mScript = new ScriptC_shadows(mRS);
|
H A D | UsageIO.java | 41 mMatrix = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS)); 51 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, connect, Allocation.USAGE_IO_OUTPUT | Allocation.USAGE_SCRIPT); 52 mScratchPixelsAllocation2 = Allocation.createTyped(mRS, connect, Allocation.USAGE_IO_INPUT | Allocation.USAGE_SCRIPT);
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
H A D | ColorCube.java | 39 Type.Builder tb = new Type.Builder(mRS, Element.U8_4(mRS)); 44 mCube = Allocation.createTyped(mRS, t); 63 mScript = new ScriptC_colorcube(mRS); 64 mIntrinsic = ScriptIntrinsic3DLUT.create(mRS, Element.U8_4(mRS));
|
H A D | Fisheye.java | 103 mScript_approx_relaxed = new ScriptC_fisheye_approx_relaxed(mRS); 105 mScript_approx_relaxed.set_sampler(Sampler.CLAMP_LINEAR(mRS)); 107 mScript_approx_full = new ScriptC_fisheye_approx_full(mRS); 109 mScript_approx_full.set_sampler(Sampler.CLAMP_LINEAR(mRS)); 112 mScript_relaxed = new ScriptC_fisheye_relaxed(mRS); 114 mScript_relaxed.set_sampler(Sampler.CLAMP_LINEAR(mRS)); 116 mScript_full = new ScriptC_fisheye_full(mRS); 118 mScript_full.set_sampler(Sampler.CLAMP_LINEAR(mRS));
|
H A D | GroupTest.java | 44 mConvolve = ScriptIntrinsicConvolve3x3.create(mRS, Element.U8_4(mRS)); 45 mMatrix = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS)); 59 Type.Builder tb = new Type.Builder(mRS, Element.U8_4(mRS)); 65 ScriptGroup.Builder b = new ScriptGroup.Builder(mRS); 71 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, connect);
|
H A D | BWFilter.java | 26 mScript = new ScriptC_bwfilter(mRS);
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | ColorCube.java | 47 Type.Builder tb = new Type.Builder(mRS, Element.U8_4(mRS)); 52 mCube = Allocation.createTyped(mRS, t); 71 mScript = new ScriptC_colorcube(mRS); 72 mIntrinsic = ScriptIntrinsic3DLUT.create(mRS, Element.U8_4(mRS));
|
H A D | Fisheye.java | 106 mScript_approx_relaxed = new ScriptC_fisheye_approx_relaxed(mRS); 108 mScript_approx_relaxed.set_sampler(Sampler.CLAMP_LINEAR(mRS)); 110 mScript_approx_full = new ScriptC_fisheye_approx_full(mRS); 112 mScript_approx_full.set_sampler(Sampler.CLAMP_LINEAR(mRS)); 115 mScript_relaxed = new ScriptC_fisheye_relaxed(mRS); 117 mScript_relaxed.set_sampler(Sampler.CLAMP_LINEAR(mRS)); 119 mScript_full = new ScriptC_fisheye_full(mRS); 121 mScript_full.set_sampler(Sampler.CLAMP_LINEAR(mRS));
|
H A D | GroupTest.java | 51 mConvolve = ScriptIntrinsicConvolve3x3.create(mRS, Element.U8_4(mRS)); 52 mMatrix = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS)); 66 Type.Builder tb = new Type.Builder(mRS, Element.U8_4(mRS)); 72 ScriptGroup.Builder b = new ScriptGroup.Builder(mRS); 78 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, connect);
|
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/ |
H A D | BallsView.java | 49 private RenderScriptGL mRS; field in class:BallsView 54 if (mRS == null) { 56 mRS = createRenderScriptGL(sc); 57 mRS.setSurface(holder, w, h); 59 mRender.init(mRS, getResources(), w, h); 66 if(mRS != null) { 67 mRS = null; 108 if ((mRender == null) || (mRS == null)) {
|
/frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/ |
H A D | RsYuv.java | 42 private RenderScript mRS; field in class:RsYuv 52 mRS = rs; 53 mScript = new ScriptC_yuv(mRS); 54 mYuv = ScriptIntrinsicYuvToRGB.create(rs, Element.RGBA_8888(mRS)); 78 Type.Builder tb = new Type.Builder(mRS, Element.RGBA_8888(mRS)); 82 mAllocationOut = Allocation.createTyped(mRS, t, Allocation.USAGE_SCRIPT | 86 tb = new Type.Builder(mRS, Element.createPixel(mRS, Element.DataType.UNSIGNED_8, Element.DataKind.PIXEL_YUV)); 90 mAllocationIn = Allocation.createTyped(mRS, t [all...] |
/frameworks/rs/java/tests/ComputePerf/src/com/example/android/rs/computeperf/ |
H A D | ComputePerf.java | 31 private RenderScript mRS; field in class:ComputePerf 43 mRS = RenderScript.create(this); 44 mLT = new LaunchTest(mRS, getResources()); 59 mMandel = new Mandelbrot(mRS, getResources());
|