/frameworks/native/opengl/tests/lib/ |
H A D | WindowSurface.cpp | 57 sp<SurfaceControl> sc = surfaceComposerClient->createSurface( local 60 if (sc == NULL || !sc->isValid()) { 66 err = sc->setLayer(0x7FFFFFFF); // always on top 72 err = sc->show(); 79 mSurfaceControl = sc;
|
/frameworks/rs/tests/cppallocation/ |
H A D | compute.cpp | 36 sp<ScriptC_multiply> sc = new ScriptC_multiply(rs); local 45 sc->forEach_multiply(ain, aout); 58 sc.clear();
|
/frameworks/rs/tests/cppstrided/ |
H A D | compute.cpp | 38 sp<ScriptC_multiply> sc = new ScriptC_multiply(rs); local 54 sc->forEach_multiply(ain, aout); 69 sc.clear();
|
/frameworks/rs/java/tests/HelloComputeNDK/libhellocomputendk/ |
H A D | helloComputeNDK.cpp | 54 ScriptC_mono* sc = new ScriptC_mono(rs); local 55 sc->forEach_root(inputAlloc, outputAlloc);
|
/frameworks/rs/ |
H A D | rsApiContext.cpp | 47 uint32_t sdkVersion, RsSurfaceConfig sc, 51 Context *rsc = Context::createContext(dev, &sc); 46 rsContextCreateGL(RsDevice vdev, uint32_t version, uint32_t sdkVersion, RsSurfaceConfig sc, uint32_t dpi) argument
|
H A D | rsScriptIntrinsic.cpp | 65 const RsScriptCall* sc) { 68 aout, usr, usrBytes, sc); 73 Allocation *aout, const RsScriptCall *sc) { 58 runForEach(Context* rsc, uint32_t slot, const Allocation** ains, size_t inLen, Allocation* aout, const void* usr, size_t usrBytes, const RsScriptCall* sc) argument 71 runReduce(Context *rsc, uint32_t slot, const Allocation ** ains, size_t inLen, Allocation *aout, const RsScriptCall *sc) argument
|
H A D | rsScriptC.cpp | 53 ScriptC * sc = (ScriptC *) tls->mScript 185 const RsScriptCall *sc) { 189 if (sc != nullptr && getApiLevel() < 23) { 191 memcpy(&sc_copy, sc, 7*4); 192 sc = &sc_copy; 226 aout, usr, usrBytes, sc); 230 usr, usrBytes, sc); 244 Allocation *aout, const RsScriptCall *sc) { 260 rsc->mHal.funcs.script.invokeReduce(rsc, this, slot, ains, inLen, aout, sc); 178 runForEach(Context *rsc, uint32_t slot, const Allocation ** ains, size_t inLen, Allocation * aout, const void * usr, size_t usrBytes, const RsScriptCall *sc) argument 242 runReduce(Context *rsc, uint32_t slot, const Allocation ** ains, size_t inLen, Allocation *aout, const RsScriptCall *sc) argument
|
/frameworks/rs/tests/cppbasic/ |
H A D | compute.cpp | 38 sp<ScriptC_mono> sc = new ScriptC_mono(rs); local 41 sc->set_alloc(a1); 42 sc->set_elem(e); 43 sc->set_type(t); 44 sc->set_script(sc); 45 sc->set_script(nullptr); 47 sc->set_sampler(samp); 57 sc->bind_failed(failed_alloc); 66 sc [all...] |
/frameworks/rs/tests/cppbasic-getpointer/ |
H A D | compute.cpp | 67 sp<ScriptC_mono> sc = new ScriptC_mono(rs); local 68 sc->forEach_copyAndNot(ain, aout);
|
/frameworks/rs/tests/cppbasic-shared/ |
H A D | compute.cpp | 38 sp<ScriptC_mono> sc = new ScriptC_mono(rs); local 41 sc->set_alloc(a1); 42 sc->set_elem(e); 43 sc->set_type(t); 44 sc->set_script(sc); 45 sc->set_script(nullptr); 47 sc->set_sampler(samp); 57 sc->bind_failed(failed_alloc); 66 sc [all...] |
/frameworks/rs/tests/latency/ |
H A D | latency.cpp | 73 sp<ScriptC_latency> sc = new ScriptC_latency(rs); local 80 sc->forEach_root(ain, aout); 95 sc->forEach_root(ain, aout); 106 sc.clear();
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | RSSurfaceView.java | 136 public RenderScriptGL createRenderScriptGL(RenderScriptGL.SurfaceConfig sc) { argument 137 RenderScriptGL rs = new RenderScriptGL(this.getContext(), sc);
|
H A D | RSTextureView.java | 147 * @param sc The RS surface config to create. 151 public RenderScriptGL createRenderScriptGL(RenderScriptGL.SurfaceConfig sc) { argument 152 RenderScriptGL rs = new RenderScriptGL(this.getContext(), sc);
|
H A D | RenderScriptGL.java | 74 public SurfaceConfig(SurfaceConfig sc) { argument 75 mDepthMin = sc.mDepthMin; 76 mDepthPref = sc.mDepthPref; 77 mStencilMin = sc.mStencilMin; 78 mStencilPref = sc.mStencilPref; 79 mColorMin = sc.mColorMin; 80 mColorPref = sc.mColorPref; 81 mAlphaMin = sc.mAlphaMin; 82 mAlphaPref = sc.mAlphaPref; 83 mSamplesMin = sc 172 RenderScriptGL(Context ctx, SurfaceConfig sc) argument [all...] |
H A D | Script.java | 181 FieldPacker v, LaunchOptions sc) { 187 if (ain == null && aout == null && sc == null) { 209 if (sc != null) { 212 limits[0] = sc.xstart; 213 limits[1] = sc.xend; 214 limits[2] = sc.ystart; 215 limits[3] = sc.yend; 216 limits[4] = sc.zstart; 217 limits[5] = sc.zend; 237 FieldPacker v, LaunchOptions sc) { 180 forEach(int slot, Allocation ain, Allocation aout, FieldPacker v, LaunchOptions sc) argument 236 forEach(int slot, Allocation[] ains, Allocation aout, FieldPacker v, LaunchOptions sc) argument 292 reduce(int slot, Allocation[] ains, Allocation aout, LaunchOptions sc) argument [all...] |
/frameworks/rs/cpu_ref/ |
H A D | rsd_cpu.h | 44 const ScriptC * sc; member in struct:android::renderscript::RsdCpuReference::CpuTls 59 const RsScriptCall *sc) = 0; 64 const RsScriptCall *sc) = 0;
|
H A D | rsCpuIntrinsic.cpp | 79 const RsScriptCall *sc) { 85 const RsScriptCall *sc) { 94 const RsScriptCall *sc) { 98 preLaunch(slot, ains, inLen, aout, usr, usrLen, sc); 100 if (forEachMtlsSetup(ains, inLen, aout, usr, usrLen, sc, &mtls)) { 108 mCtx->launchForEach(ains, inLen, aout, sc, &mtls); 112 postLaunch(slot, ains, inLen, aout, usr, usrLen, sc); 76 preLaunch(uint32_t slot, const Allocation ** ains, uint32_t inLen, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument 82 postLaunch(uint32_t slot, const Allocation ** ains, uint32_t inLen, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument 88 invokeForEach(uint32_t slot, const Allocation ** ains, uint32_t inLen, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument
|
H A D | rsCpuIntrinsicBLAS.cpp | 38 const RsScriptCall *sc) override; 101 const RsScriptCall *sc) { 95 invokeForEach(uint32_t slot, const Allocation ** ain, uint32_t inLen, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument
|
H A D | rsCpuIntrinsicHistogram.cpp | 41 uint32_t usrLen, const RsScriptCall *sc); 44 uint32_t usrLen, const RsScriptCall *sc); 105 const RsScriptCall *sc) { 153 const RsScriptCall *sc) { 101 preLaunch(uint32_t slot, const Allocation ** ains, uint32_t inLen, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument 149 postLaunch(uint32_t slot, const Allocation ** ains, uint32_t inLen, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument
|
H A D | rsCpuIntrinsicResize.cpp | 40 uint32_t usrLen, const RsScriptCall *sc) override; 647 const RsScriptCall *sc) 643 preLaunch(uint32_t slot, const Allocation ** ains, uint32_t inLen, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument
|
/frameworks/rs/driver/ |
H A D | rsdVertexArray.cpp | 86 RsdShaderCache *sc = dc->gl.shaderCache; local 100 int32_t slot = sc->vtxAttribSlot(mAttribs[ct].name);
|
H A D | rsdBcc.cpp | 76 const RsScriptCall *sc) { 80 sc); 85 sc); 97 const RsScriptCall *sc) { 100 cs->invokeForEach(slot, ains, inLen, aout, usr, usrLen, sc); 131 const RsScriptCall *sc) { 133 cs->invokeReduce(slot, ains, inLen, aout, sc); 175 const android::renderscript::Script *sc, 177 RsdCpuReference::CpuScript *cs = (RsdCpuReference::CpuScript *)sc->mHal.drv; 69 rsdScriptInvokeForEach(const Context *rsc, Script *s, uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, size_t usrLen, const RsScriptCall *sc) argument 89 rsdScriptInvokeForEachMulti(const Context *rsc, Script *s, uint32_t slot, const Allocation ** ains, size_t inLen, Allocation * aout, const void * usr, size_t usrLen, const RsScriptCall *sc) argument 127 rsdScriptInvokeReduce(const Context *dc, Script *s, uint32_t slot, const Allocation ** ains, size_t inLen, Allocation *aout, const RsScriptCall *sc) argument 174 rsdScriptGetAllocationForPointer(const android::renderscript::Context *dc, const android::renderscript::Script *sc, const void *ptr) argument
|
/frameworks/native/services/surfaceflinger/tests/ |
H A D | Transaction_test.cpp | 37 static void fillSurfaceRGBA8(const sp<SurfaceControl>& sc, argument 40 sp<Surface> s = sc->getSurface(); 60 static void captureScreen(sp<ScreenCapture>* sc) { argument 73 *sc = new ScreenCapture(cpuConsumer); 187 sp<ScreenCapture> sc; local 190 ScreenCapture::captureScreen(&sc); 191 sc->checkPixel( 0, 12, 63, 63, 195); 192 sc->checkPixel( 75, 75, 195, 63, 63); 193 sc->checkPixel(145, 145, 63, 63, 195); 202 ScreenCapture::captureScreen(&sc); 221 sp<ScreenCapture> sc; local 260 sp<ScreenCapture> sc; local 286 sp<ScreenCapture> sc; local 311 sp<ScreenCapture> sc; local 334 sp<ScreenCapture> sc; local 369 sp<ScreenCapture> sc; local 392 sp<ScreenCapture> sc; local 416 sp<ScreenCapture> sc; local 440 sp<ScreenCapture> sc; local 465 sp<ScreenCapture> sc; local [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | bit_cnt.c | 48 Word16 bc11,sc; local 56 sc=0; 91 sc = sc + (t0>0) + (t1>0) + (t2>0) + (t3>0); 96 bitCount[3]=extract_h(bc3_4) + sc; 97 bitCount[4]=extract_l(bc3_4) + sc; 100 bitCount[7]=extract_h(bc7_8) + sc; 101 bitCount[8]=extract_l(bc7_8) + sc; 102 bitCount[9]=extract_h(bc9_10) + sc; 103 bitCount[10]=extract_l(bc9_10) + sc; 124 Word16 bc11,sc; local 199 Word16 bc11,sc; local 255 Word16 bc11,sc; local 304 Word16 bc11,sc; local 350 Word16 bc11,sc; local 391 Word16 bc11,ec,sc; local [all...] |
/frameworks/native/cmds/flatland/ |
H A D | GLHelper.cpp | 260 sp<SurfaceControl> sc = mSurfaceComposerClient->createSurface( local 262 if (sc == NULL || !sc->isValid()) { 274 err = sc->setLayer(0x7FFFFFFF); 279 err = sc->setMatrix(scale, 0.0f, 0.0f, scale); 285 err = sc->show(); 292 sp<ANativeWindow> anw = sc->getSurface(); 299 *surfaceControl = sc;
|