Lines Matching refs:port_def
487 const OMX_PARAM_PORTDEFINITIONTYPE* port_def = port->GetPortDefinition();
489 if (!port_def->bEnabled) {
555 OMX_PARAM_PORTDEFINITIONTYPE port_def;
556 memcpy(&port_def, port->GetPortDefinition(), sizeof(port_def));
558 if (port_def.format.video.pNativeWindow != NULL) {
559 p->nativeWindow = port_def.format.video.pNativeWindow;
1096 OMX_PARAM_PORTDEFINITIONTYPE port_def;
1097 memcpy(&port_def,port->GetPortDefinition(),sizeof(port_def));
1104 port_def.format.video.eColorFormat = OMX_COLOR_FormatYUV420SemiPlanar;
1105 port_def.format.video.pNativeRender = NULL;
1106 port_def.format.video.pNativeWindow = NULL;
1107 port->SetPortDefinition(&port_def,true);
1112 port_def.nBufferCountMin = mNativeBufferCount;
1114 SetMaxOutputBufferCount(&port_def);
1116 port_def.nBufferCountActual = mNativeBufferCount;
1118 port_def.format.video.cMIMEType = (OMX_STRING)VA_VED_RAW_MIME_TYPE;
1119 port_def.format.video.eColorFormat = OMX_INTEL_COLOR_FormatYUV420PackedSemiPlanar;
1120 port_def.format.video.nFrameHeight = port_def.format.video.nFrameHeight;
1122 port_def.format.video.eColorFormat = GetOutputColorFormat(
1123 port_def.format.video.nFrameWidth);
1124 port->SetPortDefinition(&port_def,true);
1207 OMX_PARAM_PORTDEFINITIONTYPE port_def;
1208 memcpy(&port_def,port->GetPortDefinition(),sizeof(port_def));
1224 if (port_def.format.video.nFrameWidth != rectParams->nWidth) {
1225 port_def.format.video.nFrameWidth = rectParams->nWidth;
1227 port->SetPortDefinition(&port_def,true);