Searched defs:dc (Results 1 - 25 of 26) sorted by relevance

12

/frameworks/rs/driver/
H A DrsdMesh.cpp43 RsdHal *dc = (RsdHal *)rsc->mHal.drv; local
44 if (!dc->gl.shaderCache->setup(rsc)) {
H A DrsdScriptGroup.cpp32 RsdHal *dc = (RsdHal *)rsc->mHal.drv; local
34 sg->mHal.drv = dc->mCpuRef->createScriptGroup(sg);
H A DrsdFrameBuffer.cpp71 RsdHal *dc = (RsdHal *)rsc->mHal.drv; local
72 dc->gl.currentFrameBuffer = fbo;
H A DrsdFrameBufferObj.cpp126 RsdHal *dc = (RsdHal *)rsc->mHal.drv; local
132 eglQuerySurface(dc->gl.egl.display, dc->gl.egl.surface, EGL_WIDTH, &width);
133 eglQuerySurface(dc->gl.egl.display, dc->gl.egl.surface, EGL_HEIGHT, &height);
151 if(dc->gl.wndSurface != dc->gl.currentWndSurface) {
152 rsdGLSetInternalSurface(rsc, dc->gl.wndSurface);
H A DrsdCore.cpp185 RsdHal *dc = (RsdHal *)calloc(1, sizeof(RsdHal)); local
186 if (!dc) {
190 rsc->mHal.drv = dc;
192 dc->mCpuRef = RsdCpuReference::create((Context *)c, version_major, version_minor,
194 if (!dc->mCpuRef) {
196 free(dc);
205 RsdHal *dc = (RsdHal *)rsc->mHal.drv; local
207 dc->mCpuRef->setPriority(priority);
210 if (dc->mHasGraphics) {
217 RsdHal *dc local
[all...]
H A DrsdProgram.cpp61 RsdHal *dc = (RsdHal *)rsc->mHal.drv; local
64 dc->gl.shaderCache->setActiveVertex((RsdShader*)pv->mHal.drv);
68 RsdHal *dc = (RsdHal *)rsc->mHal.drv; local
77 dc->gl.shaderCache->cleanupVertex(drv);
95 RsdHal *dc = (RsdHal *)rsc->mHal.drv; local
98 dc->gl.shaderCache->setActiveFragment((RsdShader*)pf->mHal.drv);
102 RsdHal *dc = (RsdHal *)rsc->mHal.drv; local
111 dc->gl.shaderCache->cleanupFragment(drv);
H A DrsdGL.cpp136 static void DumpDebug(RsdHal *dc) { argument
137 ALOGE(" EGL ver %i %i", dc->gl.egl.majorVersion, dc->gl.egl.minorVersion);
138 ALOGE(" EGL context %p surface %p, Display=%p", dc->gl.egl.context, dc->gl.egl.surface,
139 dc->gl.egl.display);
140 ALOGE(" GL vendor: %s", dc->gl.gl.vendor);
141 ALOGE(" GL renderer: %s", dc->gl.gl.renderer);
142 ALOGE(" GL Version: %s", dc->gl.gl.version);
143 ALOGE(" GL Extensions: %s", dc
155 RsdHal *dc = (RsdHal *)rsc->mHal.drv; local
[all...]
H A DrsdVertexArray.cpp84 RsdHal *dc = (RsdHal *)rsc->mHal.drv; local
85 RsdVertexArrayState *state = dc->gl.vertexArrayState;
86 RsdShaderCache *sc = dc->gl.shaderCache;
H A DrsdBcc.cpp45 RsdHal *dc = (RsdHal *)rsc->mHal.drv; local
46 RsdCpuReference::CpuScript * cs = dc->mCpuRef->createScript(script, resName, cacheDir,
57 RsdHal *dc = (RsdHal *)rsc->mHal.drv; local
58 RsdCpuReference::CpuScript * cs = dc->mCpuRef->createIntrinsic(s, iid, e);
81 int rsdScriptInvokeRoot(const Context *dc, Script *s) { argument
86 void rsdScriptInvokeInit(const Context *dc, Script *s) { argument
91 void rsdScriptInvokeFreeChildren(const Context *dc, Script *s) { argument
96 void rsdScriptInvokeFunction(const Context *dc, Script *s, argument
104 void rsdScriptSetGlobalVar(const Context *dc, const Script *s, argument
110 void rsdScriptGetGlobalVar(const Context *dc, cons argument
117 rsdScriptSetGlobalVarWithElemDims(const Context *dc, const Script *s, uint32_t slot, void *data, size_t dataLength, const android::renderscript::Element *elem, const size_t *dims, size_t dimLength) argument
125 rsdScriptSetGlobalBind(const Context *dc, const Script *s, uint32_t slot, Allocation *data) argument
130 rsdScriptSetGlobalObj(const Context *dc, const Script *s, uint32_t slot, ObjectBase *data) argument
135 rsdScriptDestroy(const Context *dc, Script *s) argument
142 rsdScriptGetAllocationForPointer(const android::renderscript::Context *dc, const android::renderscript::Script *sc, const void *ptr) argument
[all...]
H A DrsdPath.cpp147 RsdHal *dc = (RsdHal *)rsc->mHal.drv; local
148 if (!dc->gl.shaderCache->setup(rsc)) {
H A DrsdShader.cpp385 RsdHal *dc = (RsdHal *)rsc->mHal.drv; local
414 if (!dc->gl.gl.OES_texture_npot && tex->getType()->getIsNp2()) {
416 (dc->gl.gl.NV_texture_npot_2D_mipmap || dc->gl.gl.IMG_texture_npot)) {
417 if (dc->gl.gl.NV_texture_npot_2D_mipmap) {
453 float anisoValue = rsMin(dc->gl.gl.EXT_texture_max_aniso, s->mHal.state.aniso);
454 if (dc->gl.gl.EXT_texture_max_aniso > 1.0f) {
466 RsdHal *dc = (RsdHal *)rsc->mHal.drv; local
469 uint32_t numTexturesAvailable = dc->gl.gl.maxFragmentTextureImageUnits;
H A DrsdAllocation.cpp547 RsdHal *dc = (RsdHal *)rsc->mHal.drv; local
548 RsdFrameBufferObj *lastFbo = dc->gl.currentFrameBuffer;
770 RsdHal *dc = (RsdHal *)rsc->mHal.drv; local
771 RSD_CALL_GL(eglSwapBuffers, dc->gl.egl.display, dc->gl.egl.surface);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaCall.java98 attach(Connection conn, DriverCall dc) { argument
101 mState = stateFromDCState (dc.state);
147 update (CdmaConnection conn, DriverCall dc) { argument
151 newState = stateFromDCState(dc.state);
H A DCdmaCallTracker.java492 DriverCall dc = null;
496 dc = (DriverCall) polledCalls.get(curDC);
498 if (dc.index == i+1) {
501 dc = null;
506 conn+", dc=" + dc);
508 if (conn == null && dc != null) {
510 if (mPendingMO != null && mPendingMO.compareTo(dc)) {
517 mPendingMO.update(dc);
542 log("pendingMo=" + mPendingMO + ", dc
1073 checkMtFindNewRinging(DriverCall dc, int i) argument
[all...]
H A DCdmaConnection.java123 CdmaConnection (Context context, DriverCall dc, CdmaCallTracker ct, int index) { argument
130 mAddress = dc.number;
132 mIsIncoming = dc.isMT;
134 mCnapName = dc.name;
135 mCnapNamePresentation = dc.namePresentation;
136 mNumberPresentation = dc.numberPresentation;
140 mParent = parentFromDCState (dc.state);
141 mParent.attach(this, dc);
475 update (DriverCall dc) { argument
481 newParent = parentFromDCState(dc
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDcRetryAlarmController.java78 DcRetryAlarmController(PhoneBase phone, DataConnection dc) { argument
79 mLogTag = dc.getName();
81 mDc = dc;
105 * Using dc.mRetryManager and the result of the SETUP_DATA_CALL determine
108 * @param dc is the DataConnection
112 int getSuggestedRetryTime(DataConnection dc, AsyncResult ar) { argument
122 } else if (dc.mRetryManager.isRetryNeeded()) {
123 retryDelay = dc.mRetryManager.getRetryTimer();
134 log("getSuggestedRetryTime: " + retryDelay + " response=" + response + " dc=" + dc);
[all...]
H A DDcController.java99 void addDc(DataConnection dc) { argument
100 mDcListAll.add(dc);
103 void removeDc(DataConnection dc) { argument
104 mDcListActiveByCid.remove(dc.mCid);
105 mDcListAll.remove(dc);
108 void addActiveDcByCid(DataConnection dc) { argument
109 if (DBG && dc.mCid < 0) {
110 log("addActiveDcByCid dc.mCid < 0 dc=" + dc);
115 removeActiveDcByCid(DataConnection dc) argument
[all...]
H A DDcAsyncChannel.java113 public DcAsyncChannel(DataConnection dc, String logTag) { argument
114 mDc = dc;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmCall.java101 attach(Connection conn, DriverCall dc) { argument
104 mState = stateFromDCState (dc.state);
150 update (GsmConnection conn, DriverCall dc) { argument
154 newState = stateFromDCState(dc.state);
H A DGsmConnection.java122 GsmConnection (Context context, DriverCall dc, GsmCallTracker ct, int index) { argument
129 mAddress = dc.number;
131 mIsIncoming = dc.isMT;
133 mCnapName = dc.name;
134 mCnapNamePresentation = dc.namePresentation;
135 mNumberPresentation = dc.numberPresentation;
136 mUusInfo = dc.uusInfo;
140 mParent = parentFromDCState (dc.state);
141 mParent.attach(this, dc);
433 update (DriverCall dc) { argument
[all...]
/frameworks/base/media/jni/mediaeditor/
H A DVideoBrowserInternal.h88 M4OSA_Context dc; member in struct:__anon1110
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DDriverCall.java151 compareTo(DriverCall dc) { argument
153 if (index < dc.index) {
155 } else if (index == dc.index) {
157 } else { /*index > dc.index*/
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_macroblock_layer.c77 /* mapping of dc coefficients array to luma blocks */
1149 i16 dc[4 + 4] = {0,0,0,0,0,0,0,0}; local
1154 /* chroma DC processing. First chroma dc block is block with index 25 */
1160 pDc = dc;
1170 pDc = dc+4;
1179 pDc = dc;
1222 i16 dc[16] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; local
1231 pDc = dc;
1246 pDc = &dc[dcCoeffIndex[i]];
1372 /* set dc coefficien
[all...]
/frameworks/rs/cpu_ref/
H A DrsCpuCore.cpp117 RsdCpuReferenceImpl *dc = (RsdCpuReferenceImpl *)vrsc; local
119 uint32_t idx = __sync_fetch_and_add(&dc->mWorkers.mLaunchCount, 1);
121 //ALOGV("RS helperThread starting %p idx=%i", dc, idx);
123 dc->mWorkers.mLaunchSignals[idx].init();
124 dc->mWorkers.mNativeThreadId[idx] = gettid();
126 memset(&dc->mTlsStruct, 0, sizeof(dc->mTlsStruct));
127 int status = pthread_setspecific(gThreadTLSKey, &dc->mTlsStruct);
142 while (!dc->mExit) {
143 dc
[all...]
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp1094 size_t dc = draw.size(); local
1100 for (size_t i=0 ; i<dc ; i++) {
1133 dc--; i--;

Completed in 440 milliseconds

12