Lines Matching refs:pCompPrivateStruct
229 OMX_PARAM_PORTDEFINITIONTYPE* pCompPrivateStruct,
235 OMX_PARAM_PORTDEFINITIONTYPE* pCompPrivateStruct,
369 OMX_PARAM_PORTDEFINITIONTYPE* pCompPrivateStruct = NULL;
590 OMX_G729APP_MALLOC_STRUCT(pCompPrivateStruct, OMX_PARAM_PORTDEFINITIONTYPE);
591 OMX_G729APP_CONF_INIT_STRUCT(pCompPrivateStruct, OMX_PARAM_PORTDEFINITIONTYPE);
595 pCompPrivateStruct->nSize = sizeof (OMX_PARAM_PORTDEFINITIONTYPE);
596 pCompPrivateStruct->nVersion.s.nVersionMajor = 0xF1;
597 pCompPrivateStruct->nVersion.s.nVersionMinor = 0xF2;
598 pCompPrivateStruct->nPortIndex = G729APP_INPUT_PORT;
599 pCompPrivateStruct->eDir = OMX_DirInput;
600 pCompPrivateStruct->nBufferCountActual = audioinfo->nIpBufs;
601 pCompPrivateStruct->nBufferCountMin = audioinfo->nIpBufs;
602 pCompPrivateStruct->nBufferSize = G729APP_INPUT_BUFFER_SIZE*framesPerBuffer;
603 pCompPrivateStruct->bEnabled = OMX_TRUE;
604 pCompPrivateStruct->bPopulated = OMX_FALSE;
605 pCompPrivateStruct->eDomain = OMX_PortDomainAudio;
606 pCompPrivateStruct->format.audio.eEncoding = OMX_AUDIO_CodingG729;
607 pCompPrivateStruct->format.audio.cMIMEType = NULL;
608 pCompPrivateStruct->format.audio.pNativeRender = NULL;
609 pCompPrivateStruct->format.audio.bFlagErrorConcealment = OMX_FALSE; /*Send input port config*/
621 pCompPrivateStruct->nBufferCountActual = 0;
669 eError = OMX_SetParameter (pHandle, OMX_IndexParamPortDefinition, pCompPrivateStruct);
672 eError = OMX_SetParameter (pHandle, OMX_IndexParamPortDefinition, pCompPrivateStruct);
681 pCompPrivateStruct->nSize = sizeof (OMX_PARAM_PORTDEFINITIONTYPE);
682 pCompPrivateStruct->nVersion.s.nVersionMajor = 0x1;
683 pCompPrivateStruct->nVersion.s.nVersionMinor = 0x1;
684 pCompPrivateStruct->nPortIndex = G729APP_OUTPUT_PORT;
685 pCompPrivateStruct->eDir = OMX_DirOutput;
686 pCompPrivateStruct->nBufferCountActual = audioinfo->nOpBufs;
687 pCompPrivateStruct->nBufferCountMin = audioinfo->nOpBufs;
688 pCompPrivateStruct->nBufferSize = G729APP_OUTPUT_BUFFER_SIZE;
689 pCompPrivateStruct->bEnabled = OMX_TRUE;
690 pCompPrivateStruct->bPopulated = OMX_FALSE;
691 pCompPrivateStruct->eDomain = OMX_PortDomainAudio;
692 pCompPrivateStruct->format.audio.eEncoding = OMX_AUDIO_CodingG729;
693 pCompPrivateStruct->format.audio.cMIMEType = NULL;
694 pCompPrivateStruct->format.audio.pNativeRender = NULL;
695 pCompPrivateStruct->format.audio.bFlagErrorConcealment = OMX_FALSE; /*Send input port config*/
698 eError = OMX_SetParameter (pHandle, OMX_IndexParamPortDefinition, pCompPrivateStruct);
701 eError = OMX_SetParameter (pHandle, OMX_IndexParamPortDefinition, pCompPrivateStruct);
757 APP_DPRINT("\n%d :: App: pCompPrivateStruct->nBufferSize --> %ld \n",__LINE__,pCompPrivateStruct->nBufferSize);
761 eError = OMX_AllocateBuffer(pHandle, &pOutputBufferHeader[i], 1, NULL, pCompPrivateStruct->nBufferSize);
790 pOutputBuffer[i] = malloc (pCompPrivateStruct->nBufferSize + 256);
802 eError = OMX_UseBuffer(pHandle, &pOutputBufferHeader[i], 1, NULL, pCompPrivateStruct->nBufferSize, pOutputBuffer[i]);
1442 APP_MEMPRINT("%d :: App: [TESTAPPFREE] %p\n",__LINE__,pCompPrivateStruct);
1443 if(pCompPrivateStruct != NULL){
1444 free(pCompPrivateStruct);
1445 pCompPrivateStruct = NULL;
1475 FreeResources(pG729Param, pCompPrivateStruct, audioinfo, pInputBuffer, pOutputBuffer);
1477 FreeResources(pG729Param, pCompPrivateStruct, audioinfo, pInputBufferHeader, pOutputBufferHeader, pHandle);
1535 OMX_PARAM_PORTDEFINITIONTYPE* pCompPrivateStruct,
1571 APP_MEMPRINT("%d :: App: [TESTAPPFREE] %p\n",__LINE__,pCompPrivateStruct);
1572 if(pCompPrivateStruct != NULL){
1573 free(pCompPrivateStruct);
1574 pCompPrivateStruct = NULL;
1617 OMX_PARAM_PORTDEFINITIONTYPE* pCompPrivateStruct,
1654 APP_MEMPRINT("%d :: App: [TESTAPPFREE] %p\n",__LINE__,pCompPrivateStruct);
1655 if(pCompPrivateStruct != NULL){
1656 free(pCompPrivateStruct);
1657 pCompPrivateStruct = NULL;