HomeSort by relevance Sort by last modified time
    Searched refs:mRS (Results 101 - 125 of 404) sorted by null

1 2 3 45 6 7 8 91011>>

  /cts/tests/tests/renderscript/src/android/renderscript/cts/
SendToClient.java 57 mInAllocation = Allocation.createSized(mRS, Element.I32_4(mRS), 1);
60 mRS.setMessageHandler(mRsMessage);
61 mScript = new ScriptC_send_to_client(mRS);
81 mRS.setMessageHandler(mRsMessage);
83 mScript = new ScriptC_send_to_client_1(mRS);
TestClz.java 33 script = new ScriptC_TestClz(mRS);
34 scriptRelaxed = new ScriptC_TestClzRelaxed(mRS);
43 Allocation inValue = createRandomAllocation(mRS, Element.DataType.SIGNED_8, 1, 0xf6f3a15e2f7765afl, false);
45 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_8, 1), INPUTSIZE);
52 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_8, 1), INPUTSIZE);
99 Allocation inValue = createRandomAllocation(mRS, Element.DataType.SIGNED_8, 2, 0xf718b99dcaca5e93l, false);
101 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_8, 2), INPUTSIZE)
    [all...]
TestIlogb.java 33 script = new ScriptC_TestIlogb(mRS);
34 scriptRelaxed = new ScriptC_TestIlogbRelaxed(mRS);
43 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xc0c48da27f084aefl, false);
45 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_32, 1), INPUTSIZE);
52 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_32, 1), INPUTSIZE);
93 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x4ba2fa846382ada1l, false);
95 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_32, 2), INPUTSIZE)
    [all...]
TestRemquo.java 33 script = new ScriptC_TestRemquo(mRS);
34 scriptRelaxed = new ScriptC_TestRemquoRelaxed(mRS);
45 Allocation inB = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x118af9b82db63b13l, false);
46 Allocation inC = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x118af9b82db63b14l, false);
48 Allocation outD = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_32, 1), INPUTSIZE);
49 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
58 Allocation outD = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_32, 1), INPUTSIZE)
    [all...]
GetAllocationTest.java 33 new ScriptC_get_allocation(mRS);
35 Allocation mTemp = Allocation.createSized(mRS, Element.I32(mRS), INPUTSIZE);
37 Allocation mOut = Allocation.createTyped(mRS, mTemp.getType());
ScriptTest.java 34 Script S = new ScriptC_primitives(mRS);
50 Type.Builder tb = new Type.Builder(mRS, Element.I32(mRS));
51 Allocation a = Allocation.createTyped(mRS, tb.create());
  /frameworks/base/rs/java/android/renderscript/
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);
  /frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
RsBenchRS.java 58 mRS = rs;
73 private RenderScriptGL mRS;
142 allTests = new ScriptField_TestScripts_s(mRS, numTests);
227 ProgramFragmentFixedFunction.Builder texBuilder = new ProgramFragmentFixedFunction.Builder(mRS);
231 mProgFragmentTexture.bindSampler(Sampler.CLAMP_LINEAR(mRS), 0);
233 ProgramFragmentFixedFunction.Builder colBuilder = new ProgramFragmentFixedFunction.Builder(mRS);
241 ProgramVertexFixedFunction.Builder pvb = new ProgramVertexFixedFunction.Builder(mRS);
244 mPVA = new ProgramVertexFixedFunction.Constants(mRS);
275 mScript = new ScriptC_rsbench(mRS, mRes, R.raw.rsbench);
276 mRS.bindRootScript(mScript)
    [all...]
