Lines Matching defs:pPortDef

280     pComponentPrivate->pPortDef[G711ENC_INPUT_PORT] = pPortDef_ip;
297 pComponentPrivate->pPortDef[G711ENC_OUTPUT_PORT] = pPortDef_op;
704 pComponentPrivate->pPortDef[G711ENC_INPUT_PORT]->nPortIndex) {
705 memcpy(ComponentParameterStructure, pComponentPrivate->pPortDef[G711ENC_INPUT_PORT], sizeof(OMX_PARAM_PORTDEFINITIONTYPE));
708 pComponentPrivate->pPortDef[G711ENC_OUTPUT_PORT]->nPortIndex) {
709 memcpy(ComponentParameterStructure, pComponentPrivate->pPortDef[G711ENC_OUTPUT_PORT], sizeof(OMX_PARAM_PORTDEFINITIONTYPE));
720 pComponentPrivate->pPortDef[G711ENC_INPUT_PORT]->nPortIndex) {
730 pComponentPrivate->pPortDef[G711ENC_OUTPUT_PORT]->nPortIndex){
890 pComponentPrivate->pPortDef[G711ENC_INPUT_PORT]->nPortIndex) {
892 memcpy(pComponentPrivate->pPortDef[G711ENC_INPUT_PORT], pCompParam, sizeof(OMX_PARAM_PORTDEFINITIONTYPE));
893 G711ENC_DPRINT("Input Count actual %d \n",(int)pComponentPrivate->pPortDef[G711ENC_INPUT_PORT]->nBufferCountActual);
896 pComponentPrivate->pPortDef[G711ENC_OUTPUT_PORT]->nPortIndex) {
898 memcpy(pComponentPrivate->pPortDef[G711ENC_OUTPUT_PORT], pCompParam, sizeof(OMX_PARAM_PORTDEFINITIONTYPE));
899 G711ENC_DPRINT("Output Count actual %d \n",(int)pComponentPrivate->pPortDef[G711ENC_INPUT_PORT]->nBufferCountActual);
936 pComponentPrivate->pPortDef[G711ENC_INPUT_PORT]->nPortIndex) {
943 pComponentPrivate->pPortDef[G711ENC_OUTPUT_PORT]->nPortIndex) {
1143 OMX_PARAM_PORTDEFINITIONTYPE *pPortDef = NULL;
1148 pPortDef = ((G711ENC_COMPONENT_PRIVATE*)pComponentPrivate)->pPortDef[G711ENC_INPUT_PORT];
1164 if (!pPortDef->bEnabled) {
1232 OMX_PARAM_PORTDEFINITIONTYPE *pPortDef = NULL;
1236 pPortDef = ((G711ENC_COMPONENT_PRIVATE*)pComponentPrivate)->pPortDef[G711ENC_OUTPUT_PORT];
1253 if (!pPortDef->bEnabled) {
1420 OMX_PARAM_PORTDEFINITIONTYPE *pPortDef = NULL;
1428 pPortDef = ((G711ENC_COMPONENT_PRIVATE*)pComponentPrivate)->pPortDef[nPortIndex];
1430 G711ENC_DPRINT("%d :: pPortDef = %p\n", __LINE__,pPortDef);
1432 if(!pPortDef->bEnabled){
1445 G711ENC_DPRINT("%d :: pPortDef->bEnabled = %d\n", __LINE__,pPortDef->bEnabled);
1461 G711ENC_DPRINT("%d ::Comparing INPUT numBuffers : pPortDef->nBufferCountActual = %d : %d \n",__LINE__,
1462 (int)pComponentPrivate->pInputBufferList->numBuffers,(int)pPortDef->nBufferCountActual);
1463 if (pComponentPrivate->pInputBufferList->numBuffers == pPortDef->nBufferCountActual) {
1464 pPortDef->bPopulated = OMX_TRUE;
1465 G711ENC_DPRINT("%d :: pPortDef->bPopulated = %d\n", __LINE__, pPortDef->bPopulated);
1474 G711ENC_DPRINT("%d :: Comparing OUTPUT numBuffers : pPortDef->nBufferCountActual = %d : %d \n",__LINE__,
1475 (int)pComponentPrivate->pOutputBufferList->numBuffers,(int)pPortDef->nBufferCountActual);
1476 if (pComponentPrivate->pOutputBufferList->numBuffers == pPortDef->nBufferCountActual) {
1477 pPortDef->bPopulated = OMX_TRUE;
1478 G711ENC_DPRINT("%d :: pPortDef->bPopulated = %d\n", __LINE__, pPortDef->bPopulated);
1487 if((pComponentPrivate->pPortDef[G711ENC_OUTPUT_PORT]->bPopulated ==
1488 pComponentPrivate->pPortDef[G711ENC_OUTPUT_PORT]->bEnabled) &&
1489 (pComponentPrivate->pPortDef[G711ENC_INPUT_PORT]->bPopulated ==
1490 pComponentPrivate->pPortDef[G711ENC_INPUT_PORT]->bEnabled) &&
1513 if (pComponentPrivate->bEnableCommandPending && pPortDef->bPopulated) {
1605 G711ENC_DPRINT("%d :: pComponentPrivate->pPortDef[G711ENC_INPUT_PORT]->nBufferCountMin = %ld \n",__LINE__,pComponentPrivate->pPortDef[G711ENC_INPUT_PORT]->nBufferCountMin);
1607 pComponentPrivate->pPortDef[G711ENC_INPUT_PORT]->nBufferCountMin) {
1609 pComponentPrivate->pPortDef[G711ENC_INPUT_PORT]->bPopulated = OMX_FALSE;
1611 if(pComponentPrivate->pPortDef[G711ENC_INPUT_PORT]->bEnabled &&
1616 G711ENC_DPRINT("%d :: pPortDef[G711ENC_INPUT_PORT]->bPopulated = %d \n",
1618 pComponentPrivate->pPortDef[G711ENC_INPUT_PORT]->bPopulated);
1644 G711ENC_DPRINT("\n%d :: pComponentPrivate->pPortDef[OUTPUT_PORT]->nBufferCountMin = %ld \n",
1646 pComponentPrivate->pPortDef[G711ENC_OUTPUT_PORT]->nBufferCountMin);
1649 pComponentPrivate->pPortDef[G711ENC_OUTPUT_PORT]->nBufferCountMin) {
1650 pComponentPrivate->pPortDef[G711ENC_OUTPUT_PORT]->bPopulated = OMX_FALSE;
1652 if(pComponentPrivate->pPortDef[G711ENC_OUTPUT_PORT]->bEnabled &&
1657 G711ENC_DPRINT("\n%d :: pPortDef[G711ENC_OUTPUT_PORT]->bPopulated = %d \n",
1659 pComponentPrivate->pPortDef[G711ENC_OUTPUT_PORT]->bPopulated);
1721 OMX_PARAM_PORTDEFINITIONTYPE *pPortDef = NULL;
1729 pPortDef = ((G711ENC_COMPONENT_PRIVATE*)pComponentPrivate)->pPortDef[nPortIndex];
1731 G711ENC_DPRINT("%d :: pPortDef->bPopulated = %d \n",__LINE__,pPortDef->bPopulated);
1733 if(!pPortDef->bEnabled) {
1739 if(nSizeBytes != pPortDef->nBufferSize || pPortDef->bPopulated) {
1754 if (pComponentPrivate->pOutputBufferList->numBuffers == pPortDef->nBufferCountActual) {
1755 pPortDef->bPopulated = OMX_TRUE;
1757 G711ENC_DPRINT("%d :: pPortDef->bPopulated = %d\n", __LINE__, pPortDef->bPopulated);
1766 if (pComponentPrivate->pInputBufferList->numBuffers == pPortDef->nBufferCountActual) {
1767 pPortDef->bPopulated = OMX_TRUE;
1769 G711ENC_DPRINT("%d :: pPortDef->bPopulated = %d\n", __LINE__, pPortDef->bPopulated);
1772 if((pComponentPrivate->pPortDef[G711ENC_OUTPUT_PORT]->bPopulated ==
1773 pComponentPrivate->pPortDef[G711ENC_OUTPUT_PORT]->bEnabled)&&
1774 (pComponentPrivate->pPortDef[G711ENC_INPUT_PORT]->bPopulated ==
1775 pComponentPrivate->pPortDef[G711ENC_INPUT_PORT]->bEnabled) &&