Lines Matching defs:pPortDef

232     OMX_PARAM_PORTDEFINITIONTYPE *pPortDef = NULL;
248 if (nPortIndex == pComponentPrivate->sCompPorts[nPortIndex].pPortDef.nPortIndex) {
249 pPortDef = &(pComponentPrivate->sCompPorts[nPortIndex].pPortDef);
257 if (pComponentPrivate->sCompPorts[nPortIndex].pPortDef.nBufferSize > nSizeBytes) {
258 nBufSize = pComponentPrivate->sCompPorts[nPortIndex].pPortDef.nBufferSize;
262 nDirection = pComponentPrivate->sCompPorts[nPortIndex].pPortDef.eDir;
286 pBufferHdr->pInputPortPrivate = &(pComponentPrivate->sCompPorts[nPortIndex].pPortDef);
298 pBufferHdr->pOutputPortPrivate = &(pComponentPrivate->sCompPorts[nPortIndex].pPortDef);
336 pComponentPrivate->sCompPorts[nPortIndex].pPortDef.nBufferCountActual,
338 if (pComponentPrivate->sCompPorts[nPortIndex].pPortDef.nBufferCountActual ==
340 pPortDef->bPopulated = OMX_TRUE;
440 pMyData->sCompPorts[nPortIndex].pPortDef.bPopulated = OMX_FALSE;
442 if (pMyData->sCompPorts[nPortIndex].pPortDef.bEnabled &&
458 VPP_DPRINT("pPortDef->bEnabled %d pPortDef->bPopulated %d pMyData->bDisableIncomplete[nPortIndex] %d (%d)\n",
459 pMyData->sCompPorts[nPortIndex].pPortDef.bEnabled,
460 pMyData->sCompPorts[nPortIndex].pPortDef.bPopulated,
465 if ((!pMyData->sCompPorts[nPortIndex].pPortDef.bEnabled) &&
466 (pMyData->sCompPorts[nPortIndex].pPortDef.bPopulated == OMX_FALSE)) {
469 pMyData->sCompPorts[nPortIndex].pPortDef.bEnabled = OMX_FALSE;
514 OMX_PARAM_PORTDEFINITIONTYPE *pPortDef = NULL;
526 pPortDef = &(pMyData->sCompPorts[nPortIndex].pPortDef);
529 pPortDef = &(pMyData->sCompPorts[nPortIndex].pPortDef);
532 pPortDef = &(pMyData->sCompPorts[nPortIndex].pPortDef);
535 pPortDef = &(pMyData->sCompPorts[nPortIndex].pPortDef);
541 if (!pPortDef->bEnabled) {
560 pBufListObj->pInputPortPrivate = &(pMyData->sCompPorts[nPortIndex].pPortDef);
580 pBufListObj->pOutputPortPrivate = &(pMyData->sCompPorts[nPortIndex].pPortDef);
594 if (pMyData->sCompPorts[nPortIndex].nBufferCount == pPortDef->nBufferCountActual) {
595 pPortDef->bPopulated = OMX_TRUE;
941 pComponentPrivate->sCompPorts[nParam].pPortDef.bEnabled=OMX_FALSE;
942 if (pComponentPrivate->sCompPorts[nParam].pPortDef.bPopulated) {
957 pComponentPrivate->sCompPorts[i].pPortDef.bEnabled=OMX_FALSE;
958 if (pComponentPrivate->sCompPorts[i].pPortDef.bPopulated) {
1100 VPP_DPRINT ("VPP::Inside the GetParameter portindex = %d (%d)\n",(int)portindex, pComponentPrivate->sCompPorts[portindex].pPortDef.nPortIndex);
1101 if(portindex == pComponentPrivate->sCompPorts[portindex].pPortDef.nPortIndex){
1103 &pComponentPrivate->sCompPorts[portindex].pPortDef,
1353 pTemp = memcpy (&(((VPP_COMPONENT_PRIVATE*)pHandle->pComponentPrivate)->sCompPorts[portIndex].pPortDef),
1362 pComponentPrivate->sCompPorts[portIndex].pPortDef.nBufferSize =
1365 switch(pComponentPrivate->sCompPorts[portIndex].pPortDef.format.video.eColorFormat) {
1367 pComponentPrivate->sCompPorts[portIndex].pPortDef.nBufferSize*= 3;
1368 pComponentPrivate->sCompPorts[portIndex].pPortDef.nBufferSize/= 2;
1371 pComponentPrivate->sCompPorts[portIndex].pPortDef.nBufferSize*= 2;
1374 pComponentPrivate->sCompPorts[portIndex].pPortDef.nBufferSize*= 2;
1377 pComponentPrivate->sCompPorts[portIndex].pPortDef.nBufferSize*= 4;
1380 pComponentPrivate->sCompPorts[portIndex].pPortDef.nBufferSize*= 3;
1383 pComponentPrivate->sCompPorts[portIndex].pPortDef.nBufferSize*= 2;
1386 pComponentPrivate->sCompPorts[portIndex].pPortDef.nBufferSize*= 2;
1389 pComponentPrivate->sCompPorts[portIndex].pPortDef.nBufferSize*= 2;
1394 pComponentPrivate->sCompPorts[portIndex].pPortDef.nBufferSize/= 2;
1397 pComponentPrivate->sCompPorts[portIndex].pPortDef.nBufferSize/= 4;
1400 pComponentPrivate->sCompPorts[portIndex].pPortDef.nBufferSize/= 8;
1403 pComponentPrivate->sCompPorts[portIndex].pPortDef.nBufferSize/= 2;
1408 ((VPP_COMPONENT_PRIVATE*)pHandle->pComponentPrivate)->sCompPorts[portIndex].pPortDef.nPortIndex);
1411 pVidDef = &(pComponentPrivate->sCompPorts[OMX_VPP_YUV_OUTPUT_PORT].pPortDef.format.video);
1421 pVidDef = &(pComponentPrivate->sCompPorts[OMX_VPP_INPUT_PORT].pPortDef.format.video);
1882 if(pComponentPrivate->sCompPorts[OMX_VPP_INPUT_PORT].pPortDef.format.video.eColorFormat == OMX_COLOR_FormatYUV420PackedPlanar){
1908 if(pComponentPrivate->sCompPorts[OMX_VPP_YUV_OUTPUT_PORT].pPortDef.format.video.eColorFormat == OMX_COLOR_FormatYUV420PackedPlanar){
2015 !pComponentPrivate->sCompPorts[OMX_VPP_INPUT_PORT].pPortDef.bEnabled){
2021 !pComponentPrivate->sCompPorts[OMX_VPP_INPUT_OVERLAY_PORT].pPortDef.bEnabled){
2120 for (i = 0; i < pComponentPrivate->sCompPorts[pBufHdr->nInputPortIndex].pPortDef.nBufferCountActual; i ++) {
2236 !pComponentPrivate->sCompPorts[OMX_VPP_YUV_OUTPUT_PORT].pPortDef.bEnabled){
2242 !pComponentPrivate->sCompPorts[OMX_VPP_RGB_OUTPUT_PORT].pPortDef.bEnabled){
2370 OMX_PARAM_PORTDEFINITIONTYPE* pPortDef)
2376 OMX_CHECK_CMD(pPort, hTunneledComp, pPortDef);
2390 switch(pPortDef->eDomain)
2393 if (MyPortDef.format.other.eFormat!= pPortDef->format.other.eFormat) {
2400 if (MyPortDef.format.audio.eEncoding != pPortDef->format.audio.eEncoding) {
2409 pPortDef->format.video.eColorFormat);
2413 if (MyPortDef.format.video.eColorFormat != pPortDef->format.video.eColorFormat)
2422 if (MyPortDef.format.image.eCompressionFormat != pPortDef->format.image.eCompressionFormat) {
2478 if (pComponentPrivate->sCompPorts[nPort].pPortDef.eDir != OMX_DirInput &&
2479 pComponentPrivate->sCompPorts[nPort].pPortDef.eDir != OMX_DirOutput) {
2495 if (pComponentPrivate->sCompPorts[nPort].pPortDef.eDir == OMX_DirOutput) {
2501 eError = VPP_VerifyTunnelConnection(pPort, hTunneledComp, &pComponentPrivate->sCompPorts[nPort].pPortDef);