Home
last modified time | relevance | path

Searched refs:dc (Results 1 – 25 of 25) sorted by relevance

/frameworks/base/libs/rs/driver/
DrsdGL.cpp109 static void DumpDebug(RsdHal *dc) { in DumpDebug() argument
110 LOGE(" EGL ver %i %i", dc->gl.egl.majorVersion, dc->gl.egl.minorVersion); in DumpDebug()
111 LOGE(" EGL context %p surface %p, Display=%p", dc->gl.egl.context, dc->gl.egl.surface, in DumpDebug()
112 dc->gl.egl.display); in DumpDebug()
113 LOGE(" GL vendor: %s", dc->gl.gl.vendor); in DumpDebug()
114 LOGE(" GL renderer: %s", dc->gl.gl.renderer); in DumpDebug()
115 LOGE(" GL Version: %s", dc->gl.gl.version); in DumpDebug()
116 LOGE(" GL Extensions: %s", dc->gl.gl.extensions); in DumpDebug()
117 LOGE(" GL int Versions %i %i", dc->gl.gl.majorVersion, dc->gl.gl.minorVersion); in DumpDebug()
119 LOGV("MAX Textures %i, %i %i", dc->gl.gl.maxVertexTextureUnits, in DumpDebug()
[all …]
DrsdCore.cpp137 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in HelperThreadProc() local
140 uint32_t idx = (uint32_t)android_atomic_inc(&dc->mWorkers.mLaunchCount); in HelperThreadProc()
144 dc->mWorkers.mLaunchSignals[idx].init(); in HelperThreadProc()
145 dc->mWorkers.mNativeThreadId[idx] = gettid(); in HelperThreadProc()
147 int status = pthread_setspecific(rsdgThreadTLSKey, &dc->mTlsStruct); in HelperThreadProc()
162 while (!dc->mExit) { in HelperThreadProc()
163 dc->mWorkers.mLaunchSignals[idx].wait(); in HelperThreadProc()
164 if (dc->mWorkers.mLaunchCallback) { in HelperThreadProc()
165 dc->mWorkers.mLaunchCallback(dc->mWorkers.mLaunchData, idx); in HelperThreadProc()
167 android_atomic_dec(&dc->mWorkers.mRunningCount); in HelperThreadProc()
[all …]
DrsdProgram.cpp58 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdProgramVertexSetActive() local
61 dc->gl.shaderCache->setActiveVertex((RsdShader*)pv->mHal.drv); in rsdProgramVertexSetActive()
65 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdProgramVertexDestroy() local
74 dc->gl.shaderCache->cleanupVertex(drv->getShaderID()); in rsdProgramVertexDestroy()
89 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdProgramFragmentSetActive() local
92 dc->gl.shaderCache->setActiveFragment((RsdShader*)pf->mHal.drv); in rsdProgramFragmentSetActive()
96 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdProgramFragmentDestroy() local
105 dc->gl.shaderCache->cleanupFragment(drv->getShaderID()); in rsdProgramFragmentDestroy()
DrsdBcc.h27 void rsdScriptInvokeFunction(const android::renderscript::Context *dc,
42 int rsdScriptInvokeRoot(const android::renderscript::Context *dc,
44 void rsdScriptInvokeInit(const android::renderscript::Context *dc,
46 void rsdScriptInvokeFreeChildren(const android::renderscript::Context *dc,
59 void rsdScriptSetGlobal(const android::renderscript::Context *dc,
64 void rsdScriptGetGlobal(const android::renderscript::Context *dc,
69 void rsdScriptDestroy(const android::renderscript::Context *dc,
DrsdBcc.cpp226 RsdHal * dc = (RsdHal *)mtls->rsc->mHal.drv; in wc_xy() local
248 dc->mForEachLaunch[sig](&mtls->script->mHal.info.root, &p); in wc_xy()
262 RsdHal * dc = (RsdHal *)mtls->rsc->mHal.drv; in wc_x() local
281 dc->mForEachLaunch[sig](&mtls->script->mHal.info.root, &p); in wc_x()
297 RsdHal * dc = (RsdHal *)rsc->mHal.drv; in rsdScriptInvokeForEach() local
379 if ((dc->mWorkers.mCount > 1) && s->mHal.info.isThreadable) { in rsdScriptInvokeForEach()
407 dc->mForEachLaunch[sig](&s->mHal.info.root, &p); in rsdScriptInvokeForEach()
420 int rsdScriptInvokeRoot(const Context *dc, Script *script) { in rsdScriptInvokeRoot() argument
430 void rsdScriptInvokeInit(const Context *dc, Script *script) { in rsdScriptInvokeInit() argument
438 void rsdScriptInvokeFreeChildren(const Context *dc, Script *script) { in rsdScriptInvokeFreeChildren() argument
[all …]
DrsdMesh.cpp43 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdMeshDraw() local
44 if (!dc->gl.shaderCache->setup(rsc)) { in rsdMeshDraw()
DrsdVertexArray.cpp84 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in setup() local
85 RsdVertexArrayState *state = dc->gl.vertexArrayState; in setup()
86 RsdShaderCache *sc = dc->gl.shaderCache; in setup()
DrsdShader.cpp326 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in setupSampler() local
350 if (!dc->gl.gl.OES_texture_npot && tex->getType()->getIsNp2()) { in setupSampler()
352 (dc->gl.gl.GL_NV_texture_npot_2D_mipmap || dc->gl.gl.GL_IMG_texture_npot)) { in setupSampler()
353 if (dc->gl.gl.GL_NV_texture_npot_2D_mipmap) { in setupSampler()
389 float anisoValue = rsMin(dc->gl.gl.EXT_texture_max_aniso, s->mHal.state.aniso); in setupSampler()
390 if (dc->gl.gl.EXT_texture_max_aniso > 1.0f) { in setupSampler()
402 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in setupTextures() local
405 uint32_t numTexturesAvailable = dc->gl.gl.maxFragmentTextureImageUnits; in setupTextures()
DrsdFrameBuffer.cpp71 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdFrameBufferInit() local
72 dc->gl.currentFrameBuffer = fbo; in rsdFrameBufferInit()
DrsdAllocation.cpp308 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdAllocationSyncFromFBO() local
309 RsdFrameBufferObj *lastFbo = dc->gl.currentFrameBuffer; in rsdAllocationSyncFromFBO()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DCdmaCallTracker.java498 DriverCall dc = null; in handlePollCalls() local
502 dc = (DriverCall) polledCalls.get(curDC); in handlePollCalls()
504 if (dc.index == i+1) { in handlePollCalls()
507 dc = null; in handlePollCalls()
512 conn+", dc=" + dc); in handlePollCalls()
514 if (conn == null && dc != null) { in handlePollCalls()
516 if (pendingMO != null && pendingMO.compareTo(dc)) { in handlePollCalls()
523 pendingMO.update(dc); in handlePollCalls()
548 log("pendingMo=" + pendingMO + ", dc=" + dc); in handlePollCalls()
551 newRinging = checkMtFindNewRinging(dc,i); in handlePollCalls()
[all …]
DCdmaConnection.java121 CdmaConnection (Context context, DriverCall dc, CdmaCallTracker ct, int index) { in CdmaConnection() argument
128 address = dc.number; in CdmaConnection()
130 isIncoming = dc.isMT; in CdmaConnection()
132 cnapName = dc.name; in CdmaConnection()
133 cnapNamePresentation = dc.namePresentation; in CdmaConnection()
134 numberPresentation = dc.numberPresentation; in CdmaConnection()
138 parent = parentFromDCState (dc.state); in CdmaConnection()
139 parent.attach(this, dc); in CdmaConnection()
484 update (DriverCall dc) { in update() argument
490 newParent = parentFromDCState(dc.state); in update()
[all …]
DCdmaCall.java102 attach(Connection conn, DriverCall dc) { in attach() argument
105 state = stateFromDCState (dc.state); in attach()
151 update (CdmaConnection conn, DriverCall dc) { in update() argument
155 newState = stateFromDCState(dc.state); in update()
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DGsmCallTracker.java434 DriverCall dc = null; in handlePollCalls() local
438 dc = (DriverCall) polledCalls.get(curDC); in handlePollCalls()
440 if (dc.index == i+1) { in handlePollCalls()
443 dc = null; in handlePollCalls()
448 conn+", dc=" + dc); in handlePollCalls()
450 if (conn == null && dc != null) { in handlePollCalls()
452 if (pendingMO != null && pendingMO.compareTo(dc)) { in handlePollCalls()
459 pendingMO.update(dc); in handlePollCalls()
478 connections[i] = new GsmConnection(phone.getContext(), dc, this, i); in handlePollCalls()
489 Log.i(LOG_TAG,"Phantom call appeared " + dc); in handlePollCalls()
[all …]
DGsmConnection.java117 GsmConnection (Context context, DriverCall dc, GsmCallTracker ct, int index) { in GsmConnection() argument
124 address = dc.number; in GsmConnection()
126 isIncoming = dc.isMT; in GsmConnection()
128 numberPresentation = dc.numberPresentation; in GsmConnection()
129 uusInfo = dc.uusInfo; in GsmConnection()
133 parent = parentFromDCState (dc.state); in GsmConnection()
134 parent.attach(this, dc); in GsmConnection()
426 update (DriverCall dc) { in update() argument
432 newParent = parentFromDCState(dc.state); in update()
434 if (!equalsHandlesNulls(address, dc.number)) { in update()
[all …]
DGsmCall.java98 attach(Connection conn, DriverCall dc) { in attach() argument
101 state = stateFromDCState (dc.state); in attach()
147 update (GsmConnection conn, DriverCall dc) { in update() argument
151 newState = stateFromDCState(dc.state); in update()
DGsmDataConnectionTracker.java952 GsmDataConnection dc; in setupData() local
963 dc = (GsmDataConnection)apnContext.getDataConnection(); in setupData()
965 if (dc == null) { in setupData()
967 dc = (GsmDataConnection) checkForConnectionForApnContext(apnContext); in setupData()
969 if (dc == null) { in setupData()
970 dc = findReadyDataConnection(apn); in setupData()
973 if (dc == null) { in setupData()
977 dc = findFreeDataConnection(); in setupData()
980 if (dc == null) { in setupData()
981 dc = createDataConnection(); in setupData()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/
DDriverCall.java150 DriverCall dc; in compareTo() local
152 dc = (DriverCall)o; in compareTo()
154 if (index < dc.index) { in compareTo()
156 } else if (index == dc.index) { in compareTo()
DRIL.java2330 for (DriverCall dc : calls) { in retToString()
2331 sb.append("[").append(dc).append("] "); in retToString()
2929 DriverCall dc; in responseCallList() local
2935 dc = new DriverCall(); in responseCallList()
2937 dc.state = DriverCall.stateFromCLCC(p.readInt()); in responseCallList()
2938 dc.index = p.readInt(); in responseCallList()
2939 dc.TOA = p.readInt(); in responseCallList()
2940 dc.isMpty = (0 != p.readInt()); in responseCallList()
2941 dc.isMT = (0 != p.readInt()); in responseCallList()
2942 dc.als = p.readInt(); in responseCallList()
[all …]
DDataConnectionAc.java105 public DataConnectionAc(DataConnection dc, String logTag) { in DataConnectionAc() argument
106 dataConnection = dc; in DataConnectionAc()
DDataConnectionTracker.java1075 for (DataConnection dc : mDataConnections.values()) { in resetAllRetryCounts()
1076 dc.resetRetryCount(); in resetAllRetryCounts()
/frameworks/base/media/libstagefright/codecs/on2/h264dec/source/
Dh264bsd_macroblock_layer.c1149 i16 dc[4 + 4] = {0,0,0,0,0,0,0,0}; in ProcessChromaResidual() local
1160 pDc = dc; in ProcessChromaResidual()
1170 pDc = dc+4; in ProcessChromaResidual()
1179 pDc = dc; in ProcessChromaResidual()
1222 i16 dc[16] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; in ProcessIntra16x16Residual() local
1231 pDc = dc; in ProcessIntra16x16Residual()
1246 pDc = &dc[dcCoeffIndex[i]]; in ProcessIntra16x16Residual()
/frameworks/base/media/jni/mediaeditor/
DVideoBrowserInternal.h88 M4OSA_Context dc; member
/frameworks/base/telephony/java/com/android/internal/telephony/test/
DSimulatedGsmCallState.java737 DriverCall dc; in getDriverCalls() local
739 dc = c.toDriverCall(i + 1); in getDriverCalls()
740 ret.add(dc); in getDriverCalls()
/frameworks/base/libs/rs/
DrsScriptC_LibGL.cpp140 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsrDrawQuadTexCoords() local
141 if (!dc->gl.shaderCache->setup(rsc)) { in rsrDrawQuadTexCoords()