Searched defs:sc (Results 1 - 25 of 44) sorted by relevance

12

/frameworks/native/opengl/tests/lib/
H A DWindowSurface.cpp57 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 Dcompute.cpp36 sp<ScriptC_multiply> sc = new ScriptC_multiply(rs); local
45 sc->forEach_multiply(ain, aout);
58 sc.clear();
/frameworks/rs/tests/cppstrided/
H A Dcompute.cpp38 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 DhelloComputeNDK.cpp54 ScriptC_mono* sc = new ScriptC_mono(rs); local
55 sc->forEach_root(inputAlloc, outputAlloc);
/frameworks/rs/tests/cppbasic/
H A Dcompute.cpp38 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(NULL);
47 sc->set_sampler(samp);
57 sc->bind_failed(failed_alloc);
66 sc
[all...]
/frameworks/rs/tests/cppbasic-getpointer/
H A Dcompute.cpp67 sp<ScriptC_mono> sc = new ScriptC_mono(rs); local
68 sc->forEach_copyAndNot(ain, aout);
/frameworks/rs/tests/cppbasic-shared/
H A Dcompute.cpp38 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(NULL);
47 sc->set_sampler(samp);
57 sc->bind_failed(failed_alloc);
66 sc
[all...]
/frameworks/rs/tests/latency/
H A Dlatency.cpp73 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 DRSSurfaceView.java136 public RenderScriptGL createRenderScriptGL(RenderScriptGL.SurfaceConfig sc) { argument
137 RenderScriptGL rs = new RenderScriptGL(this.getContext(), sc);
H A DRSTextureView.java147 * @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 DRenderScriptGL.java74 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...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
H A DGSMTestHandler.java40 private SimulatedCommands sc; field in class:GSMTestHandler
54 sc = new SimulatedCommands();
55 mGSMPhone = new GSMPhone(mContext, sc, new TestPhoneNotifier(), true);
88 return sc;
/frameworks/rs/cpu_ref/
H A Drsd_cpu.h64 const ScriptC * sc; member in struct:android::renderscript::RsdCpuReference::CpuTls
77 const RsScriptCall *sc) = 0;
85 const RsScriptCall *sc) = 0;
H A DrsCpuIntrinsic.cpp78 uint32_t usrLen, const RsScriptCall *sc) {
83 uint32_t usrLen, const RsScriptCall *sc) {
91 const RsScriptCall *sc) {
94 preLaunch(slot, ain, aout, usr, usrLen, sc);
96 forEachMtlsSetup(ain, aout, usr, usrLen, sc, &mtls);
104 mCtx->launchThreads(ain, aout, sc, &mtls);
107 postLaunch(slot, ain, aout, usr, usrLen, sc);
116 const RsScriptCall *sc) {
123 preLaunch(slot, ains[0], aout, usr, usrLen, sc);
125 forEachMtlsSetup(ains, inLen, aout, usr, usrLen, sc,
76 preLaunch(uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument
81 postLaunch(uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument
86 invokeForEach(uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument
110 invokeForEachMulti(uint32_t slot, const Allocation ** ains, uint32_t inLen, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument
[all...]
H A DrsCpuIntrinsicHistogram.cpp41 uint32_t usrLen, const RsScriptCall *sc);
44 uint32_t usrLen, const RsScriptCall *sc);
102 uint32_t usrLen, const RsScriptCall *sc) {
147 uint32_t usrLen, const RsScriptCall *sc) {
100 preLaunch(uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument
145 postLaunch(uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument
/frameworks/rs/driver/
H A DrsdVertexArray.cpp86 RsdShaderCache *sc = dc->gl.shaderCache; local
100 int32_t slot = sc->vtxAttribSlot(mAttribs[ct].name);
H A DrsdBcc.cpp74 const RsScriptCall *sc) {
77 cs->invokeForEach(slot, ain, aout, usr, usrLen, sc);
88 const RsScriptCall *sc) {
91 cs->invokeForEachMulti(slot, ains, inLen, aout, usr, usrLen, sc);
157 const android::renderscript::Script *sc,
159 RsdCpuReference::CpuScript *cs = (RsdCpuReference::CpuScript *)sc->mHal.drv;
67 rsdScriptInvokeForEach(const Context *rsc, Script *s, uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, size_t usrLen, const RsScriptCall *sc) argument
80 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
156 rsdScriptGetAllocationForPointer(const android::renderscript::Context *dc, const android::renderscript::Script *sc, const void *ptr) argument
/frameworks/native/services/surfaceflinger/tests/
H A DTransaction_test.cpp32 static void fillSurfaceRGBA8(const sp<SurfaceControl>& sc, argument
35 sp<Surface> s = sc->getSurface();
55 static void captureScreen(sp<ScreenCapture>* sc) { argument
65 *sc = new ScreenCapture(w, h, heap);
174 sp<ScreenCapture> sc; local
177 ScreenCapture::captureScreen(&sc);
178 sc->checkPixel( 0, 12, 63, 63, 195);
179 sc->checkPixel( 75, 75, 195, 63, 63);
180 sc->checkPixel(145, 145, 63, 63, 195);
189 ScreenCapture::captureScreen(&sc);
208 sp<ScreenCapture> sc; local
[all...]
/frameworks/rs/
H A DrsScriptIntrinsic.cpp65 const RsScriptCall *sc) {
67 rsc->mHal.funcs.script.invokeForEach(rsc, this, slot, ain, aout, usr, usrBytes, sc);
77 const RsScriptCall* sc) {
79 rsc->mHal.funcs.script.invokeForEachMulti(rsc, this, slot, ains, inLen, aout, usr, usrBytes, sc);
59 runForEach(Context *rsc, uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, size_t usrBytes, const RsScriptCall *sc) argument
70 runForEach(Context* rsc, uint32_t slot, const Allocation** ains, size_t inLen, Allocation* aout, const void* usr, size_t usrBytes, const RsScriptCall* sc) argument
H A DrsScriptC.cpp38 ScriptC * sc = (ScriptC *) tls->mScript
163 const RsScriptCall *sc) {
181 rsc->mHal.funcs.script.invokeForEach(rsc, this, slot, ain, aout, usr, usrBytes, sc);
194 const RsScriptCall *sc) {
213 rsc->mHal.funcs.script.invokeForEachMulti(rsc, this, slot, ains, inLen, aout, usr, usrBytes, sc);
157 runForEach(Context *rsc, uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, size_t usrBytes, const RsScriptCall *sc) argument
187 runForEach(Context *rsc, uint32_t slot, const Allocation ** ains, size_t inLen, Allocation * aout, const void * usr, size_t usrBytes, const RsScriptCall *sc) argument
H A DrsScriptC_Lib.cpp123 float rsrGetDt(Context *rsc, const Script *sc) { argument
125 int64_t l = sc->mEnviroment.mLastDtTime;
126 sc->mEnviroment.mLastDtTime = systemTime(SYSTEM_TIME_MONOTONIC);
127 return ((float)(sc->mEnviroment.mLastDtTime - l)) / 1.0e9;
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DScriptCThunker.java121 android.support.v8.renderscript.Script.LaunchOptions sc) {
124 if (sc != null) {
126 if (sc.getXEnd() > 0) lo.setX(sc.getXStart(), sc.getXEnd());
127 if (sc.getYEnd() > 0) lo.setY(sc.getYStart(), sc.getYEnd());
128 if (sc.getZEnd() > 0) lo.setZ(sc
120 thunkForEach(int slot, Allocation ain, Allocation aout, FieldPacker v, android.support.v8.renderscript.Script.LaunchOptions sc) argument
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dbit_cnt.c48 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 DGLHelper.cpp260 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;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DSignalClusterView.java87 public void setSecurityController(SecurityController sc) { argument
88 if (DEBUG) Log.d(TAG, "SecurityController=" + sc);
89 mSC = sc;

Completed in 4967 milliseconds

12