Lines Matching refs:INPORT_INDEX
55 if (this->ports[INPORT_INDEX]) {
56 delete this->ports[INPORT_INDEX];
57 this->ports[INPORT_INDEX] = NULL;
68 this->ports[INPORT_INDEX] = new PortVideo;
69 if (this->ports[INPORT_INDEX] == NULL) {
73 PortVideo *port = static_cast<PortVideo *>(this->ports[INPORT_INDEX]);
79 paramPortDefinitionInput.nPortIndex = INPORT_INDEX;
113 paramPortFormat.nPortIndex = INPORT_INDEX;
246 //this->ports[INPORT_INDEX]->ReturnAllRetainedBuffers();
278 if (portIndex == INPORT_INDEX || portIndex == OMX_ALL) {
352 retains[INPORT_INDEX] = BUFFER_RETAIN_GETAGAIN;
380 ret = PrepareDecodeBuffer(*pBuffers[INPORT_INDEX], &retains[INPORT_INDEX], &decodeBuffer);
396 retains[INPORT_INDEX] = BUFFER_RETAIN_GETAGAIN;
402 retains[INPORT_INDEX] = BUFFER_RETAIN_GETAGAIN;
419 (*pBuffers[INPORT_INDEX])->nOffset += nextFrame->offSet;
420 (*pBuffers[INPORT_INDEX])->nTimeStamp = nextFrame->timestamp;
421 (*pBuffers[INPORT_INDEX])->nFilledLen -= nextFrame->offSet;
422 retains[INPORT_INDEX] = BUFFER_RETAIN_GETAGAIN;
423 LOGW("Find multiple frames in a buffer, next frame offset = %d, timestamp = %lld", (*pBuffers[INPORT_INDEX])->nOffset, (*pBuffers[INPORT_INDEX])->nTimeStamp);
443 ((*pBuffers[INPORT_INDEX]))->nFlags,&isResolutionChange);
463 bool inputEoS = ((*pBuffers[INPORT_INDEX])->nFlags & OMX_BUFFERFLAG_EOS);
467 retains[INPORT_INDEX] = BUFFER_RETAIN_GETAGAIN;
469 (*pBuffers[INPORT_INDEX])->nFilledLen = 0;
504 const OMX_PARAM_PORTDEFINITIONTYPE *paramPortDefinitionInput = this->ports[INPORT_INDEX]->GetPortDefinition();
555 port = static_cast<PortVideo *>(this->ports[INPORT_INDEX]);
773 this->ports[INPORT_INDEX]->GetPortDefinition(),
824 this->ports[INPORT_INDEX]->SetPortDefinition(¶mPortDefinitionInput, true);
827 ProcessorFlush(INPORT_INDEX);
885 this->ports[INPORT_INDEX]->SetPortDefinition(¶mPortDefinitionInput, true);
906 this->ports[INPORT_INDEX]->SetPortDefinition(¶mPortDefinitionInput, true);
914 ProcessorFlush(INPORT_INDEX);
1140 this->ports[INPORT_INDEX]->GetPortDefinition(),