Home
last modified time | relevance | path

Searched refs:mDef (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/media/libstagefright/omx/
DSimpleSoftOMXComponent.cpp116 return !mPorts.itemAt(portIndex).mDef.bEnabled; in isSetParameterAllowed()
155 memcpy(defParams, &port->mDef, sizeof(port->mDef)); in internalGetParameter()
188 if (defParams->nBufferSize > port->mDef.nBufferSize) { in internalSetParameter()
189 port->mDef.nBufferSize = defParams->nBufferSize; in internalSetParameter()
192 if (defParams->nBufferCountActual < port->mDef.nBufferCountMin) { in internalSetParameter()
194 port->mDef.nBufferCountMin, defParams->nBufferCountActual); in internalSetParameter()
198 port->mDef.nBufferCountActual = defParams->nBufferCountActual; in internalSetParameter()
217 if (size < port->mDef.nBufferSize) { in useBuffer()
245 CHECK(mState == OMX_StateLoaded || port->mDef.bEnabled == OMX_FALSE); in useBuffer()
247 CHECK_LT(port->mBuffers.size(), port->mDef.nBufferCountActual); in useBuffer()
[all …]
DSoftVideoDecoderOMXComponent.cpp153 OMX_PARAM_PORTDEFINITIONTYPE *outDef = &editPortInfo(kOutputPortIndex)->mDef; in updatePortDefinitions()
164 OMX_PARAM_PORTDEFINITIONTYPE *inDef = &editPortInfo(kInputPortIndex)->mDef; in updatePortDefinitions()
206 OMX_PARAM_PORTDEFINITIONTYPE *def = &editPortInfo(kOutputPortIndex)->mDef; in handlePortSettingsChange()
247 OMX_PARAM_PORTDEFINITIONTYPE *def = &editPortInfo(kOutputPortIndex)->mDef; in handlePortSettingsChange()
318 OMX_PARAM_PORTDEFINITIONTYPE *outDef = &editPortInfo(kOutputPortIndex)->mDef; in copyYV12FrameToOutputBuffer()
495 OMX_PARAM_PORTDEFINITIONTYPE *def = &editPortInfo(newParams->nPortIndex)->mDef; in internalSetParameter()
DSoftVideoEncoderOMXComponent.cpp150 OMX_PARAM_PORTDEFINITIONTYPE *inDef = &editPortInfo(kInputPortIndex)->mDef; in updatePortParams()
165 OMX_PARAM_PORTDEFINITIONTYPE *outDef = &editPortInfo(kOutputPortIndex)->mDef; in updatePortParams()
/frameworks/av/media/libstagefright/codecs/raw/
DSoftRaw.cpp227 outPort->mDef.nBufferSize = inPort->mDef.nBufferSize; in internalSetParameter()
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/
DSimpleSoftOMXComponent.h55 OMX_PARAM_PORTDEFINITIONTYPE mDef; member
/frameworks/av/media/libstagefright/codecs/flac/dec/
DSoftFlacDecoder.cpp458 if (!info->mDef.bEnabled) { in onPortEnableCompleted()
459 info->mDef.nBufferSize = mStreamInfo.max_blocksize * mStreamInfo.channels * 2; in onPortEnableCompleted()
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/
DSoftMPEG4.cpp402 OMX_PARAM_PORTDEFINITIONTYPE *def = &editPortInfo(kOutputPortIndex)->mDef; in updatePortDefinitions()