Lines Matching refs:defParams
140 OMX_PARAM_PORTDEFINITIONTYPE *defParams = in internalGetParameter() local
143 if (!isValidOMXParam(defParams)) { in internalGetParameter()
147 if (defParams->nPortIndex >= mPorts.size() in internalGetParameter()
148 || defParams->nSize in internalGetParameter()
154 &mPorts.itemAt(defParams->nPortIndex); in internalGetParameter()
156 memcpy(defParams, &port->mDef, sizeof(port->mDef)); in internalGetParameter()
171 OMX_PARAM_PORTDEFINITIONTYPE *defParams = in internalSetParameter() local
174 if (!isValidOMXParam(defParams)) { in internalSetParameter()
178 if (defParams->nPortIndex >= mPorts.size()) { in internalSetParameter()
181 if (defParams->nSize != sizeof(OMX_PARAM_PORTDEFINITIONTYPE)) { in internalSetParameter()
186 &mPorts.editItemAt(defParams->nPortIndex); in internalSetParameter()
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()