/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
H A D | ColorMatrix.java | 42 mIntrinsic = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS)); 49 mScript = new ScriptC_colormatrix(mRS);
|
H A D | Resize.java | 37 Type.Builder tb = new Type.Builder(mRS, mInPixelsAllocation.getElement()); 41 mScratchAllocation = Allocation.createTyped(mRS, t); 44 mScript = new ScriptC_resize(mRS);
|
H A D | ImageProcessingActivity2.java | 147 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 D | Blend.java | 47 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 D | Convolve3x3.java | 57 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 D | ColorMatrix.java | 49 mIntrinsic = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS)); 56 mScript = new ScriptC_colormatrix(mRS);
|
H A D | Blend.java | 54 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 D | Convolve3x3.java | 64 mIntrinsic = ScriptIntrinsicConvolve3x3.create(mRS, Element.U8_4(mRS)); 68 mScript = new ScriptC_convolve3x3(mRS);
|
H A D | TestBase.java | 33 protected RenderScript mRS; field in class:TestBase 89 mRS = ipact.mProcessor.mRS;
|
H A D | Copy.java | 33 mScript = new ScriptC_copy(mRS);
|
H A D | Greyscale.java | 33 mScript = new ScriptC_greyscale(mRS);
|
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
H A D | RSTest.java | 45 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 D | Allocation.java | 240 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 D | ScriptGroup.java | 282 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 D | MainActivity.java | 41 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 D | GoogLeNet.java | 117 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 D | Allocation.java | 261 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 D | ScriptGroup.java | 285 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 D | Type.java | 237 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 D | Blend.java | 54 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 D | Convolve5x5.java | 67 mIntrinsic = ScriptIntrinsicConvolve5x5.create(mRS, Element.U8_4(mRS)); 71 mScript = new ScriptC_convolve5x5(mRS);
|
H A D | Copy.java | 33 mScript = new ScriptC_copy(mRS);
|
H A D | Greyscale.java | 33 mScript = new ScriptC_greyscale(mRS);
|
H A D | CrossProcess.java | 31 mIntrinsic = ScriptIntrinsicLUT.create(mRS, Element.U8_4(mRS));
|
/frameworks/rs/tests/java_api/MathErr/src/com/example/android/rs/matherr/ |
H A D | MathErr.java | 25 private RenderScript mRS; field in class:MathErr 37 mRS = rs; 38 mScript = new ScriptC_math_err(mRS);
|