FillTest.java 32 private RenderScriptGL mRS;
66 mTests[index].testName = Allocation.createFromString(mRS,
69 mTests[index].debugName = RsBenchRS.createZeroTerminatedAlloc(mRS,
77 ScriptField_FillTestData_s testData = new ScriptField_FillTestData_s(mRS, 1);
83 mRS = rs;
110 ProgramFragment.Builder pfbCustom = new ProgramFragment.Builder(mRS);
117 pfbCustom = new ProgramFragment.Builder(mRS);
122 pfbCustom = new ProgramFragment.Builder(mRS);
125 mFragData = new ScriptField_FillTestFragData_s(mRS, 1);
133 return Allocation.createFromBitmap(mRS, b
    [all...]
  /frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
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));
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));
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/ImageProcessing2/src/com/android/rs/image/
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));
Fisheye.java 98 mScript_approx_relaxed = new ScriptC_fisheye_approx_relaxed(mRS);
100 mScript_approx_relaxed.set_sampler(Sampler.CLAMP_LINEAR(mRS));
102 mScript_approx_full = new ScriptC_fisheye_approx_full(mRS);
104 mScript_approx_full.set_sampler(Sampler.CLAMP_LINEAR(mRS));
107 mScript_relaxed = new ScriptC_fisheye_relaxed(mRS);
109 mScript_relaxed.set_sampler(Sampler.CLAMP_LINEAR(mRS));
111 mScript_full = new ScriptC_fisheye_full(mRS);
113 mScript_full.set_sampler(Sampler.CLAMP_LINEAR(mRS));
  /frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
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));
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));
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/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
SceneGraphRS.java 43 mRS = rs;
52 private RenderScriptGL mRS;
94 ProgramStore.Builder b = new ProgramStore.Builder(mRS);
105 Sampler.Builder bs = new Sampler.Builder(mRS);
112 ProgramFragmentFixedFunction.Builder b = new ProgramFragmentFixedFunction.Builder(mRS);
122 ProgramVertexFixedFunction.Builder pvb = new ProgramVertexFixedFunction.Builder(mRS);
125 mPVA = new ProgramVertexFixedFunction.Constants(mRS);
132 mGridImage = Allocation.createFromBitmapResource(mRS, mRes, R.drawable.robot,
140 mTextAlloc = Allocation.createFromString(mRS, allocString, Allocation.USAGE_SCRIPT);
151 mRootTransform = new SgTransform(mRS);
    [all...]
SimpleModelRS.java 33 mRS = rs;
39 mRS.getWidth();
40 mRS.getHeight();
44 private RenderScriptGL mRS;
78 ProgramStore.Builder b = new ProgramStore.Builder(mRS);
89 Sampler.Builder bs = new Sampler.Builder(mRS);
96 ProgramFragmentFixedFunction.Builder b = new ProgramFragmentFixedFunction.Builder(mRS);
106 ProgramVertexFixedFunction.Builder pvb = new ProgramVertexFixedFunction.Builder(mRS);
109 mPVA = new ProgramVertexFixedFunction.Constants(mRS);
116 mGridImage = Allocation.createFromBitmapResource(mRS, mRes, R.drawable.robot
    [all...]
  /frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/
BallsView.java 49 private RenderScriptGL mRS;
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)) {
  /packages/wallpapers/NoiseField/src/com/android/noisefield/
NoiseFieldRS.java 37 private RenderScriptGL mRS;
54 mRS = rs;
63 Mesh.AllocationBuilder smb2 = new Mesh.AllocationBuilder(mRS);
65 mDotParticles = new ScriptField_Particle(mRS, 83);
69 mScript = new ScriptC_noisefield(mRS, mRes, R.raw.noisefield);
75 mPvConsts = new ScriptField_VpConsts(mRS, 1);
142 mVertexColors = new ScriptField_VertexColor_s(mRS, meshDataSize);
156 Mesh.AllocationBuilder backgroundBuilder = new Mesh.AllocationBuilder(mRS);
164 final Allocation allocation = Allocation.createFromBitmapResource(mRS, mRes, id,
176 ProgramVertex.Builder backgroundBuilder = new ProgramVertex.Builder(mRS);
    [all...]
  /frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/
RsYuv.java 42 private RenderScript mRS;
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, tb.create(), Allocation.USAGE_SCRIPT)
    [all...]
  /frameworks/rs/cpp/
ScriptIntrinsics.cpp 50 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "3DLUT forEach element mismatch");
58 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "setLUT element does not match");
62 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "setLUT Allocation must be 3D");
84 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "Invalid element in blend");
92 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "Invalid element in blend");
100 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "Invalid element in blend");
108 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "Invalid element in blend");
116 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "Invalid element in blend");
124 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "Invalid element in blend");
132 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "Invalid element in blend")
    [all...]
Allocation.cpp 127 const void *typeID = RS::dispatch->AllocationGetType(mRS->getContext(), getID());
130 sp<Type> t = new Type((void *)typeID, mRS);
146 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Source must be exactly one usage type.");
149 tryDispatch(mRS, RS::dispatch->AllocationSyncAll(mRS->getContext(), getIDSafe(), srcLocation));
155 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Can only send buffer if IO_OUTPUT usage specified.");
158 tryDispatch(mRS, RS::dispatch->AllocationIoSend(mRS->getContext(), getID()));
165 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Can only send buffer if IO_OUTPUT usage specified.");
168 tryDispatch(mRS, RS::dispatch->AllocationIoReceive(mRS->getContext(), getID()))
    [all...]
  /packages/wallpapers/HoloSpiral/src/com/android/wallpaper/holospiral/
HoloSpiralRS.java 65 private RenderScriptGL mRS = null;
73 mRS = renderer;
88 mRS.bindRootScript(mScript);
92 mRS.bindRootScript(null);
100 mScript = new ScriptC_holo_spiral(mRS, mResources, R.raw.holo_spiral);
115 new ScriptField_VertexShaderConstants_s(mRS, 1);
120 ProgramVertex.Builder backgroundBuilder = new ProgramVertex.Builder(mRS);
122 backgroundBuilder.addInput(ScriptField_VertexColor_s.createElement(mRS));
126 ProgramVertex.Builder geometryBuilder = new ProgramVertex.Builder(mRS);
129 geometryBuilder.addInput(ScriptField_VertexColor_s.createElement(mRS));
    [all...]

Completed in 673 milliseconds

1 2 3 45 6 7 8 91011>>