/hardware/ti/omap3/omx/audio/src/openmax_il/g729_enc/tests/ |
D | G729EncTest.c | 229 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() 595 …pCompPrivateStruct->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/ |
D | WbAmrEncTest.c | 500 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; 753 … pCompPrivateStruct->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/ |
D | VPPTest.c | 449 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/ |
D | AmrEncTest.c | 521 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/ |
D | G722EncTest.c | 299 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/ |
D | G726EncTest.c | 455 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); 692 … pCompPrivateStruct->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/ |
D | G726DecTest.c | 355 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/ |
D | G711DecTest.c | 451 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/ |
D | G729DecTest.c | 187 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/ |
D | WBAmrDecTest.c | 489 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/ |
D | G711EncTest.c | 406 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/ |
D | WmaDecTest.c | 468 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/ |
D | AacEncTest.c | 542 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/ |
D | G722DecTest.c | 1060 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 …]
|