/hardware/ti/omap3/omx/audio/src/openmax_il/g722_enc/tests/ |
D | G722EncTest.c | 310 OMX_U8* pOutputBuffer = NULL; local 639 pOutputBuffer= (OMX_U8*)malloc (outBufSize+G722ENC_CACHE_ALIGN_MALLOC); 640 pOutputBuffer = pOutputBuffer+G722ENC_CACHE_ALIGN_OFFSET; 641 APP_MEMPRINT("%d:::[TESTAPPALLOC] %p\n",__LINE__,pOutputBuffer); 643 error = OMX_UseBuffer(pHandle,&pOutputBufferHeader,1,NULL,outBufSize,pOutputBuffer); 1126 pOutputBuffer = pOutputBuffer-G722ENC_CACHE_ALIGN_OFFSET; 1127 free(pOutputBuffer); 1129 pOutputBuffer = NULL; 1175 pOutputBuffer = pOutputBuffer-G722ENC_CACHE_ALIGN_OFFSET; 1176 free(pOutputBuffer); [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_enc/tests/ |
D | G729EncTest.c | 232 OMX_U8* pOutputBuffer[G729APP_MAX_NUM_OF_BUFS]); 377 OMX_U8* pOutputBuffer[G729APP_MAX_NUM_OF_BUFS] = {NULL}; in main() local 790 pOutputBuffer[i] = malloc (pCompPrivateStruct->nBufferSize + 256); in main() 791 … APP_MEMPRINT("%d :: [TESTAPP ALLOC] pOutputBuffer[%d] = %p\n",__LINE__,i,pOutputBuffer[i]); in main() 792 if(NULL == pOutputBuffer[i]) { in main() 798 pOutputBuffer[i] = pOutputBuffer[i] + 128; in main() 802 …ffer(pHandle, &pOutputBufferHeader[i], 1, NULL, pCompPrivateStruct->nBufferSize, pOutputBuffer[i]); in main() 1416 pOutputBuffer[i] = pOutputBuffer[i] - 128; in main() 1417 … APP_MEMPRINT("%d :: App: [TESTAPPFREE] pOutputBuffer[%d] = %p\n",__LINE__,i, pOutputBuffer[i]); in main() 1418 if(pOutputBuffer[i] != NULL){ in main() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/tests/ |
D | G726EncTest.c | 464 OMX_U8* pOutputBuffer[NBAPP_MAX_NUM_OF_BUFS] = {NULL}; local 986 pOutputBuffer[i] = SafeMalloc(G726ENC_OUTPUT_BUFFER_SIZE + 256); 987 … APP_MEMPRINT("%d :: [TESTAPP ALLOC] pOutputBuffer[%d] = %p\n",__LINE__,i,pOutputBuffer[i]); 988 if(NULL == pOutputBuffer[i]) { 993 pOutputBuffer[i] = pOutputBuffer[i] + 128; 997 …UseBuffer(pHandle, &pOutputBufferHeader[i], 1, NULL, G726ENC_OUTPUT_BUFFER_SIZE, pOutputBuffer[i]); 1308 … APP_MEMPRINT("%d::: [TESTAPPFREE] pOutputBuffer[%d] = %p\n",__LINE__,i, pOutputBuffer[i]); 1309 if(pOutputBuffer[i] != NULL){ 1310 pOutputBuffer[i] = pOutputBuffer[i] - 128; 1311 newfree(pOutputBuffer[i]); [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/tests/ |
D | G711EncTest.c | 215 OMX_U8* pOutputBuffer[10] = {NULL}; variable 415 OMX_U8* pOutputBuffer[G711ENC_MAX_NUM_OF_BUFS] = {NULL}; in main() local 874 pOutputBuffer[i] = malloc (pCompPrivateStruct->nBufferSize + 256); in main() 875 APP_MEMPRINT("%d [TESTAPP ALLOC] pOutputBuffer[%d] = %p\n",__LINE__,i,pOutputBuffer[i]); in main() 876 if(NULL == pOutputBuffer[i]) { in main() 881 pOutputBuffer[i] = pOutputBuffer[i] + 128; in main() 885 …ffer(pHandle, &pOutputBufferHeader[i], 1, NULL, pCompPrivateStruct->nBufferSize, pOutputBuffer[i]); in main() 1331 pOutputBuffer[i] = pOutputBuffer[i] - 128; in main() 1332 … APP_MEMPRINT("%d [TEST APP] [TESTAPPFREE] pOutputBuffer[%d] = %p\n",__LINE__,i, pOutputBuffer[i]); in main() 1333 if(pOutputBuffer[i] != NULL){ in main() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_dec/tests/ |
D | WBAmrDecTest.c | 506 OMX_U8* pOutputBuffer[10]; local 981 pOutputBuffer[i]= newmalloc (OUTPUT_WBAMRDEC_BUFFER_SIZE*1 + 256); 982 APP_MEMPRINT("%d:::[TESTAPPALLOC] %p\n",__LINE__,pOutputBuffer[i]); 983 pOutputBuffer[i] = pOutputBuffer[i] + 128; 984 …X_UseBuffer(pHandle,&pOutputBufferHeader[i],1,NULL,OUTPUT_WBAMRDEC_BUFFER_SIZE*1,pOutputBuffer[i]); 992 pOutputBuffer[i]= newmalloc (OUTPUT_WBAMRDEC_BUFFER_SIZE*2 + 256); 993 APP_MEMPRINT("%d:::[TESTAPPALLOC] %p\n",__LINE__,pOutputBuffer[i]); 994 pOutputBuffer[i] = pOutputBuffer[i] + 128; 995 …X_UseBuffer(pHandle,&pOutputBufferHeader[i],1,NULL,OUTPUT_WBAMRDEC_BUFFER_SIZE*2,pOutputBuffer[i]); 1647 if(pOutputBuffer[i] != NULL){ [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_dec/tests/ |
D | G729DecTest.c | 192 OMX_U8* pOutputBuffer[10], 396 OMX_U8* pOutputBuffer[10]= {NULL}; in main() local 828 …pOutputBuffer[i] = (OMX_U8*)malloc(((OUTPUT_G729DEC_BUFFER_SIZE)*packetsPerBuffer)+EXTRA_BUFFBYTES… in main() 829 … memset(pOutputBuffer[i] , 0x0, (OUTPUT_G729DEC_BUFFER_SIZE*packetsPerBuffer) + EXTRA_BUFFBYTES); in main() 830 APP_MEMPRINT("%d:::[TESTAPPALLOC] %p\n",__LINE__,pOutputBuffer); in main() 831 pOutputBuffer[i] = pOutputBuffer[i] + CACHE_ALIGNMENT; in main() 834 …dle,&pOutputBufferHeader[i],1,NULL,(OUTPUT_G729DEC_BUFFER_SIZE)*packetsPerBuffer,pOutputBuffer[i]); in main() 1255 pOutputBuffer[i] = pOutputBuffer[i] - 128; in main() 1256 … APP_MEMPRINT("%d :: App: [TESTAPPFREE] pOutputBuffer[%d] = %p\n",__LINE__,i, pOutputBuffer[i]); in main() 1257 if(pOutputBuffer[i] != NULL){ in main() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_enc/tests/ |
D | AacEncTest.c | 584 OMX_U8* pOutputBuffer[5]; local 1267 pOutputBuffer[i] = (OMX_U8*) newmalloc (OutputBufferSize + 256); 1268 APP_DPRINT("%d :: APP: pOutputBuffer[%d] = %p\n",__LINE__,i,pOutputBuffer[i]); 1269 if(NULL == pOutputBuffer[i]) 1275 pOutputBuffer[i] = pOutputBuffer[i] + 128; 1280 …or = OMX_UseBuffer(*pHandle, &pOutputBufferHeader[i], 1, NULL, OutputBufferSize, pOutputBuffer[i]); 2052 if (pOutputBuffer[i] != NULL) 2054 pOutputBuffer[i] = pOutputBuffer[i] - 128; 2055 APP_DPRINT("%d :: [TESTAPPFREE] pOutputBuffer[%d] = %p\n",__LINE__,i, pOutputBuffer[i]); 2056 if(pOutputBuffer[i] != NULL) [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/tests/ |
D | G711DecTest.c | 242 OMX_U8* pOutputBuffer[10] = {NULL}; variable 897 pOutputBuffer[i] = (OMX_U8*)malloc (outputBufferSize + EXTRA_BUFFBYTES); in main() 898 APP_MEMPRINT("%d:::[TESTAPPALLOC] %p\n",__LINE__,pOutputBuffer); in main() 899 pOutputBuffer[i] = pOutputBuffer[i] + CACHE_ALIGNMENT; in main() 903 … error = OMX_UseBuffer(pHandle,&pOutputBufferHeader[i],1,NULL,outputBufferSize,pOutputBuffer[i]); in main() 1499 pOutputBuffer[i] = pOutputBuffer[i] - 128; in main() 1500 … APP_MEMPRINT("%d :: App: [TESTAPPFREE] pOutputBuffer[%d] = %p\n",__LINE__,i, pOutputBuffer[i]); in main() 1501 if(pOutputBuffer[i] != NULL){ in main() 1502 free(pOutputBuffer[i]); in main() 1503 pOutputBuffer[i] = NULL; in main()
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_dec/tests/ |
D | G722DecTest.c | 1284 OMX_U8* pOutputBuffer [MAX_NUM_OF_BUFS] = {NULL}; in omxUseBuffers() local 1301 if (pOutputBuffer[i] == NULL) { in omxUseBuffers() 1302 pOutputBuffer[i] = malloc (nOpBufSize + 256); in omxUseBuffers() 1303 pOutputBuffer[i] = pOutputBuffer[i] + 128; in omxUseBuffers() 1307 … error = OMX_UseBuffer(*pHandle,&pOutputBufferHeader[i],1,NULL,nOpBufSize,pOutputBuffer[i]); in omxUseBuffers() 1557 … APP_MEMPRINT("%d::: [TESTAPPFREE] pOutputBuffer[%d] = %p\n",__LINE__,i, pOutputBuffer[i]); in testCases() 1558 if(pOutputBuffer[i] != NULL){ in testCases() 1559 pOutputBuffer[i] = pOutputBuffer[i] - 128; in testCases() 1560 newfree(pOutputBuffer[i]); in testCases() 1561 pOutputBuffer[i] = NULL; in testCases()
|
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_enc/tests/ |
D | AmrEncTest.c | 530 OMX_U8* pOutputBuffer[NBAPP_MAX_NUM_OF_BUFS]; local 1067 pOutputBuffer[i] = newmalloc (NBAPP_OUTPUT_BUFFER_SIZE*3 + 256); 1068 APP_MEMPRINT("%d :: [TESTAPP ALLOC] pOutputBuffer[%d] = %p\n",__LINE__,i,pOutputBuffer[i]); 1069 if(NULL == pOutputBuffer[i]) { 1074 pOutputBuffer[i] = pOutputBuffer[i] + 128; 1078 …seBuffer(pHandle, &pOutputBufferHeader[i], 1, NULL, NBAPP_OUTPUT_BUFFER_SIZE*13, pOutputBuffer[i]); 1606 if(pOutputBuffer[i] != NULL){ 1607 … APP_MEMPRINT("%d :: App: [TESTAPPFREE] pOutputBuffer[%d] = %p\n",__LINE__,i, pOutputBuffer[i]); 1608 pOutputBuffer[i] = pOutputBuffer[i] - 128; 1609 newfree(pOutputBuffer[i]); [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/tests/ |
D | WbAmrEncTest.c | 509 OMX_U8* pOutputBuffer[WBAPP_MAX_NUM_OF_BUFS]; local 1162 pOutputBuffer[i] = newmalloc (pCompPrivateStruct->nBufferSize * 2 + 256); 1163 … APP_MEMPRINT("%d :: [TESTAPP ALLOC] pOutputBuffer[%d] = %p\n", __LINE__, i, pOutputBuffer[i]); 1165 if (NULL == pOutputBuffer[i]) { 1171 pOutputBuffer[i] = pOutputBuffer[i] + 128; 1175 …(pHandle, &pOutputBufferHeader[i], 1, NULL, pCompPrivateStruct->nBufferSize * 2, pOutputBuffer[i]); 1656 if (pOutputBuffer[i] != NULL) { 1657 … APP_MEMPRINT("%d :: App: [TESTAPPFREE] pOutputBuffer[%d] = %p\n", __LINE__, i, pOutputBuffer[i]); 1658 pOutputBuffer[i] = pOutputBuffer[i] - 128; 1659 newfree(pOutputBuffer[i]); [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/tests/ |
D | WmaDecTest.c | 182 OMX_U8* pOutputBuffer[10]; variable 848 OMX_U8* pOutputBuffer; in main() local 854 pOutputBuffer= newmalloc (OUTPUT_WMADEC_BUFFER_SIZE + 256); in main() 855 APP_MEMPRINT("%d:::[TESTAPPALLOC] %p\n",__LINE__,pOutputBuffer); in main() 856 pOutputBuffer = pOutputBuffer + 128; in main() 887 error = OMX_UseBuffer(pHandle,&pOutputBufferHeader,1,NULL,outBuffSize,pOutputBuffer); in main() 1479 pOutputBuffer -= 128; in main() 1480 APP_MEMPRINT("%d:::[TESTAPPFREE] %p\n",__LINE__,pOutputBuffer); in main() 1481 newfree(pOutputBuffer); in main() 1539 pOutputBuffer, in main()
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/tests/ |
D | G726DecTest.c | 746 OMX_U8* pOutputBuffer[MAX_NUM_OF_BUFS] = {NULL}; in main() local 760 pOutputBuffer[i] = malloc (nOpBufSize + 256); in main() 761 pOutputBuffer[i] = pOutputBuffer[i] + 128; in main() 764 … error = OMX_UseBuffer(*pHandle,&pOutputBufferHeader[i],1,NULL,nOpBufSize,pOutputBuffer[i]); in main()
|