Lines Matching refs:mDef
117 return !mPorts.itemAt(portIndex).mDef.bEnabled; in isSetParameterAllowed()
156 memcpy(defParams, &port->mDef, sizeof(port->mDef)); in internalGetParameter()
189 if (defParams->nBufferSize > port->mDef.nBufferSize) { in internalSetParameter()
190 port->mDef.nBufferSize = defParams->nBufferSize; in internalSetParameter()
193 if (defParams->nBufferCountActual < port->mDef.nBufferCountMin) { in internalSetParameter()
195 port->mDef.nBufferCountMin, defParams->nBufferCountActual); in internalSetParameter()
199 port->mDef.nBufferCountActual = defParams->nBufferCountActual; in internalSetParameter()
243 if (size < port->mDef.nBufferSize) { in useBufferCallerLockedAlready()
271 CHECK(mState == OMX_StateLoaded || port->mDef.bEnabled == OMX_FALSE); in useBufferCallerLockedAlready()
273 CHECK_LT(port->mBuffers.size(), port->mDef.nBufferCountActual); in useBufferCallerLockedAlready()
283 if (port->mBuffers.size() == port->mDef.nBufferCountActual) { in useBufferCallerLockedAlready()
284 port->mDef.bPopulated = OMX_TRUE; in useBufferCallerLockedAlready()
325 || port->mDef.bEnabled == OMX_FALSE); in freeBuffer()
347 port->mDef.bPopulated = OMX_FALSE; in freeBuffer()
433 && port->mDef.eDir == OMX_DirInput) in onMessageReceived()
434 || (port->mDef.eDir == OMX_DirOutput)); in onMessageReceived()
541 CHECK(port->mDef.bEnabled == !enable); in onPortEnable()
543 if (port->mDef.eDir != OMX_DirOutput) { in onPortEnable()
551 port->mDef.bEnabled = OMX_FALSE; in onPortEnable()
560 if (port->mDef.eDir == OMX_DirInput) { in onPortEnable()
563 CHECK_EQ(port->mDef.eDir, OMX_DirOutput); in onPortEnable()
617 if (port->mDef.eDir == OMX_DirInput) { in onPortFlush()
620 CHECK_EQ(port->mDef.eDir, OMX_DirOutput); in onPortFlush()
644 if (port.mDef.bEnabled == OMX_FALSE) { in checkTransitions()
648 if (port.mDef.bPopulated == OMX_FALSE) { in checkTransitions()
658 if (port.mDef.bEnabled == OMX_FALSE) { in checkTransitions()
665 CHECK_LE(n, port.mDef.nBufferCountActual); in checkTransitions()
667 if (n == port.mDef.nBufferCountActual) { in checkTransitions()
668 CHECK_EQ((int)port.mDef.bPopulated, (int)OMX_TRUE); in checkTransitions()
670 CHECK_EQ((int)port.mDef.bPopulated, (int)OMX_FALSE); in checkTransitions()
706 if (port->mDef.bPopulated == OMX_TRUE) { in checkTransitions()
710 port->mDef.bEnabled = OMX_TRUE; in checkTransitions()
724 info->mDef = def; in addPort()