Lines Matching refs:pPortDef
440 ((AMRDEC_COMPONENT_PRIVATE*) pHandle->pComponentPrivate)->pPortDef[NBAMRDEC_INPUT_PORT]
443 ((AMRDEC_COMPONENT_PRIVATE*) pHandle->pComponentPrivate)->pPortDef[NBAMRDEC_OUTPUT_PORT]
835 OMX_PRCOMM2(pComponentPrivate->dbg, "%d ::OMX_AmrDecoder.c ::pComponentPrivate->pPortDef[NBAMRDEC_INPUT_PORT]->nPortIndex = %ld\n",__LINE__,pComponentPrivate->pPortDef[NBAMRDEC_INPUT_PORT]->nPortIndex);
837 pComponentPrivate->pPortDef[NBAMRDEC_INPUT_PORT]->nPortIndex) {
839 memcpy(ComponentParameterStructure,pComponentPrivate->pPortDef[NBAMRDEC_INPUT_PORT],
843 pComponentPrivate->pPortDef[NBAMRDEC_OUTPUT_PORT]->nPortIndex) {
845 memcpy(ComponentParameterStructure, pComponentPrivate->pPortDef[NBAMRDEC_OUTPUT_PORT],
857 if(((OMX_AUDIO_PARAM_PORTFORMATTYPE *)(ComponentParameterStructure))->nPortIndex == pComponentPrivate->pPortDef[NBAMRDEC_INPUT_PORT]->nPortIndex) {
866 else if(((OMX_AUDIO_PARAM_PORTFORMATTYPE *)(ComponentParameterStructure))->nPortIndex == pComponentPrivate->pPortDef[NBAMRDEC_OUTPUT_PORT]->nPortIndex){
885 pComponentPrivate->pPortDef[NBAMRDEC_INPUT_PORT]->nPortIndex) {
891 pComponentPrivate->pPortDef[NBAMRDEC_OUTPUT_PORT]->nPortIndex) {
1072 pComponentPrivate->pPortDef[NBAMRDEC_INPUT_PORT]->nPortIndex) {
1073 pPortDef[NBAMRDEC_INPUT_PORT]->bEnabled;
1074 temp_bPopulated = pComponentPrivate->pPortDef[NBAMRDEC_INPUT_PORT]->bPopulated;
1075 memcpy(pComponentPrivate->pPortDef[NBAMRDEC_INPUT_PORT],
1079 pComponentPrivate->pPortDef[NBAMRDEC_INPUT_PORT]->bEnabled = temp_bEnabled;
1080 pComponentPrivate->pPortDef[NBAMRDEC_INPUT_PORT]->bPopulated = temp_bPopulated;
1084 pComponentPrivate->pPortDef[NBAMRDEC_OUTPUT_PORT]->nPortIndex) {
1085 temp_bEnabled = pComponentPrivate->pPortDef[NBAMRDEC_OUTPUT_PORT]->bEnabled;
1086 temp_bPopulated = pComponentPrivate->pPortDef[NBAMRDEC_OUTPUT_PORT]->bPopulated;
1087 memcpy(pComponentPrivate->pPortDef[NBAMRDEC_OUTPUT_PORT],
1091 pComponentPrivate->pPortDef[NBAMRDEC_OUTPUT_PORT]->bEnabled = temp_bEnabled;
1092 pComponentPrivate->pPortDef[NBAMRDEC_OUTPUT_PORT]->bPopulated = temp_bPopulated;
1132 pComponentPrivate->pPortDef[NBAMRDEC_INPUT_PORT]->nPortIndex) {
1139 pComponentPrivate->pPortDef[NBAMRDEC_OUTPUT_PORT]->nPortIndex) {
1273 pComponentPrivate->pPortDef[NBAMRDEC_OUTPUT_PORT]->bEnabled = 0;
1342 pComponentPrivate->pPortDef[NBAMRDEC_OUTPUT_PORT]->bEnabled = 0;
1484 OMX_PARAM_PORTDEFINITIONTYPE *pPortDef;
1487 pPortDef = ((AMRDEC_COMPONENT_PRIVATE*)
1488 pComponentPrivate)->pPortDef[NBAMRDEC_INPUT_PORT];
1505 if(!pPortDef->bEnabled) {
1587 OMX_PARAM_PORTDEFINITIONTYPE *pPortDef;
1593 pPortDef = ((AMRDEC_COMPONENT_PRIVATE*)
1594 pComponentPrivate)->pPortDef[NBAMRDEC_OUTPUT_PORT];
1609 if(!pPortDef->bEnabled) {
1793 OMX_PARAM_PORTDEFINITIONTYPE *pPortDef;
1801 pPortDef = ((AMRDEC_COMPONENT_PRIVATE*)
1802 pComponentPrivate)->pPortDef[nPortIndex];
1811 OMX_PRCOMM2(pComponentPrivate->dbg, "%d ::OMX_AmrDecoder.c :: pPortDef = 0x%p\n", __LINE__,pPortDef);
1812 OMX_PRCOMM2(pComponentPrivate->dbg, "%d ::OMX_AmrDecoder.c :: pPortDef->bEnabled = %d\n", __LINE__,pPortDef->bEnabled);
1815 OMX_PRCOMM2(pComponentPrivate->dbg, "pPortDef->bEnabled = %d\n", pPortDef->bEnabled);
1817 if(pPortDef->bEnabled) {
1843 OMX_PRBUFFER2(pComponentPrivate->dbg, "%d ::OMX_AmrDecoder.c :: pPortDef->nBufferCountMin = %ld\n",__LINE__,pPortDef->nBufferCountMin);
1844 if (pComponentPrivate->pInputBufferList->numBuffers == pPortDef->nBufferCountActual) {
1845 OMX_PRCOMM2(pComponentPrivate->dbg, "%d ::OMX_AmrDecoder.c :: Setting pPortDef->bPopulated = OMX_TRUE for input port\n",__LINE__);
1846 pPortDef->bPopulated = OMX_TRUE;
1857 if (pComponentPrivate->pOutputBufferList->numBuffers == pPortDef->nBufferCountActual) {
1858 OMX_PRCOMM2(pComponentPrivate->dbg, "%d ::OMX_AmrDecoder.c :: Setting pPortDef->bPopulated = OMX_TRUE for input port\n",__LINE__);
1859 pPortDef->bPopulated = OMX_TRUE;
1867 if((pComponentPrivate->pPortDef[NBAMRDEC_OUTPUT_PORT]->bPopulated == pComponentPrivate->pPortDef[NBAMRDEC_OUTPUT_PORT]->bEnabled)&&
1868 (pComponentPrivate->pPortDef[NBAMRDEC_INPUT_PORT]->bPopulated == pComponentPrivate->pPortDef[NBAMRDEC_INPUT_PORT]->bEnabled) &&
1892 if (pComponentPrivate->bEnableCommandPending && pPortDef->bPopulated) {
1984 pComponentPrivate->pPortDef[NBAMRDEC_INPUT_PORT]->nBufferCountActual) {
1986 pComponentPrivate->pPortDef[NBAMRDEC_INPUT_PORT]->bPopulated = OMX_FALSE;
1988 if(pComponentPrivate->pPortDef[NBAMRDEC_INPUT_PORT]->bEnabled &&
2014 pComponentPrivate->pPortDef[NBAMRDEC_OUTPUT_PORT]->nBufferCountActual) {
2016 pComponentPrivate->pPortDef[NBAMRDEC_OUTPUT_PORT]->bPopulated = OMX_FALSE;
2018 if(pComponentPrivate->pPortDef[NBAMRDEC_OUTPUT_PORT]->bEnabled &&
2080 OMX_PARAM_PORTDEFINITIONTYPE *pPortDef;
2096 pPortDef = ((AMRDEC_COMPONENT_PRIVATE*)
2097 pComponentPrivate)->pPortDef[nPortIndex];
2098 OMX_PRCOMM2(pComponentPrivate->dbg, "%d ::OMX_AmrDecoder.c ::pPortDef->bPopulated = %d\n",__LINE__,pPortDef->bPopulated);
2100 if(!pPortDef->bEnabled) {
2106 /*if(nSizeBytes != pPortDef->nBufferSize || pPortDef->bPopulated) {
2122 if (pComponentPrivate->pOutputBufferList->numBuffers == pPortDef->nBufferCountActual) {
2123 pPortDef->bPopulated = OMX_TRUE;
2132 if (pComponentPrivate->pInputBufferList->numBuffers == pPortDef->nBufferCountActual) {
2133 pPortDef->bPopulated = OMX_TRUE;
2137 if((pComponentPrivate->pPortDef[NBAMRDEC_OUTPUT_PORT]->bPopulated == pComponentPrivate->pPortDef[NBAMRDEC_OUTPUT_PORT]->bEnabled)&&
2138 (pComponentPrivate->pPortDef[NBAMRDEC_INPUT_PORT]->bPopulated == pComponentPrivate->pPortDef[NBAMRDEC_INPUT_PORT]->bEnabled) &&