/frameworks/base/rs/java/android/renderscript/ |
H A D | RSTextureView.java | 32 private RenderScriptGL mRS; field in class:RSTextureView 72 if (mRS != null) { 73 mRS.setSurfaceTexture(mSurfaceTexture, width, height); 85 if (mRS != null) { 86 mRS.setSurfaceTexture(mSurfaceTexture, width, height); 98 if (mRS != null) { 99 mRS.setSurfaceTexture(null, 0, 0); 122 if(mRS != null) { 123 mRS.pause(); 136 if(mRS ! [all...] |
H A D | RSSurfaceView.java | 37 private RenderScriptGL mRS; field in class:RSSurfaceView 87 if (mRS != null) { 88 mRS.setSurface(null, 0, 0); 100 if (mRS != null) { 101 mRS.setSurface(holder, w, h); 114 if(mRS != null) { 115 mRS.pause(); 128 if(mRS != null) { 129 mRS.resume(); 147 mRS [all...] |
H A D | Script.java | 59 long id = mRS.nScriptKernelIDCreate(getID(mRS), slot, sig); 64 k = new KernelID(id, mRS, this, slot, sig); 97 long id = mRS.nScriptInvokeIDCreate(getID(mRS), slot); 102 i = new InvokeID(id, mRS, this, slot); 136 long id = mRS.nScriptFieldIDCreate(getID(mRS), slot); 141 f = new FieldID(id, mRS, this, slot); 152 mRS 480 RenderScript mRS; field in class:Script.Builder [all...] |
H A D | BaseObj.java | 31 mRS = rs; 53 mRS.validate(); 60 if ((rs != null) && (rs != mRS)) { 76 RenderScript mRS; field in class:BaseObj 100 mRS.nAssignName(mID, bytes); 126 ReentrantReadWriteLock.ReadLock rlock = mRS.mRWLock.readLock(); 129 if(mRS.isAlive() && mID != 0) { 130 mRS.nObjDestroy(mID); 133 mRS = null; 166 mRS [all...] |
H A D | ScriptIntrinsicBLAS.java | 321 validateGEMV(Element.F32(mRS), TransA, A, X, incX, Y, incY); 324 mRS.nScriptIntrinsicBLAS_Single(getID(mRS), RsBlas_sgemv, TransA, 0, 0, 0, 0, M, N, 0, alpha, A.getID(mRS), X.getID(mRS), beta, Y.getID(mRS), incX, incY, 0, 0); 343 validateGEMV(Element.F64(mRS), TransA, A, X, incX, Y, incY); 346 mRS.nScriptIntrinsicBLAS_Double(getID(mRS), RsBlas_dgemv, TransA, 0, 0, 0, 0, M, N, 0, alpha, A.getID(mRS), [all...] |
H A D | ScriptIntrinsicResize.java | 54 if (!e.isCompatible(Element.U8(mRS)) && 55 !e.isCompatible(Element.U8_2(mRS)) && 56 !e.isCompatible(Element.U8_3(mRS)) && 57 !e.isCompatible(Element.U8_4(mRS)) && 58 !e.isCompatible(Element.F32(mRS)) && 59 !e.isCompatible(Element.F32_2(mRS)) && 60 !e.isCompatible(Element.F32_3(mRS)) && 61 !e.isCompatible(Element.F32_4(mRS))) {
|
/frameworks/compile/libbcc/tests/debuginfo/target-tests/driver-common/SRC/ |
H A D | DriverView.java.template | 27 private RenderScriptGL mRS; 37 if (mRS == null) { 41 mRS = createRenderScriptGL(sc); 44 mRender.init(mRS, getResources()); 58 if (mRS != null) { 59 mRS = null;
|
H A D | DriverRS.java.template | 25 private RenderScriptGL mRS; 35 mRS = rs; 41 mScript = new ScriptC_%TESTCASE% (mRS, mRes, R.raw.%TESTCASE%);
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | Script.java | 48 dInElement = inType.getElement().getDummyElement(mRS); 49 dInType = inType.getDummyType(mRS, dInElement); 51 dummyAlloc = mRS.nIncAllocationCreateTyped(ain.getID(mRS), dInType, xBytesSize); 96 long id = mRS.nScriptKernelIDCreate(getID(mRS), slot, sig, mUseIncSupp); 101 k = new KernelID(id, mRS, this, slot, sig); 135 long id = mRS.nScriptInvokeIDCreate(getID(mRS), slot); 140 i = new InvokeID(id, mRS, thi 522 RenderScript mRS; field in class:Script.Builder [all...] |
H A D | ScriptIntrinsicBLAS.java | 328 validateGEMV(Element.F32(mRS), TransA, A, X, incX, Y, incY); 333 long aID = A.getID(mRS); 334 long xID = X.getID(mRS); 335 long yID = Y.getID(mRS); 341 mRS.nScriptIntrinsicBLAS_Single(getID(mRS), RsBlas_sgemv, TransA, 0, 0, 0, 0, M, N, 0, alpha, aID, xID, beta, yID, incX, incY, 0, 0, mUseIncSupp); 360 validateGEMV(Element.F64(mRS), TransA, A, X, incX, Y, incY); 365 long aID = A.getID(mRS); 366 long xID = X.getID(mRS); 367 long yID = Y.getID(mRS); [all...] |
H A D | BaseObj.java | 31 mRS = rs; 53 mRS.validate(); 60 if ((rs != null) && (rs != mRS)) { 78 RenderScript mRS; field in class:BaseObj 91 ReentrantReadWriteLock.ReadLock rlock = mRS.mRWLock.readLock(); 93 if(mRS.isAlive()) { 94 mRS.nObjDestroy(mID); 97 mRS = null;
|
/frameworks/compile/libbcc/tests/debuginfo/target-tests/driver-int-param/ |
H A D | DriverRS.java.template | 25 private RenderScriptGL mRS; 35 mRS = rs; 41 mScript = new ScriptC_%TESTCASE% (mRS, mRes, R.raw.%TESTCASE%);
|
/frameworks/rs/cpp/ |
H A D | BaseObj.cpp | 36 mRS = rs.get(); 47 if (mRS && mRS->getContext()) { 48 RS::dispatch->ObjDestroy(mRS->getContext(), mID); 50 mRS = nullptr; 56 RS::dispatch->GetName(mRS->getContext(), mID, &name);
|
H A D | Script.cpp | 26 tryDispatch(mRS, RS::dispatch->ScriptInvokeV(mRS->getContext(), getID(), slot, v, len)); 32 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "At least one of ain or aout is required to be non-null."); 36 tryDispatch(mRS, RS::dispatch->ScriptForEach(mRS->getContext(), getID(), slot, in_id, out_id, usr, usrLen, nullptr, 0)); 44 tryDispatch(mRS, RS::dispatch->ScriptBindAllocation(mRS->getContext(), getID(), BaseObj::getObjID(va), slot)); 49 tryDispatch(mRS, RS::dispatch->ScriptSetVarObj(mRS->getContext(), getID(), index, (o == nullptr) ? 0 : o->getID())); 53 tryDispatch(mRS, R [all...] |
H A D | ScriptIntrinsicBLAS.cpp | 99 nScriptIntrinsicBLAS_Single(RS* mRS, RsContext con, RsScript id, RsBlasFunction func, int TransA, argument 107 tryDispatch(mRS, RS::dispatch->ScriptForEachMulti(con, id, 0, in_allocs, sizeof(in_allocs), nullptr, 113 nScriptIntrinsicBLAS_Double(RS* mRS, RsContext con, RsScript id, RsBlasFunction func, int TransA, argument 121 tryDispatch(mRS, RS::dispatch->ScriptForEachMulti(con, id, 0, in_allocs, sizeof(in_allocs), nullptr, 126 nScriptIntrinsicBLAS_Complex(RS* mRS, RsContext con, RsScript id, RsBlasFunction func, int TransA, argument 134 tryDispatch(mRS, RS::dispatch->ScriptForEachMulti(con, id, 0, in_allocs, sizeof(in_allocs), nullptr, 139 nScriptIntrinsicBLAS_Z(RS* mRS, RsContext con, RsScript id, RsBlasFunction func, int TransA, argument 147 tryDispatch(mRS, RS::dispatch->ScriptForEachMulti(con, id, 0, in_allocs, sizeof(in_allocs), nullptr, 153 nScriptIntrinsicBLAS_BNNM(RS* mRS, RsContext con, RsScript id, int M, int N, int K, argument 168 tryDispatch(mRS, R 175 validateGEMV(RS* mRS, sp<const Element> e, RsBlasTranspose TransA, sp<Allocation> A, sp<Allocation> X, int incX, sp<Allocation> Y, int incY) argument 313 validateTRMV(RS* mRS, sp<const Element> e, RsBlasUplo Uplo, RsBlasTranspose TransA, RsBlasDiag Diag, sp<Allocation> A, sp<Allocation> X, int incX) argument 336 validateTPMV(RS* mRS, sp<const Element> e, RsBlasUplo Uplo, RsBlasTranspose TransA, RsBlasDiag Diag, sp<Allocation> Ap, sp<Allocation> X, int incX) argument 620 validateSYMV(RS* mRS, sp<const Element> e, RsBlasUplo Uplo, sp<Allocation> A, sp<Allocation> X, sp<Allocation> Y, int incX, int incY) argument 648 validateSPMV(RS* mRS, sp<const Element> e, RsBlasUplo Uplo, sp<Allocation> Ap, sp<Allocation> X, int incX, sp<Allocation> Y, int incY) argument 681 validateGER(RS* mRS, sp<const Element> e, sp<Allocation> X, int incX, sp<Allocation> Y, int incY, sp<Allocation> A) argument 713 validateSYR(RS* mRS, sp<const Element> e, RsBlasUplo Uplo, sp<Allocation> X, int incX, sp<Allocation> A) argument 737 validateSPR(RS* mRS, sp<const Element> e, RsBlasUplo Uplo, sp<Allocation> X, int incX, sp<Allocation> Ap) argument 766 validateSYR2(RS* mRS, sp<const Element> e, RsBlasUplo Uplo, sp<Allocation> X, int incX, sp<Allocation> Y, int incY, sp<Allocation> A) argument 794 validateSPR2(RS* mRS, sp<const Element> e, RsBlasUplo Uplo, sp<Allocation> X, int incX, sp<Allocation> Y, int incY, sp<Allocation> Ap) argument 970 validateGERU(RS* mRS, sp<const Element> e, sp<Allocation> X, int incX, sp<Allocation> Y, int incY, sp<Allocation> A) argument 1194 validateL3(RS* mRS, sp<const Element> e, int TransA, int TransB, int Side, sp<Allocation> A, sp<Allocation> B, sp<Allocation> C) argument 1460 validateSYR2K(RS* mRS, sp<const Element> e, RsBlasTranspose Trans, sp<Allocation> A, sp<Allocation> B, sp<Allocation> C) argument 1546 validateTRMM(RS* mRS, sp<const Element> e, RsBlasSide Side, RsBlasTranspose TransA, sp<Allocation> A, sp<Allocation> B) argument 1609 validateTRSM(RS* mRS, sp<const Element> e, RsBlasSide Side, RsBlasTranspose TransA, sp<Allocation> A, sp<Allocation> B) argument 1674 validateHEMM(RS* mRS, sp<const Element> e, RsBlasSide Side, sp<Allocation> A, sp<Allocation> B, sp<Allocation> C) argument 1717 validateHERK(RS* mRS, sp<const Element> e, RsBlasTranspose Trans, sp<Allocation> A, sp<Allocation> C) argument 1771 validateHER2K(RS* mRS, sp<const Element> e, RsBlasTranspose Trans, sp<Allocation> A, sp<Allocation> B, sp<Allocation> C) argument [all...] |
/frameworks/rs/java/tests/ComputeBenchmark/src/com/example/android/rs/computebench/ |
H A D | ComputeBench.java | 24 private RenderScript mRS; field in class:ComputeBench 32 mRS = RenderScript.create(this); 34 mBenchmark = new Benchmark(mRS, getResources());
|
H A D | Benchmark.java | 23 private final RenderScript mRS; field in class:Benchmark 27 mRS = rs; 28 mScript = new ScriptC_compute_benchmark(mRS); 34 mRS.finish();
|
/frameworks/rs/java/tests/LatencyBenchmark/src/com/example/android/rs/computebench/ |
H A D | LatencyBench.java | 24 private RenderScript mRS; field in class:LatencyBench 32 mRS = RenderScript.create(this); 34 mBenchmark = new Benchmark(mRS, getResources());
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
H A D | Artistic1.java | 26 mScript = new ScriptC_artistic1(mRS); 27 mBlured = Allocation.createTyped(mRS, mInPixelsAllocation.getType()); 30 ScriptIntrinsicBlur blur = ScriptIntrinsicBlur.create(mRS, Element.U8_4(mRS));
|
H A D | WhiteBalance.java | 30 mScript = new ScriptC_wbalance(mRS); 31 mHist = ScriptIntrinsicHistogram.create(mRS, Element.U8_4(mRS)); 32 mSums = Allocation.createSized(mRS, Element.I32_4(mRS), 256);
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
H A D | UT_instance.java | 39 RenderScript mRS = RenderScript.create(mCtx); 40 mRS.setMessageHandler(mRsMessage); 42 ScriptC_instance instance_1 = new ScriptC_instance(mRS); 43 ScriptC_instance instance_2 = new ScriptC_instance(mRS); 44 ScriptC_instance instance_3 = new ScriptC_instance(mRS); 45 ScriptC_instance instance_4 = new ScriptC_instance(mRS); 46 ScriptC_instance instance_5 = new ScriptC_instance(mRS); 48 Type t = new Type.Builder(mRS, Element.I32(mRS)).setX(1).create(); 49 Allocation ai1 = Allocation.createTyped(mRS, [all...] |
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
H A D | UT_instance.java | 39 RenderScript mRS = RenderScript.create(mCtx); 40 mRS.setMessageHandler(mRsMessage); 42 ScriptC_instance instance_1 = new ScriptC_instance(mRS); 43 ScriptC_instance instance_2 = new ScriptC_instance(mRS); 44 ScriptC_instance instance_3 = new ScriptC_instance(mRS); 45 ScriptC_instance instance_4 = new ScriptC_instance(mRS); 46 ScriptC_instance instance_5 = new ScriptC_instance(mRS); 48 Type t = new Type.Builder(mRS, Element.I32(mRS)).setX(1).create(); 49 Allocation ai1 = Allocation.createTyped(mRS, [all...] |
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
H A D | WhiteBalance.java | 31 mScript = new ScriptC_wbalance(mRS); 32 mHist = ScriptIntrinsicHistogram.create(mRS, Element.U8_4(mRS)); 33 mSums = Allocation.createSized(mRS, Element.I32_3(mRS), 256);
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | WhiteBalance.java | 31 mScript = new ScriptC_wbalance(mRS); 32 mHist = ScriptIntrinsicHistogram.create(mRS, Element.U8_4(mRS)); 33 mSums = Allocation.createSized(mRS, Element.I32_3(mRS), 256);
|
/frameworks/rs/java/tests/MathErr/src/com/example/android/rs/matherr/ |
H A D | MathErrActivity.java | 27 private RenderScript mRS; field in class:MathErrActivity 34 mRS = RenderScript.create(this); 35 mME = new MathErr(mRS);
|