Searched refs:mRS (Results 126 - 150 of 195) sorted by relevance

12345678

/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
H A DColorMatrix.java42 mIntrinsic = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS));
49 mScript = new ScriptC_colormatrix(mRS);
H A DResize.java37 Type.Builder tb = new Type.Builder(mRS, mInPixelsAllocation.getElement());
41 mScratchAllocation = Allocation.createTyped(mRS, t);
44 mScript = new ScriptC_resize(mRS);
H A DImageProcessingActivity2.java147 RenderScript mRS; field in class:ImageProcessingActivity2.Processor
199 mRS = rs;
200 mRS.setMessageHandler(new MessageProcessor());
201 mScriptUtils = new ScriptC_util(mRS);
206 mRS, getResources(), R.drawable.img1920x1080a);
208 mRS, getResources(), R.drawable.img1920x1080b);
214 mRS, getResources(), R.drawable.img1280x720a);
216 mRS, getResources(), R.drawable.img1280x720b);
222 mRS, getResources(), R.drawable.img800x450a);
224 mRS, getResource
[all...]
H A DBlend.java47 if (mRS != null) {
59 mBlend = ScriptIntrinsicBlend.create(mRS, Element.U8_4(mRS));
60 mBlendHelper = new ScriptC_blend(mRS);
63 image1 = Allocation.createTyped(mRS, mInPixelsAllocation.getType());
64 image2 = Allocation.createTyped(mRS, mInPixelsAllocation2.getType());
H A DConvolve3x3.java57 mIntrinsic = ScriptIntrinsicConvolve3x3.create(mRS, Element.U8_4(mRS));
61 mScript = new ScriptC_convolve3x3(mRS);
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
H A DColorMatrix.java49 mIntrinsic = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS));
56 mScript = new ScriptC_colormatrix(mRS);
H A DBlend.java54 if (mRS != null) {
66 mBlend = ScriptIntrinsicBlend.create(mRS, Element.U8_4(mRS));
67 mBlendHelper = new ScriptC_blend(mRS);
70 image1 = Allocation.createTyped(mRS, mInPixelsAllocation.getType());
71 image2 = Allocation.createTyped(mRS, mInPixelsAllocation2.getType());
H A DConvolve3x3.java64 mIntrinsic = ScriptIntrinsicConvolve3x3.create(mRS, Element.U8_4(mRS));
68 mScript = new ScriptC_convolve3x3(mRS);
H A DTestBase.java33 protected RenderScript mRS; field in class:TestBase
89 mRS = ipact.mProcessor.mRS;
H A DCopy.java33 mScript = new ScriptC_copy(mRS);
H A DGreyscale.java33 mScript = new ScriptC_greyscale(mRS);
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
H A DRSTest.java45 private RenderScript mRS; field in class:RSTest
53 mRS = RenderScript.create(this);
56 RSTC.init(mRS, getResources());
/frameworks/rs/support/java/src/android/support/v8/renderscript/
H A DAllocation.java240 return mAdaptedAllocation.getID(mRS);
242 return getID(mRS);
486 mRS.validate();
487 mRS.nAllocationSyncAll(getIDSafe(), srcLocation);
502 mRS.validate();
503 mRS.nAllocationIoSend(getID(mRS));
529 if (mRS.getDispatchAPILevel() < 21) {
550 mByteBuffer = mRS.nAllocationGetByteBuffer(getID(mRS), xBytesSiz
[all...]
H A DScriptGroup.java282 ValueAndSize vs = new ValueAndSize(mRS, obj);
283 mRS.nClosureSetArg(getID(mRS), index, vs.value, vs.size);
291 ValueAndSize vs = new ValueAndSize(mRS, obj);
292 mRS.nClosureSetGlobal(getID(mRS), fieldID.getID(mRS), vs.value, vs.size);
454 mRS.nScriptGroup2Execute(getID(mRS));
485 mRS
619 private RenderScript mRS; field in class:ScriptGroup.Builder
1040 RenderScript mRS; field in class:ScriptGroup.Builder2
[all...]
/frameworks/rs/tests/lldb/java/InfiniteLoop/src/com/android/rs/infiniteloop/
H A DMainActivity.java41 private RenderScript mRS; field in class:MainActivity
92 mRS = RenderScript.create(this,
97 mInAllocation = Allocation.createFromBitmap(mRS, mBitmapIn);
100 mOutAllocations[i] = Allocation.createFromBitmap(mRS, mBitmapsOut[i]);
104 mScript = new ScriptC_infiniteloop(mRS);
/frameworks/rs/tests/java_api/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/
H A DGoogLeNet.java117 mBLAS = ScriptIntrinsicBLAS.create(mRS);
156 e = Element.F32(mRS);
159 e = Element.U8(mRS);
177 Type.Builder builder = new Type.Builder(mRS, e);
186 Allocation A = Allocation.createTyped(mRS, a_type);
187 Allocation B = Allocation.createTyped(mRS, b_type);
188 Allocation C = Allocation.createTyped(mRS, c_type);
/frameworks/base/rs/java/android/renderscript/
H A DAllocation.java261 return mAdaptedAllocation.getID(mRS);
263 return getID(mRS);
508 long typeID = mRS.nAllocationGetType(getID(mRS));
510 mType = new Type(typeID, mRS);
552 mRS.validate();
553 mRS.nAllocationSyncAll(getIDSafe(), srcLocation);
573 mRS.validate();
574 mRS.nAllocationIoSend(getID(mRS));
[all...]
H A DScriptGroup.java285 ValueAndSize vs = new ValueAndSize(mRS, obj);
286 mRS.nClosureSetArg(getID(mRS), index, vs.value, vs.size);
294 ValueAndSize vs = new ValueAndSize(mRS, obj);
295 mRS.nClosureSetGlobal(getID(mRS), fieldID.getID(mRS), vs.value, vs.size);
458 mRS.nScriptGroup2Execute(getID(mRS));
487 mRS
555 private RenderScript mRS; field in class:ScriptGroup.Builder
923 RenderScript mRS; field in class:ScriptGroup.Builder2
[all...]
H A DType.java237 mRS.nTypeGetNativeData(getID(mRS), dataBuffer);
247 mElement = new Element(elementID, mRS);
333 RenderScript mRS; field in class:Type.Builder
352 mRS = rs;
477 long id = mRS.nTypeCreate(mElement.getID(mRS),
479 Type t = new Type(id, mRS);
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
H A DBlend.java54 if (mRS != null) {
66 mBlend = ScriptIntrinsicBlend.create(mRS, Element.U8_4(mRS));
67 mBlendHelper = new ScriptC_blend(mRS);
70 image1 = Allocation.createTyped(mRS, mInPixelsAllocation.getType());
71 image2 = Allocation.createTyped(mRS, mInPixelsAllocation2.getType());
H A DConvolve5x5.java67 mIntrinsic = ScriptIntrinsicConvolve5x5.create(mRS, Element.U8_4(mRS));
71 mScript = new ScriptC_convolve5x5(mRS);
H A DCopy.java33 mScript = new ScriptC_copy(mRS);
H A DGreyscale.java33 mScript = new ScriptC_greyscale(mRS);
H A DCrossProcess.java31 mIntrinsic = ScriptIntrinsicLUT.create(mRS, Element.U8_4(mRS));
/frameworks/rs/tests/java_api/MathErr/src/com/example/android/rs/matherr/
H A DMathErr.java25 private RenderScript mRS; field in class:MathErr
37 mRS = rs;
38 mScript = new ScriptC_math_err(mRS);

Completed in 333 milliseconds

12345678