Home | History | Annotate | Download | only in tests

Lines Matching refs:pCompPrivateStruct

299     OMX_PARAM_PORTDEFINITIONTYPE* pCompPrivateStruct = NULL;
495 pCompPrivateStruct = malloc (sizeof (OMX_PARAM_PORTDEFINITIONTYPE));
496 APP_MEMPRINT("%d:::[TESTAPPALLOC] %p\n",__LINE__,pCompPrivateStruct);
497 pCompPrivateStruct->nSize = sizeof (OMX_PARAM_PORTDEFINITIONTYPE);
498 pCompPrivateStruct->nVersion.s.nVersionMajor = 1;
499 pCompPrivateStruct->nVersion.s.nVersionMinor = 1;
500 pCompPrivateStruct->nPortIndex = OMX_DirInput;
501 OMX_GetParameter (pHandle,OMX_IndexParamPortDefinition,pCompPrivateStruct);
504 pCompPrivateStruct->eDir = OMX_DirInput;
505 pCompPrivateStruct->bEnabled = OMX_TRUE;
506 pCompPrivateStruct->nBufferCountMin = G722ENC_NUM_INPUT_BUFFERS;
507 pCompPrivateStruct->nBufferSize = inBufSize;
508 pCompPrivateStruct->format.audio.eEncoding = OMX_AUDIO_CodingADPCM;
509 pCompPrivateStruct->nPortIndex = 0x0;
510 pCompPrivateStruct->nBufferCountActual = G722ENC_NUM_INPUT_BUFFERS;
511 pCompPrivateStruct->bEnabled = OMX_TRUE;
514 error = OMX_SetParameter (pHandle,OMX_IndexParamPortDefinition, pCompPrivateStruct);
517 error = OMX_SetParameter (pHandle,OMX_IndexParamPortDefinition, pCompPrivateStruct);
526 pCompPrivateStruct->nPortIndex = OMX_DirOutput;
527 pCompPrivateStruct->eDir = OMX_DirOutput;
528 pCompPrivateStruct->bEnabled = OMX_TRUE;
529 pCompPrivateStruct->nBufferCountMin = G722ENC_NUM_OUTPUT_BUFFERS;
530 pCompPrivateStruct->nPortIndex = 0x1;
531 pCompPrivateStruct->nBufferCountActual = G722ENC_NUM_OUTPUT_BUFFERS;
532 pCompPrivateStruct->bEnabled = OMX_TRUE;
533 pCompPrivateStruct->nBufferSize = outBufSize;
536 error = OMX_SetParameter (pHandle, OMX_IndexParamPortDefinition, pCompPrivateStruct);
539 error = OMX_SetParameter (pHandle, OMX_IndexParamPortDefinition, pCompPrivateStruct);
1296 APP_MEMPRINT("%d:::[TESTAPPFREE] %p\n",__LINE__,pCompPrivateStruct);
1301 free(pCompPrivateStruct);
1302 pCompPrivateStruct = NULL;