Searched refs:mRS (Results 76 - 100 of 195) sorted by relevance

12345678

/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
H A DFisheye.java103 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 DGroupTest.java44 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 DBWFilter.java26 mScript = new ScriptC_bwfilter(mRS);
H A DContrast.java26 mScript = new ScriptC_contrast(mRS);
H A DCopy.java28 mScript = new ScriptC_copy(mRS);
H A DExposure.java27 mScript = new ScriptC_exposure(mRS);
H A DGreyscale.java25 mScript = new ScriptC_greyscale(mRS);
H A DShadows.java24 mScript = new ScriptC_shadows(mRS);
H A DVibrance.java23 mScript = new ScriptC_vibrance(mRS);
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
H A DFisheye.java106 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 DGroupTest.java51 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);
H A DBWFilter.java26 mScript = new ScriptC_bwfilter(mRS);
H A DContrast.java27 mScript = new ScriptC_contrast(mRS);
H A DExposure.java27 mScript = new ScriptC_exposure(mRS);
/frameworks/rs/tests/lldb/java/Reduction/src/com/android/rs/lldbreductiontest/
H A DMainActivity.java45 private RenderScript mRS; field in class:MainActivity
111 mRS = RenderScript.create(this, RenderScript.ContextType.NORMAL,
113 mScript = new ScriptC_reduce(mRS);
114 mScript_auto_comb = new ScriptC_reduce_auto_comb(mRS);
118 findMinUserType1D(mRS, mScript, mX);
119 findMinUserType1DAutoComb(mRS, mScript_auto_comb, mX);
123 mRS.finish();
124 mRS.destroy();
/frameworks/rs/tests/java_api/LivePreview/src/com/android/rs/livepreview/
H A DRsYuv.java42 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/base/rs/java/android/renderscript/
H A DProgramVertexFixedFunction.java42 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 DScriptIntrinsicColorMatrix.java245 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/support/java/src/android/support/v8/renderscript/
H A DScriptIntrinsicColorMatrix.java225 if (!ain.getElement().isCompatible(Element.U8(mRS)) &&
226 !ain.getElement().isCompatible(Element.U8_2(mRS)) &&
227 !ain.getElement().isCompatible(Element.U8_3(mRS)) &&
228 !ain.getElement().isCompatible(Element.U8_4(mRS)) &&
229 !ain.getElement().isCompatible(Element.F32(mRS)) &&
230 !ain.getElement().isCompatible(Element.F32_2(mRS)) &&
231 !ain.getElement().isCompatible(Element.F32_3(mRS)) &&
232 !ain.getElement().isCompatible(Element.F32_4(mRS))) {
237 if (!aout.getElement().isCompatible(Element.U8(mRS)) &&
238 !aout.getElement().isCompatible(Element.U8_2(mRS))
[all...]
/frameworks/rs/tests/java_api/ComputePerf/src/com/example/android/rs/computeperf/
H A DComputePerf.java31 private RenderScript mRS; field in class:ComputePerf
43 mRS = RenderScript.create(this);
44 mLT = new LaunchTest(mRS, getResources());
59 mMandel = new Mandelbrot(mRS, getResources());
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
H A DBWFilter.java26 mScript = new ScriptC_bwfilter(mRS);
H A DContrast.java27 mScript = new ScriptC_contrast(mRS);
H A DExposure.java27 mScript = new ScriptC_exposure(mRS);
H A DShadows.java27 mScript = new ScriptC_shadows(mRS);
H A DUsageIO.java41 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);

Completed in 358 milliseconds

12345678