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

12

/frameworks/rs/java/tests/HelloComputeNDK/libhellocomputendk/
H A DhelloComputeNDK.cpp51 ScriptC_mono* sc = new ScriptC_mono(rs); local
52 sc->forEach_root(inputAlloc, outputAlloc);
/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/tests/cppbasic/
H A Dcompute.cpp35 ScriptC_mono* sc = new ScriptC_mono(rs); local
46 sc->bind_failed(failed_alloc);
55 sc->forEach_root(ain, aout);
57 sc->invoke_foo(99, 3.1f);
58 sc->set_g_f(39.9f);
59 sc->set_g_i(-14);
60 sc->invoke_foo(99, 3.1f);
63 sc->invoke_bar(47, -3, 'c', -7, 14, -8);
84 sc->forEach_kern1(kern1_in, kern1_out);
85 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/graphics/java/android/renderscript/
H A DRSSurfaceView.java144 public RenderScriptGL createRenderScriptGL(RenderScriptGL.SurfaceConfig sc) { argument
145 RenderScriptGL rs = new RenderScriptGL(this.getContext(), sc);
H A DRSTextureView.java154 * @param sc The RS surface config to create.
158 public RenderScriptGL createRenderScriptGL(RenderScriptGL.SurfaceConfig sc) { argument
159 RenderScriptGL rs = new RenderScriptGL(this.getContext(), sc);
H A DRenderScriptGL.java81 public SurfaceConfig(SurfaceConfig sc) { argument
82 mDepthMin = sc.mDepthMin;
83 mDepthPref = sc.mDepthPref;
84 mStencilMin = sc.mStencilMin;
85 mStencilPref = sc.mStencilPref;
86 mColorMin = sc.mColorMin;
87 mColorPref = sc.mColorPref;
88 mAlphaMin = sc.mAlphaMin;
89 mAlphaPref = sc.mAlphaPref;
90 mSamplesMin = sc
179 RenderScriptGL(Context ctx, SurfaceConfig sc) argument
[all...]
H A DScript.java154 protected void forEach(int slot, Allocation ain, Allocation aout, FieldPacker v, LaunchOptions sc) { argument
160 if (sc == null) {
176 mRS.nScriptForEachClipped(getID(mRS), slot, in_id, out_id, params, sc.xstart, sc.xend, sc.ystart, sc.yend, sc.zstart, sc.zend);
/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;
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);
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
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);
143 const android::renderscript::Script *sc,
145 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
142 rsdScriptGetAllocationForPointer(const android::renderscript::Context *dc, const android::renderscript::Script *sc, const void *ptr) argument
H A DrsdShader.cpp461 void RsdShader::setupTextures(const Context *rsc, RsdShaderCache *sc) { argument
479 RSD_CALL_GL(glUniform1i, sc->fragUniformSlot(mTextureUniformIndexStart + ct), ct);
520 void RsdShader::setupUserConstants(const Context *rsc, RsdShaderCache *sc, bool isFragment) { argument
544 slot = sc->vtxUniformSlot(uidx);
545 arraySize = sc->vtxUniformSize(uidx);
547 slot = sc->fragUniformSlot(uidx);
548 arraySize = sc->fragUniformSize(uidx);
567 void RsdShader::setup(const android::renderscript::Context *rsc, RsdShaderCache *sc) { argument
569 setupUserConstants(rsc, sc, mType == GL_FRAGMENT_SHADER);
570 setupTextures(rsc, sc);
[all...]
/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);
59 runForEach(Context *rsc, uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, size_t usrBytes, const RsScriptCall *sc) argument
H A DrsScript.cpp183 const RsScriptCall *sc, size_t scLen) {
186 // input for sc. Instead, it retains an existing pointer value (the prior
188 // drivers might now inspect bogus sc data.
190 sc = NULL;
194 params, paramLen, sc);
180 rsi_ScriptForEach(Context *rsc, RsScript vs, uint32_t slot, RsAllocation vain, RsAllocation vaout, const void *params, size_t paramLen, const RsScriptCall *sc, size_t scLen) argument
H A DrsScriptC.cpp40 ScriptC * sc = (ScriptC *) tls->mScript
169 const RsScriptCall *sc) {
187 rsc->mHal.funcs.script.invokeForEach(rsc, this, slot, ain, aout, usr, usrBytes, sc);
163 runForEach(Context *rsc, uint32_t slot, const Allocation * ain, 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...]
H A DScript.java259 * @param sc
261 protected void forEach(int slot, Allocation ain, Allocation aout, FieldPacker v, LaunchOptions sc) { argument
263 mT.thunkForEach(slot, ain, aout, v, sc);
272 if (sc == null) {
288 mRS.nScriptForEachClipped(getID(mRS), slot, in_id, out_id, params, sc.xstart, sc.xend, sc.ystart, sc.yend, sc.zstart, sc
[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.cpp258 sp<SurfaceControl> sc = mSurfaceComposerClient->createSurface( local
260 if (sc == NULL || !sc->isValid()) {
272 err = sc->setLayer(0x7FFFFFFF);
277 err = sc->setMatrix(scale, 0.0f, 0.0f, scale);
283 err = sc->show();
290 sp<ANativeWindow> anw = sc->getSurface();
297 *surfaceControl = sc;

Completed in 9290 milliseconds

12