Lines Matching refs:port

72     PortVideo *port = static_cast<PortVideo *>(this->ports[INPORT_INDEX]);
106 port->SetPortDefinition(&paramPortDefinitionInput, true);
118 port->SetPortVideoParam(&paramPortFormat, true);
130 PortVideo *port = static_cast<PortVideo *>(this->ports[OUTPORT_INDEX]);
162 // no format specific to initialize output port
165 port->SetPortDefinition(&paramPortDefinitionOutput, true);
176 port->SetPortVideoParam(&paramPortFormat, true);
182 // no format specific to initialize output port
270 LOGI("Flushing port# %u.", portIndex);
283 // TODO: do we need to flush output port?
464 // if output port is not eos, retain the input buffer until all the output buffers are drained.
485 PortVideo *port = NULL;
486 port = static_cast<PortVideo *>(this->ports[OUTPORT_INDEX]);
487 const OMX_PARAM_PORTDEFINITIONTYPE* port_def = port->GetPortDefinition();
488 // if output port is disabled, retain the input buffer
553 PortVideo *port = NULL;
554 port = static_cast<PortVideo *>(this->ports[INPORT_INDEX]);
556 memcpy(&port_def, port->GetPortDefinition(), sizeof(port_def));
768 // Sync port definition as it may change.
805 // input port
810 // output port
842 LOGV("output port buffer number is not enough: %d to %d",
908 // Make sure va_destroySurface is called before graphicbuffer is freed in case of port setting changed
993 PortVideo *port = NULL;
994 port = static_cast<PortVideo *>(this->ports[p->nPortIndex]);
995 memcpy(p, port->GetPortVideoParam(), sizeof(*p));
1007 // TODO: do we need to check if port is enabled?
1008 PortVideo *port = NULL;
1009 port = static_cast<PortVideo *>(this->ports[p->nPortIndex]);
1010 port->SetPortVideoParam(p, false);
1094 PortVideo *port = NULL;
1095 port = static_cast<PortVideo *>(this->ports[OUTPORT_INDEX]);
1097 memcpy(&port_def,port->GetPortDefinition(),sizeof(port_def));
1107 port->SetPortDefinition(&port_def,true);
1124 port->SetPortDefinition(&port_def,true);
1205 PortVideo *port = NULL;
1206 port = static_cast<PortVideo *>(this->ports[OUTPORT_INDEX]);
1208 memcpy(&port_def,port->GetPortDefinition(),sizeof(port_def));
1222 // if port width parsed from extractor is not as same as from SPS/PPS nalu header,
1227 port->SetPortDefinition(&port_def,true);