Lines Matching refs:pCompPrivateStruct

451     OMX_PARAM_PORTDEFINITIONTYPE* pCompPrivateStruct    = NULL; 
753 pCompPrivateStruct = malloc (sizeof (OMX_PARAM_PORTDEFINITIONTYPE));
754 if (pCompPrivateStruct == 0) {
782 APP_MEMPRINT("%d:::[TESTAPPALLOC] %p\n",__LINE__,pCompPrivateStruct);
784 pCompPrivateStruct->nSize = sizeof (OMX_PARAM_PORTDEFINITIONTYPE);
785 pCompPrivateStruct->nVersion.s.nVersionMajor = 0xF1;
786 pCompPrivateStruct->nVersion.s.nVersionMinor = 0xF2;
789 pCompPrivateStruct->nPortIndex = OMX_DirInput;
790 pCompPrivateStruct->format.audio.cMIMEType = malloc(20);
791 strcpy(pCompPrivateStruct->format.audio.cMIMEType,"NONMIME");
792 pCompPrivateStruct->eDir = OMX_DirInput;
793 pCompPrivateStruct->nPortIndex = OMX_DirInput;
794 pCompPrivateStruct->nBufferCountActual = numInputBuffers;
795 pCompPrivateStruct->nBufferSize = inputBufferSize;
796 pCompPrivateStruct->format.audio.eEncoding = OMX_AUDIO_CodingG711;
797 pCompPrivateStruct->bEnabled = 1;
798 pCompPrivateStruct->bPopulated = 0;
802 error = OMX_SetParameter (pHandle, OMX_IndexParamPortDefinition, pCompPrivateStruct);
805 error = OMX_SetParameter (pHandle, OMX_IndexParamPortDefinition, pCompPrivateStruct);
813 pCompPrivateStruct->nPortIndex = OMX_DirOutput;
814 pCompPrivateStruct->eDir = OMX_DirOutput;
815 pCompPrivateStruct->nPortIndex = OMX_DirOutput;
816 pCompPrivateStruct->nBufferCountActual = numOutputBuffers;
817 pCompPrivateStruct->nBufferSize = outputBufferSize;
820 pCompPrivateStruct->nBufferCountActual = 0;
824 error = OMX_SetParameter (pHandle, OMX_IndexParamPortDefinition, pCompPrivateStruct);
827 error = OMX_SetParameter (pHandle, OMX_IndexParamPortDefinition, pCompPrivateStruct);
1518 APP_MEMPRINT("%d:::[TESTAPPFREE] %p\n",__LINE__,pCompPrivateStruct->format.audio.cMIMEType);
1519 free(pCompPrivateStruct->format.audio.cMIMEType);
1520 APP_MEMPRINT("%d:::[TESTAPPFREE] %p\n",__LINE__,pCompPrivateStruct);
1521 free(pCompPrivateStruct);