Home
last modified time | relevance | path

Searched refs:pCompPrivateStruct (Results 1 – 14 of 14) sorted by relevance

/hardware/ti/omap3/omx/audio/src/openmax_il/g729_enc/tests/
DG729EncTest.c229 OMX_PARAM_PORTDEFINITIONTYPE* pCompPrivateStruct,
235 OMX_PARAM_PORTDEFINITIONTYPE* pCompPrivateStruct,
369 OMX_PARAM_PORTDEFINITIONTYPE* pCompPrivateStruct = NULL; in main() local
590 OMX_G729APP_MALLOC_STRUCT(pCompPrivateStruct, OMX_PARAM_PORTDEFINITIONTYPE); in main()
591 OMX_G729APP_CONF_INIT_STRUCT(pCompPrivateStruct, OMX_PARAM_PORTDEFINITIONTYPE); in main()
595pCompPrivateStruct->nSize = sizeof (OMX_P… in main()
596 pCompPrivateStruct->nVersion.s.nVersionMajor = 0xF1; in main()
597 pCompPrivateStruct->nVersion.s.nVersionMinor = 0xF2; in main()
598 pCompPrivateStruct->nPortIndex = G729APP_INPUT_PORT; in main()
599 pCompPrivateStruct->eDir = OMX_DirInput; in main()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/tests/
DWbAmrEncTest.c500 OMX_PARAM_PORTDEFINITIONTYPE* pCompPrivateStruct; local
748 OMX_WBAPP_MALLOC_STRUCT(pCompPrivateStruct, OMX_PARAM_PORTDEFINITIONTYPE);
749 OMX_WBAPP_CONF_INIT_STRUCT(pCompPrivateStruct, OMX_PARAM_PORTDEFINITIONTYPE);
751 ArrayOfPointers[2] = (OMX_PARAM_PORTDEFINITIONTYPE*)pCompPrivateStruct;
753pCompPrivateStruct->nSize = sizeof (OMX_PARAM_PORTDEFINITIONTYPE);
754 pCompPrivateStruct->nVersion.s.nVersionMajor = 0xF1;
755 pCompPrivateStruct->nVersion.s.nVersionMinor = 0xF2;
756 pCompPrivateStruct->nPortIndex = WBAPP_INPUT_PORT;
757 pCompPrivateStruct->eDir = OMX_DirInput;
758 pCompPrivateStruct->nBufferCountActual = numOfInputBuffer;
[all …]
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/tests/
DVPPTest.c449 OMX_PARAM_PORTDEFINITIONTYPE* pCompPrivateStruct = NULL; in _tmain() local
968 pCompPrivateStruct = malloc (sizeof (OMX_PARAM_PORTDEFINITIONTYPE)); in _tmain()
969 if(!pCompPrivateStruct){ in _tmain()
975 pCompPrivateStruct->nSize = sizeof (OMX_PARAM_PORTDEFINITIONTYPE); in _tmain()
976 pCompPrivateStruct->nVersion.s.nVersionMajor = 0x1; in _tmain()
977 pCompPrivateStruct->nVersion.s.nVersionMinor = 0x0; in _tmain()
978 pCompPrivateStruct->nVersion.s.nRevision = 0x0; in _tmain()
979 pCompPrivateStruct->nVersion.s.nStep = 0x0; in _tmain()
980 pCompPrivateStruct->nPortIndex = MyVppPortDef.input_port; in _tmain()
981 pCompPrivateStruct->eDir = OMX_DirInput; in _tmain()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_enc/tests/
DAmrEncTest.c521 OMX_PARAM_PORTDEFINITIONTYPE* pCompPrivateStruct; local
760 OMX_NBAPP_MALLOC_STRUCT(pCompPrivateStruct, OMX_PARAM_PORTDEFINITIONTYPE);
761 OMX_NBAPP_CONF_INIT_STRUCT(pCompPrivateStruct, OMX_PARAM_PORTDEFINITIONTYPE);
765 ArrayOfPointers[2]=(OMX_PARAM_PORTDEFINITIONTYPE*)pCompPrivateStruct;
769 pCompPrivateStruct->nSize = sizeof (OMX_PARAM_PORTDEFINITIONTYPE);
770 pCompPrivateStruct->nVersion.s.nVersionMajor = 0xF1;
771 pCompPrivateStruct->nVersion.s.nVersionMinor = 0xF2;
772 pCompPrivateStruct->nPortIndex = NBAPP_INPUT_PORT;
773 pCompPrivateStruct->eDir = OMX_DirInput;
774 pCompPrivateStruct->nBufferCountActual = numInputBuffers;
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_enc/tests/
DG722EncTest.c299 OMX_PARAM_PORTDEFINITIONTYPE* pCompPrivateStruct = NULL; local
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;
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/tests/
DG726EncTest.c455 OMX_PARAM_PORTDEFINITIONTYPE* pCompPrivateStruct = NULL; local
685 OMX_NBAPP_MALLOC_STRUCT(pCompPrivateStruct, OMX_PARAM_PORTDEFINITIONTYPE);
686 OMX_NBAPP_CONF_INIT_STRUCT(pCompPrivateStruct, OMX_PARAM_PORTDEFINITIONTYPE);
692pCompPrivateStruct->nSize = sizeof (OMX_PARAM_PORTDEFINITIONTYPE);
693 pCompPrivateStruct->nVersion.s.nVersionMajor = 0xF1;
694 pCompPrivateStruct->nVersion.s.nVersionMinor = 0xF2;
695 pCompPrivateStruct->nPortIndex = OMX_DirInput;
696 pCompPrivateStruct->eDir = OMX_DirInput;
697 pCompPrivateStruct->nBufferCountActual = numInputBuffers;
698 pCompPrivateStruct->nBufferCountMin = numInputBuffers;
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/tests/
DG726DecTest.c355 OMX_PARAM_PORTDEFINITIONTYPE* pCompPrivateStruct = NULL; in main() local
604 pCompPrivateStruct = malloc (sizeof (OMX_PARAM_PORTDEFINITIONTYPE)); in main()
605 if(NULL == pCompPrivateStruct) { in main()
621 pCompPrivateStruct->nSize = sizeof (OMX_PARAM_PORTDEFINITIONTYPE); in main()
630 pCompPrivateStruct->eDir = OMX_DirInput; in main()
631 pCompPrivateStruct->nBufferCountActual = nIpBuffs; in main()
632 pCompPrivateStruct->nBufferSize = nIpBufSize; in main()
633 pCompPrivateStruct->format.audio.eEncoding = OMX_AUDIO_CodingG726; in main()
634 pCompPrivateStruct->bEnabled = OMX_TRUE; in main()
635 pCompPrivateStruct->bPopulated = OMX_FALSE; in main()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/tests/
DG711DecTest.c451 OMX_PARAM_PORTDEFINITIONTYPE* pCompPrivateStruct = NULL; in main() local
753 pCompPrivateStruct = malloc (sizeof (OMX_PARAM_PORTDEFINITIONTYPE)); in main()
754 if (pCompPrivateStruct == 0) { in main()
782 APP_MEMPRINT("%d:::[TESTAPPALLOC] %p\n",__LINE__,pCompPrivateStruct); in main()
784 pCompPrivateStruct->nSize = sizeof (OMX_PARAM_PORTDEFINITIONTYPE); in main()
785 pCompPrivateStruct->nVersion.s.nVersionMajor = 0xF1; in main()
786 pCompPrivateStruct->nVersion.s.nVersionMinor = 0xF2; in main()
789 pCompPrivateStruct->nPortIndex = OMX_DirInput; in main()
790 pCompPrivateStruct->format.audio.cMIMEType = malloc(20); in main()
791 strcpy(pCompPrivateStruct->format.audio.cMIMEType,"NONMIME"); in main()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_dec/tests/
DG729DecTest.c187 OMX_PARAM_PORTDEFINITIONTYPE* pCompPrivateStruct,
198 OMX_PARAM_PORTDEFINITIONTYPE* pCompPrivateStruct,
384 OMX_PARAM_PORTDEFINITIONTYPE* pCompPrivateStruct = NULL; in main() local
691 OMX_G729APP_MALLOC_STRUCT(pCompPrivateStruct, OMX_PARAM_PORTDEFINITIONTYPE); in main()
692 OMX_G729APP_INIT_STRUCT(pCompPrivateStruct, OMX_PARAM_PORTDEFINITIONTYPE); in main()
701 pCompPrivateStruct->nSize = sizeof (OMX_PARAM_PORTDEFINITIONTYPE); in main()
702 pCompPrivateStruct->nVersion.s.nVersionMajor = 0x1; in main()
703 pCompPrivateStruct->nVersion.s.nVersionMinor = 0x2; in main()
707 pCompPrivateStruct->eDir = OMX_DirInput; in main()
708 pCompPrivateStruct->nPortIndex = OMX_DirInput; in main()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_dec/tests/
DWBAmrDecTest.c489 OMX_PARAM_PORTDEFINITIONTYPE* pCompPrivateStruct; local
817 pCompPrivateStruct = newmalloc (sizeof (OMX_PARAM_PORTDEFINITIONTYPE));
818 if (pCompPrivateStruct == 0) {
823 ArrayOfPointers[2]=(OMX_PARAM_PORTDEFINITIONTYPE*)pCompPrivateStruct;
839 APP_MEMPRINT("%d:::[TESTAPPALLOC] %p\n",__LINE__,pCompPrivateStruct);
842 pCompPrivateStruct->nSize = sizeof (OMX_PARAM_PORTDEFINITIONTYPE);
843 pCompPrivateStruct->nVersion.s.nVersionMajor = 0xF1;
844 pCompPrivateStruct->nVersion.s.nVersionMinor = 0xF2;
845 pCompPrivateStruct->nPortIndex = OMX_DirInput;
846 error = OMX_GetParameter (pHandle,OMX_IndexParamPortDefinition,pCompPrivateStruct);
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/tests/
DG711EncTest.c406 OMX_PARAM_PORTDEFINITIONTYPE* pCompPrivateStruct = NULL; in main() local
584 OMX_G711ENC_MALLOC_STRUCT(pCompPrivateStruct, OMX_PARAM_PORTDEFINITIONTYPE); in main()
585 OMX_G711ENC_CONF_INIT_STRUCT(pCompPrivateStruct, OMX_PARAM_PORTDEFINITIONTYPE); in main()
587 pCompPrivateStruct->nPortIndex = OMX_DirInput; in main()
590 pCompPrivateStruct); in main()
597 pCompPrivateStruct->nBufferCountActual = audioinfo->nIpBufs; in main()
598 pCompPrivateStruct->nBufferCountMin = audioinfo->nIpBufs; in main()
599 pCompPrivateStruct->nBufferSize = audioinfo->nIpBufSize; in main()
604 eError = OMX_SetParameter (pHandle, OMX_IndexParamPortDefinition, pCompPrivateStruct); in main()
607 eError = OMX_SetParameter (pHandle, OMX_IndexParamPortDefinition, pCompPrivateStruct); in main()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/tests/
DWmaDecTest.c468 OMX_PARAM_PORTDEFINITIONTYPE* pCompPrivateStruct; in main() local
787 pCompPrivateStruct = newmalloc (sizeof (OMX_PARAM_PORTDEFINITIONTYPE)); in main()
788 ArrayOfPointers[0]=(OMX_PARAM_PORTDEFINITIONTYPE*)pCompPrivateStruct; in main()
789 APP_MEMPRINT("%d:::[TESTAPPALLOC] %p\n",__LINE__,pCompPrivateStruct); in main()
792 pCompPrivateStruct->nSize = sizeof (OMX_PARAM_PORTDEFINITIONTYPE); in main()
793 pCompPrivateStruct->nVersion.s.nVersionMajor = 0xF1; in main()
794 pCompPrivateStruct->nVersion.s.nVersionMinor = 0xF2; in main()
798 pCompPrivateStruct->nPortIndex = OMX_DirInput; in main()
799 pCompPrivateStruct->format.audio.cMIMEType = newmalloc(20); in main()
800 ArrayOfPointers[1]=pCompPrivateStruct->format.audio.cMIMEType; in main()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_enc/tests/
DAacEncTest.c542 OMX_PARAM_PORTDEFINITIONTYPE* pCompPrivateStruct =NULL; local
902 pCompPrivateStruct = newmalloc (sizeof (OMX_PARAM_PORTDEFINITIONTYPE));
903 if(NULL == pCompPrivateStruct)
931 pCompPrivateStruct->nSize = sizeof (OMX_PARAM_PORTDEFINITIONTYPE);
932 pCompPrivateStruct->nVersion.s.nVersionMajor = 0xF1;
933 pCompPrivateStruct->nVersion.s.nVersionMinor = 0xF2;
934 pCompPrivateStruct->nPortIndex = INPUT_PORT;
935 pCompPrivateStruct->eDir = OMX_DirInput;
936 pCompPrivateStruct->nBufferCountActual = numofinbuff;
937 pCompPrivateStruct->nBufferCountMin = numofinbuff;
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_dec/tests/
DG722DecTest.c1060 OMX_PARAM_PORTDEFINITIONTYPE pCompPrivateStruct; in omxSetInputPortParameter() local
1063 pCompPrivateStruct.nSize = sizeof (OMX_PARAM_PORTDEFINITIONTYPE); in omxSetInputPortParameter()
1064 pCompPrivateStruct.eDir = OMX_DirInput; in omxSetInputPortParameter()
1065 pCompPrivateStruct.nBufferCountActual = nIpBuffs; in omxSetInputPortParameter()
1066 pCompPrivateStruct.nBufferSize = nIpBufSize; in omxSetInputPortParameter()
1067 pCompPrivateStruct.format.audio.eEncoding = OMX_AUDIO_CodingPCM; in omxSetInputPortParameter()
1068 pCompPrivateStruct.bEnabled = OMX_TRUE; in omxSetInputPortParameter()
1069 pCompPrivateStruct.bPopulated = OMX_FALSE; in omxSetInputPortParameter()
1070 pCompPrivateStruct.nPortIndex = OMX_DirInput; in omxSetInputPortParameter()
1073 error = OMX_SetParameter(*pHandle,OMX_IndexParamPortDefinition, &pCompPrivateStruct); in omxSetInputPortParameter()
[all …]