/hardware/ti/omap3/omx/audio/src/openmax_il/g722_enc/src/ |
D | OMX_G722Encoder.c | 380 OMX_G722MALLOC_STRUCT (pComponentPrivate->pOutputBufferList, G722ENC_BUFFERLIST); in OMX_ComponentInit() 382 if (pComponentPrivate->pOutputBufferList == NULL) { in OMX_ComponentInit() 410 pComponentPrivate->pOutputBufferList->numBuffers = 0; /* initialize number of buffers */ in OMX_ComponentInit() 412 pComponentPrivate->pOutputBufferList->pBufHdr[i] = NULL; in OMX_ComponentInit() 498 if (pComponentPrivate->pOutputBufferList) { in OMX_ComponentInit() 499 G722ENC_MEMPRINT("%d:::[FREE] %p\n",__LINE__,pComponentPrivate->pOutputBufferList); in OMX_ComponentInit() 500 free(pComponentPrivate->pOutputBufferList); in OMX_ComponentInit() 501 pComponentPrivate->pOutputBufferList = NULL; in OMX_ComponentInit() 532 if (pComponentPrivate->pOutputBufferList) { in OMX_ComponentInit() 533 G722ENC_MEMPRINT("%d:::[FREE] %p\n",__LINE__,pComponentPrivate->pOutputBufferList); in OMX_ComponentInit() [all …]
|
D | OMX_G722Enc_Utils.c | 261 …ntPrivate->pOutputBufferList->numBuffers = %d\n",pComponentPrivate->pOutputBufferList->numBuffers); in G722ENC_Fill_LCMLInitParams() 262 nOpBuf = pComponentPrivate->pOutputBufferList->numBuffers; in G722ENC_Fill_LCMLInitParams() 359 …arr[6] = (OMX_U16)pComponentPrivate->pOutputBufferList->numBuffers; /*Number of buffers on output… in G722ENC_Fill_LCMLInitParams() 376 if (pComponentPrivate->pOutputBufferList->numBuffers) { in G722ENC_Fill_LCMLInitParams() 377 …arr[6] = (OMX_U16)pComponentPrivate->pOutputBufferList->numBuffers; /*Number of buffers on output… in G722ENC_Fill_LCMLInitParams() 493 pTemp = pComponentPrivate->pOutputBufferList->pBufHdr[i]; in G722ENC_Fill_LCMLInitParams() 719 if (pComponentPrivate->pOutputBufferList) { in G722Enc_FreeCompResources() 720 G722ENC_MEMPRINT("%d:::[FREE] %p\n",__LINE__,pComponentPrivate->pOutputBufferList); in G722Enc_FreeCompResources() 721 free (pComponentPrivate->pOutputBufferList); in G722Enc_FreeCompResources() 722 pComponentPrivate->pOutputBufferList = NULL; in G722Enc_FreeCompResources() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/src/ |
D | OMX_G726Decoder.c | 249 pComponentPrivate->pOutputBufferList = pTemp; in OMX_ComponentInit() 252 pComponentPrivate->pOutputBufferList->numBuffers = 0; in OMX_ComponentInit() 256 pComponentPrivate->pOutputBufferList->pBufHdr[i] = NULL; in OMX_ComponentInit() 1715 G726DEC_DPRINT(":: Op Num = %ld\n",pComponentPrivate->pOutputBufferList->numBuffers); in AllocateBuffer() 1744 …pComponentPrivate->pOutputBufferList->pBufHdr[pComponentPrivate->pOutputBufferList->numBuffers] = … in AllocateBuffer() 1745 …pComponentPrivate->pOutputBufferList->bBufferPending[pComponentPrivate->pOutputBufferList->numBuff… in AllocateBuffer() 1748 pComponentPrivate->pOutputBufferList->numBuffers, in AllocateBuffer() 1749 … pComponentPrivate->pOutputBufferList->pBufHdr[pComponentPrivate->pOutputBufferList->numBuffers]); in AllocateBuffer() 1751 …pComponentPrivate->pOutputBufferList->bufferOwner[pComponentPrivate->pOutputBufferList->numBuffers… in AllocateBuffer() 1754 pComponentPrivate->pOutputBufferList->numBuffers); in AllocateBuffer() [all …]
|
D | OMX_G726Dec_Utils.c | 142 nOpBuf = pComponentPrivate->pOutputBufferList->numBuffers; in G726DEC_Fill_LCMLInitParams() 235 if(pComponentPrivate->pOutputBufferList->numBuffers == 0) { in G726DEC_Fill_LCMLInitParams() 319 pTemp = pComponentPrivate->pOutputBufferList->pBufHdr[i]; in G726DEC_Fill_LCMLInitParams() 461 nOpBuf = pComponentPrivate->pOutputBufferList->numBuffers; in G726DEC_FreeCompResources() 507 G726D_OMX_FREE(pComponentPrivate->pOutputBufferList); in G726DEC_FreeCompResources() 968 pComponentPrivate->pOutputBufferList->numBuffers); in G726DEC_HandleCommand() 972 pComponentPrivate->pOutputBufferList->numBuffers); in G726DEC_HandleCommand() 974 pComponentPrivate->pOutputBufferList->numBuffers) { in G726DEC_HandleCommand() 1409 pComponentPrivate->pOutputBufferList->pBufHdr[0]->pMarkData = pBufHeader->pMarkData; in G726DEC_HandleDataBuf_FromApp() 1410 …pComponentPrivate->pOutputBufferList->pBufHdr[0]->hMarkTargetComponent = pBufHeader->hMarkTargetCo… in G726DEC_HandleDataBuf_FromApp() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_dec/src/ |
D | OMX_G722Decoder.c | 246 pComponentPrivate->pOutputBufferList = pTemp; in OMX_ComponentInit() 249 pComponentPrivate->pOutputBufferList->numBuffers = 0; in OMX_ComponentInit() 253 pComponentPrivate->pOutputBufferList->pBufHdr[i] = NULL; in OMX_ComponentInit() 1674 G722DEC_DPRINT(":: Op Num = %ld\n",pComponentPrivate->pOutputBufferList->numBuffers); in AllocateBuffer() 1703 …pComponentPrivate->pOutputBufferList->pBufHdr[pComponentPrivate->pOutputBufferList->numBuffers] = … in AllocateBuffer() 1704 …pComponentPrivate->pOutputBufferList->bBufferPending[pComponentPrivate->pOutputBufferList->numBuff… in AllocateBuffer() 1707 pComponentPrivate->pOutputBufferList->numBuffers, in AllocateBuffer() 1708 … pComponentPrivate->pOutputBufferList->pBufHdr[pComponentPrivate->pOutputBufferList->numBuffers]); in AllocateBuffer() 1710 …pComponentPrivate->pOutputBufferList->bufferOwner[pComponentPrivate->pOutputBufferList->numBuffers… in AllocateBuffer() 1713 pComponentPrivate->pOutputBufferList->numBuffers); in AllocateBuffer() [all …]
|
D | OMX_G722Dec_Utils.c | 249 nOpBuf = pComponentPrivate->pOutputBufferList->numBuffers; in G722DEC_Fill_LCMLInitParams() 339 if(pComponentPrivate->pOutputBufferList->numBuffers == 0) { in G722DEC_Fill_LCMLInitParams() 421 pTemp = pComponentPrivate->pOutputBufferList->pBufHdr[i]; in G722DEC_Fill_LCMLInitParams() 580 nOpBuf = pComponentPrivate->pOutputBufferList->numBuffers; in G722DEC_FreeCompResources() 636 G722D_OMX_FREE(pComponentPrivate->pOutputBufferList); in G722DEC_FreeCompResources() 1005 … if (pComponentPrivate->nNumOutputBufPending < pComponentPrivate->pOutputBufferList->numBuffers) { in G722DEC_HandleCommand() 1006 … pComponentPrivate->nNumOutputBufPending = pComponentPrivate->pOutputBufferList->numBuffers; in G722DEC_HandleCommand() 1072 pComponentPrivate->pOutputBufferList->numBuffers); in G722DEC_HandleCommand() 1076 pComponentPrivate->pOutputBufferList->numBuffers); in G722DEC_HandleCommand() 1078 pComponentPrivate->pOutputBufferList->numBuffers) { in G722DEC_HandleCommand() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/src/ |
D | OMX_WmaDecoder.c | 262 OMX_MALLOC_GENERIC(pComponentPrivate->pOutputBufferList, BUFFERLIST); in OMX_ComponentInit() 264 pComponentPrivate->pOutputBufferList->numBuffers = 0; /* initialize number of buffers */ in OMX_ComponentInit() 304 pComponentPrivate->pOutputBufferList->pBufHdr[i] = NULL; in OMX_ComponentInit() 505 OMX_MEMFREE_STRUCT(pComponentPrivate->pOutputBufferList); in OMX_ComponentInit() 1591 OMX_MEMFREE_STRUCT(pComponentPrivate->pOutputBufferList); in ComponentDeInit() 1720 …pComponentPrivate->pOutputBufferList->pBufHdr[pComponentPrivate->pOutputBufferList->numBuffers] = … in AllocateBuffer() 1721 …pComponentPrivate->pOutputBufferList->bBufferPending[pComponentPrivate->pOutputBufferList->numBuff… in AllocateBuffer() 1722 …,pComponentPrivate->pOutputBufferList->numBuffers,pComponentPrivate->pOutputBufferList->pBufHdr[pC… in AllocateBuffer() 1723 …pComponentPrivate->pOutputBufferList->bufferOwner[pComponentPrivate->pOutputBufferList->numBuffers… in AllocateBuffer() 1724 if (pComponentPrivate->pOutputBufferList->numBuffers == pPortDef->nBufferCountActual) { in AllocateBuffer() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_enc/src/ |
D | OMX_G729Enc_Utils.c | 135 nOpBuf = pComponentPrivate->pOutputBufferList->numBuffers; in G729ENC_FillLCMLInitParams() 228 if (pComponentPrivate->pOutputBufferList->numBuffers) in G729ENC_FillLCMLInitParams() 230 arr[6] = (OMX_U16) pComponentPrivate->pOutputBufferList->numBuffers; in G729ENC_FillLCMLInitParams() 291 pTemp = pComponentPrivate->pOutputBufferList->pBufHdr[i]; in G729ENC_FillLCMLInitParams() 479 OMX_G729MEMFREE_STRUCT(pComponentPrivate->pOutputBufferList); in G729ENC_FreeCompResources() 990 … if (pComponentPrivate->nNumOutputBufPending < pComponentPrivate->pOutputBufferList->numBuffers) in G729ENC_HandleCommand() 992 … pComponentPrivate->nNumOutputBufPending = pComponentPrivate->pOutputBufferList->numBuffers; in G729ENC_HandleCommand() 1084 pComponentPrivate->pOutputBufferList->numBuffers) in G729ENC_HandleCommand() 1521 pComponentPrivate->pOutputBufferList->pBufHdr[0]->nFlags |= OMX_BUFFERFLAG_EOS; in G729ENC_HandleDataBufFromApp() 1525 … pComponentPrivate->pOutputBufferList->pBufHdr[0]->nOutputPortIndex, in G729ENC_HandleDataBufFromApp() [all …]
|
D | OMX_G729Encoder.c | 278 OMX_G729MALLOC_STRUCT(pComponentPrivate->pOutputBufferList, G729ENC_BUFFERLIST); in OMX_ComponentInit() 279 pComponentPrivate->pOutputBufferList->numBuffers = 0; in OMX_ComponentInit() 283 pComponentPrivate->pOutputBufferList->pBufHdr[i] = NULL; in OMX_ComponentInit() 1676 …pComponentPrivate->pOutputBufferList->pBufHdr[pComponentPrivate->pOutputBufferList->numBuffers] = … in AllocateBuffer() 1677 …pComponentPrivate->pOutputBufferList->bBufferPending[pComponentPrivate->pOutputBufferList->numBuff… in AllocateBuffer() 1678 …pComponentPrivate->pOutputBufferList->bufferOwner[pComponentPrivate->pOutputBufferList->numBuffers… in AllocateBuffer() 1679 if (pComponentPrivate->pOutputBufferList->numBuffers == pPortDef->nBufferCountActual) in AllocateBuffer() 1787 buff = pComponentPrivate->pOutputBufferList->pBufHdr[i]; in FreeBuffer() 1844 if (pComponentPrivate->pOutputBufferList->bufferOwner[outputIndex] == 1) { in FreeBuffer() 1845 tempBuff = pComponentPrivate->pOutputBufferList->pBufHdr[outputIndex]->pBuffer; in FreeBuffer() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_dec/src/ |
D | OMX_G729Decoder.c | 281 OMX_G729MALLOC_STRUCT(pComponentPrivate->pOutputBufferList, G729DEC_BUFFERLIST); in OMX_ComponentInit() 283 pComponentPrivate->pOutputBufferList->numBuffers = 0; /* initialize number of buffers */ in OMX_ComponentInit() 286 pComponentPrivate->pOutputBufferList->pBufHdr[i] = NULL; in OMX_ComponentInit() 1558 OMX_G729MEMFREE_STRUCT(pComponentPrivate->pOutputBufferList); in ComponentDeInit() 1680 …pComponentPrivate->pOutputBufferList->pBufHdr[pComponentPrivate->pOutputBufferList->numBuffers] = … in AllocateBuffer() 1681 …pComponentPrivate->pOutputBufferList->bBufferPending[pComponentPrivate->pOutputBufferList->numBuff… in AllocateBuffer() 1682 …pComponentPrivate->pOutputBufferList->bufferOwner[pComponentPrivate->pOutputBufferList->numBuffers… in AllocateBuffer() 1683 if (pComponentPrivate->pOutputBufferList->numBuffers == pPortDef->nBufferCountActual) { in AllocateBuffer() 1792 buff = pComponentPrivate->pOutputBufferList->pBufHdr[i]; in FreeBuffer() 1850 if (pComponentPrivate->pOutputBufferList->bufferOwner[outputIndex] == 1) { in FreeBuffer() [all …]
|
D | OMX_G729Dec_Utils.c | 147 nOpBuf = pComponentPrivate->pOutputBufferList->numBuffers; in G729DECFill_LCMLInitParams() 150 nOpBuf = pComponentPrivate->pOutputBufferList->numBuffers; in G729DECFill_LCMLInitParams() 258 if (pComponentPrivate->pOutputBufferList->numBuffers) { in G729DECFill_LCMLInitParams() 259 arr[6] = (OMX_U16)pComponentPrivate->pOutputBufferList->numBuffers; in G729DECFill_LCMLInitParams() 322 pTemp = pComponentPrivate->pOutputBufferList->pBufHdr[i]; in G729DECFill_LCMLInitParams() 1085 …ntPrivate->pOutputBufferList->numBuffers = %d\n",pComponentPrivate->pOutputBufferList->numBuffers); in G729DECHandleCommand() 1086 nOpBuf = pComponentPrivate->pOutputBufferList->numBuffers; in G729DECHandleCommand() 1088 pComponentPrivate->pOutputBufferList->numBuffers) in G729DECHandleCommand() 1537 pComponentPrivate->pOutputBufferList->pBufHdr[0]->pMarkData = pBufHeader->pMarkData; in G729DECHandleDataBuf_FromApp() 1538 …pComponentPrivate->pOutputBufferList->pBufHdr[0]->hMarkTargetComponent = pBufHeader->hMarkTargetCo… in G729DECHandleDataBuf_FromApp() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/src/ |
D | OMX_G711Decoder.c | 269 G711D_OMX_MALLOC(pComponentPrivate->pOutputBufferList, G711DEC_BUFFERLIST); in OMX_ComponentInit() 276 pComponentPrivate->pOutputBufferList->numBuffers = 0; /* initialize number of buffers */ in OMX_ComponentInit() 280 pComponentPrivate->pOutputBufferList->pBufHdr[i] = NULL; in OMX_ComponentInit() 457 OMX_G711DECMEMFREE_STRUCT(pComponentPrivate->pOutputBufferList); in OMX_ComponentInit() 1638 …pComponentPrivate->pOutputBufferList->pBufHdr[pComponentPrivate->pOutputBufferList->numBuffers] = … in AllocateBuffer() 1639 …pComponentPrivate->pOutputBufferList->bBufferPending[pComponentPrivate->pOutputBufferList->numBuff… in AllocateBuffer() 1640 …pBufHdr[%d] = %p \n",(int)pComponentPrivate->pOutputBufferList->pBufHdr[pComponentPrivate->pOutput… in AllocateBuffer() 1641 …pComponentPrivate->pOutputBufferList->bufferOwner[pComponentPrivate->pOutputBufferList->numBuffers… in AllocateBuffer() 1642 if (pComponentPrivate->pOutputBufferList->numBuffers == pPortDef->nBufferCountActual) { in AllocateBuffer() 1738 buff = pComponentPrivate->pOutputBufferList->pBufHdr[i]; in FreeBuffer() [all …]
|
D | OMX_G711Dec_Utils.c | 143 nOpBuf = pComponentPrivate->pOutputBufferList->numBuffers; in G711DECFill_LCMLInitParams() 235 if (pComponentPrivate->pOutputBufferList->numBuffers) { in G711DECFill_LCMLInitParams() 236 arr[6] = (OMX_U16) pComponentPrivate->pOutputBufferList->numBuffers; in G711DECFill_LCMLInitParams() 296 pTemp = pComponentPrivate->pOutputBufferList->pBufHdr[i]; in G711DECFill_LCMLInitParams() 506 OMX_G711DECMEMFREE_STRUCT(pComponentPrivate->pOutputBufferList); in G711DEC_FreeCompResources() 1055 …tputBufferList->numBuffers = %d\n",__LINE__,(int)pComponentPrivate->pOutputBufferList->numBuffers); in G711DECHandleCommand() 1087 (int)pComponentPrivate->pOutputBufferList->numBuffers); in G711DECHandleCommand() 1090 pComponentPrivate->pOutputBufferList->numBuffers) { in G711DECHandleCommand() 1455 for (i=0; i < pComponentPrivate->pOutputBufferList->numBuffers; i++) { in G711DECHandleCommand() 1460 … pComponentPrivate->pOutputBufferList->pBufHdr[i] in G711DECHandleCommand() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/mp3_dec/src/ |
D | OMX_Mp3Decoder.c | 269 pComponentPrivate->pOutputBufferList = pTemp; in OMX_ComponentInit() 272 pComponentPrivate->pOutputBufferList->numBuffers = 0; in OMX_ComponentInit() 276 pComponentPrivate->pOutputBufferList->pBufHdr[i] = NULL; in OMX_ComponentInit() 1911 …R2(pComponentPrivate->dbg, " :: Op Num = %ld\n", pComponentPrivate->pOutputBufferList->numBuffers); in AllocateBuffer() 1945 …pComponentPrivate->pOutputBufferList->pBufHdr[pComponentPrivate->pOutputBufferList->numBuffers] = … in AllocateBuffer() 1947 …pComponentPrivate->pOutputBufferList->bBufferPending[pComponentPrivate->pOutputBufferList->numBuff… in AllocateBuffer() 1950 …,pComponentPrivate->pOutputBufferList->numBuffers,pComponentPrivate->pOutputBufferList->pBufHdr[pC… in AllocateBuffer() 1952 …pComponentPrivate->pOutputBufferList->bufferOwner[pComponentPrivate->pOutputBufferList->numBuffers… in AllocateBuffer() 1954 if (pComponentPrivate->pOutputBufferList->numBuffers == pPortDef->nBufferCountActual) { in AllocateBuffer() 2058 buff = (OMX_U8 *)pComponentPrivate->pOutputBufferList->pBufHdr[i]; in FreeBuffer() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_dec/src/ |
D | OMX_AacDecoder.c | 265 pComponentPrivate->pOutputBufferList = pTemp; in OMX_ComponentInit() 268 pComponentPrivate->pOutputBufferList->numBuffers = 0; in OMX_ComponentInit() 272 pComponentPrivate->pOutputBufferList->pBufHdr[i] = NULL; in OMX_ComponentInit() 1844 …entPrivate->dbg, "%d :: Op Num = %ld\n",__LINE__,pComponentPrivate->pOutputBufferList->numBuffers); in AllocateBuffer() 1868 …pComponentPrivate->pOutputBufferList->pBufHdr[pComponentPrivate->pOutputBufferList->numBuffers] = … in AllocateBuffer() 1869 …pComponentPrivate->pOutputBufferList->bBufferPending[pComponentPrivate->pOutputBufferList->numBuff… in AllocateBuffer() 1870 …,pComponentPrivate->pOutputBufferList->numBuffers,pComponentPrivate->pOutputBufferList->pBufHdr[pC… in AllocateBuffer() 1871 …pComponentPrivate->pOutputBufferList->bufferOwner[pComponentPrivate->pOutputBufferList->numBuffers… in AllocateBuffer() 1872 if (pComponentPrivate->pOutputBufferList->numBuffers == pPortDef->nBufferCountActual) { in AllocateBuffer() 1975 buff = (OMX_U8 *)pComponentPrivate->pOutputBufferList->pBufHdr[i]; in FreeBuffer() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_dec/src/ |
D | OMX_WbAmrDecoder.c | 270 OMX_MALLOC_GENERIC(pComponentPrivate->pOutputBufferList, WBAMR_DEC_BUFFERLIST); in OMX_ComponentInit() 272 pComponentPrivate->pOutputBufferList->numBuffers = 0; /* initialize number of buffers */ in OMX_ComponentInit() 274 pComponentPrivate->pOutputBufferList->pBufHdr[i] = NULL; in OMX_ComponentInit() 1648 OMX_MEMFREE_STRUCT(pComponentPrivate->pOutputBufferList); in ComponentDeInit() 1766 …pComponentPrivate->pOutputBufferList->pBufHdr[pComponentPrivate->pOutputBufferList->numBuffers] = … in AllocateBuffer() 1767 …pComponentPrivate->pOutputBufferList->bBufferPending[pComponentPrivate->pOutputBufferList->numBuff… in AllocateBuffer() 1768 …,pComponentPrivate->pOutputBufferList->numBuffers,pComponentPrivate->pOutputBufferList->pBufHdr[pC… in AllocateBuffer() 1769 …pComponentPrivate->pOutputBufferList->bufferOwner[pComponentPrivate->pOutputBufferList->numBuffers… in AllocateBuffer() 1770 if (pComponentPrivate->pOutputBufferList->numBuffers == pPortDef->nBufferCountActual) { in AllocateBuffer() 1861 buff = pComponentPrivate->pOutputBufferList->pBufHdr[i]; in FreeBuffer() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_dec/src/ |
D | OMX_AmrDecoder.c | 274 OMX_MALLOC_GENERIC(pComponentPrivate->pOutputBufferList, NBAMRDEC_BUFFERLIST); in OMX_ComponentInit() 277 pComponentPrivate->pOutputBufferList->numBuffers = 0; /* initialize number of buffers */ in OMX_ComponentInit() 280 pComponentPrivate->pOutputBufferList->pBufHdr[i] = NULL; in OMX_ComponentInit() 1727 OMX_MEMFREE_STRUCT(pComponentPrivate->pOutputBufferList); in ComponentDeInit() 1853 …pComponentPrivate->pOutputBufferList->pBufHdr[pComponentPrivate->pOutputBufferList->numBuffers] = … in AllocateBuffer() 1854 …pComponentPrivate->pOutputBufferList->bBufferPending[pComponentPrivate->pOutputBufferList->numBuff… in AllocateBuffer() 1855 …,pComponentPrivate->pOutputBufferList->numBuffers,pComponentPrivate->pOutputBufferList->pBufHdr[pC… in AllocateBuffer() 1856 …pComponentPrivate->pOutputBufferList->bufferOwner[pComponentPrivate->pOutputBufferList->numBuffers… in AllocateBuffer() 1857 … if (pComponentPrivate->pOutputBufferList->numBuffers == pPortDef->nBufferCountActual) { in AllocateBuffer() 1955 buff = pComponentPrivate->pOutputBufferList->pBufHdr[i]; in FreeBuffer() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/src/ |
D | OMX_G711Encoder.c | 269 G711ENC_OMX_MALLOC_STRUCT(pComponentPrivate->pOutputBufferList, G711ENC_BUFFERLIST); in OMX_ComponentInit() 270 pComponentPrivate->pOutputBufferList->numBuffers = 0; in OMX_ComponentInit() 273 pComponentPrivate->pOutputBufferList->pBufHdr[i] = NULL; in OMX_ComponentInit() 1471 …pComponentPrivate->pOutputBufferList->pBufHdr[pComponentPrivate->pOutputBufferList->numBuffers] = … in AllocateBuffer() 1472 …pComponentPrivate->pOutputBufferList->bBufferPending[pComponentPrivate->pOutputBufferList->numBuff… in AllocateBuffer() 1473 …pComponentPrivate->pOutputBufferList->bufferOwner[pComponentPrivate->pOutputBufferList->numBuffers… in AllocateBuffer() 1475 … (int)pComponentPrivate->pOutputBufferList->numBuffers,(int)pPortDef->nBufferCountActual); in AllocateBuffer() 1476 if (pComponentPrivate->pOutputBufferList->numBuffers == pPortDef->nBufferCountActual) { in AllocateBuffer() 1576 buff = pComponentPrivate->pOutputBufferList->pBufHdr[i]; in FreeBuffer() 1631 if (pComponentPrivate->pOutputBufferList->bufferOwner[outputIndex] == 1) { in FreeBuffer() [all …]
|
D | OMX_G711Enc_Utils.c | 121 nOpBuf = pComponentPrivate->pOutputBufferList->numBuffers; in G711ENC_FillLCMLInitParams() 209 if (pComponentPrivate->pOutputBufferList->numBuffers) { in G711ENC_FillLCMLInitParams() 210 arr[6] = (OMX_U16) pComponentPrivate->pOutputBufferList->numBuffers; in G711ENC_FillLCMLInitParams() 275 pTemp = pComponentPrivate->pOutputBufferList->pBufHdr[i]; in G711ENC_FillLCMLInitParams() 440 OMX_G711ENC_MEMFREE_STRUCT(pComponentPrivate->pOutputBufferList); in G711ENC_FreeCompResources() 994 pComponentPrivate->pOutputBufferList->numBuffers){ in G711ENC_HandleCommand() 1318 for (i=0; i < pComponentPrivate->pOutputBufferList->numBuffers; i++) { in G711ENC_HandleCommand() 1321 … pComponentPrivate->pOutputBufferList->pBufHdr[i]); in G711ENC_HandleCommand() 1549 pComponentPrivate->pOutputBufferList->pBufHdr[0]->pMarkData = pBufHeader->pMarkData; in G711ENC_HandleDataBufFromApp() 1550 …pComponentPrivate->pOutputBufferList->pBufHdr[0]->hMarkTargetComponent = pBufHeader->hMarkTargetCo… in G711ENC_HandleDataBufFromApp() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/src/ |
D | OMX_G726Encoder.c | 259 OMX_NBMALLOC_STRUCT(pComponentPrivate->pOutputBufferList, G726ENC_BUFFERLIST); in OMX_ComponentInit() 260 pComponentPrivate->pOutputBufferList->numBuffers = 0; in OMX_ComponentInit() 263 pComponentPrivate->pOutputBufferList->pBufHdr[i] = NULL; in OMX_ComponentInit() 1399 …pComponentPrivate->pOutputBufferList->pBufHdr[pComponentPrivate->pOutputBufferList->numBuffers] = … in AllocateBuffer() 1400 …pComponentPrivate->pOutputBufferList->bBufferPending[pComponentPrivate->pOutputBufferList->numBuff… in AllocateBuffer() 1401 …pComponentPrivate->pOutputBufferList->bufferOwner[pComponentPrivate->pOutputBufferList->numBuffers… in AllocateBuffer() 1402 if (pComponentPrivate->pOutputBufferList->numBuffers == pPortDef->nBufferCountActual) { in AllocateBuffer() 1496 buff = pComponentPrivate->pOutputBufferList->pBufHdr[i]; in FreeBuffer() 1540 if (pComponentPrivate->pOutputBufferList->bufferOwner[outputIndex] == 1) { in FreeBuffer() 1541 tempBuff = pComponentPrivate->pOutputBufferList->pBufHdr[outputIndex]->pBuffer; in FreeBuffer() [all …]
|
D | OMX_G726Enc_Utils.c | 179 nOpBuf = pComponentPrivate->pOutputBufferList->numBuffers; in G726ENC_FillLCMLInitParams() 276 if (pComponentPrivate->pOutputBufferList->numBuffers) { in G726ENC_FillLCMLInitParams() 277 …arr[6] = (OMX_U16) pComponentPrivate->pOutputBufferList->numBuffers; /* #Bufs exchanged between … in G726ENC_FillLCMLInitParams() 351 pTemp = pComponentPrivate->pOutputBufferList->pBufHdr[i]; in G726ENC_FillLCMLInitParams() 499 OMX_NBMEMFREE_STRUCT(pComponentPrivate->pOutputBufferList); in G726ENC_FreeCompResources() 1019 pComponentPrivate->pOutputBufferList->numBuffers) { in G726ENC_HandleCommand() 1442 pComponentPrivate->pOutputBufferList->pBufHdr[0]->nFlags |= OMX_BUFFERFLAG_EOS; in G726ENC_HandleDataBufFromApp() 1446 pComponentPrivate->pOutputBufferList->pBufHdr[0]->pMarkData = pBufHeader->pMarkData; in G726ENC_HandleDataBufFromApp() 1447 …pComponentPrivate->pOutputBufferList->pBufHdr[0]->hMarkTargetComponent = pBufHeader->hMarkTargetCo… in G726ENC_HandleDataBufFromApp() 1565 nBuf = pComponentPrivate->pOutputBufferList->numBuffers; in G726ENC_GetBufferDirection() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/src/ |
D | OMX_WbAmrEnc_Utils.c | 123 nOpBuf = pComponentPrivate->pOutputBufferList->numBuffers; in WBAMRENC_FillLCMLInitParams() 219 if (pComponentPrivate->pOutputBufferList->numBuffers) { in WBAMRENC_FillLCMLInitParams() 220 arr[6] = (OMX_U16) pComponentPrivate->pOutputBufferList->numBuffers; in WBAMRENC_FillLCMLInitParams() 293 pTemp = pComponentPrivate->pOutputBufferList->pBufHdr[i]; in WBAMRENC_FillLCMLInitParams() 475 OMX_MEMFREE_STRUCT(pComponentPrivate->pOutputBufferList); in WBAMRENC_FreeCompResources() 1277 pComponentPrivate->pOutputBufferList->numBuffers) { in WBAMRENC_HandleCommand() 1639 pComponentPrivate->pOutputBufferList->pBufHdr[i]->pBuffer, in WBAMRENC_HandleCommand() 1640 pComponentPrivate->pOutputBufferList->pBufHdr[i]->nFilledLen, in WBAMRENC_HandleCommand() 1986 if (pComponentPrivate->pOutputBufferList->pBufHdr[0] != NULL) { in WBAMRENC_HandleDataBufFromApp() 1990 pComponentPrivate->pOutputBufferList->pBufHdr[0]); in WBAMRENC_HandleDataBufFromApp() [all …]
|
D | OMX_WbAmrEncoder.c | 281 OMX_MALLOC_GENERIC(pComponentPrivate->pOutputBufferList, in OMX_ComponentInit() 283 pComponentPrivate->pOutputBufferList->numBuffers = 0; in OMX_ComponentInit() 286 pComponentPrivate->pOutputBufferList->pBufHdr[i] = NULL; in OMX_ComponentInit() 2016 …pComponentPrivate->pOutputBufferList->pBufHdr[pComponentPrivate->pOutputBufferList->numBuffers] = … in AllocateBuffer() 2017 …pComponentPrivate->pOutputBufferList->bBufferPending[pComponentPrivate->pOutputBufferList->numBuff… in AllocateBuffer() 2018 …pComponentPrivate->pOutputBufferList->bufferOwner[pComponentPrivate->pOutputBufferList->numBuffers… in AllocateBuffer() 2020 if (pComponentPrivate->pOutputBufferList->numBuffers == pPortDef->nBufferCountActual) { in AllocateBuffer() 2123 buff = pComponentPrivate->pOutputBufferList->pBufHdr[i]; in FreeBuffer() 2180 if (pComponentPrivate->pOutputBufferList->bufferOwner[outputIndex] == 1) { in FreeBuffer() 2181 tempBuff = pComponentPrivate->pOutputBufferList->pBufHdr[outputIndex]->pBuffer; in FreeBuffer() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_enc/src/ |
D | OMX_AmrEnc_Utils.c | 129 nOpBuf = pComponentPrivate->pOutputBufferList->numBuffers; in NBAMRENC_FillLCMLInitParams() 221 if (pComponentPrivate->pOutputBufferList->numBuffers) { in NBAMRENC_FillLCMLInitParams() 222 arr[6] = (OMX_U16) pComponentPrivate->pOutputBufferList->numBuffers; in NBAMRENC_FillLCMLInitParams() 297 pTemp = pComponentPrivate->pOutputBufferList->pBufHdr[i]; in NBAMRENC_FillLCMLInitParams() 465 OMX_MEMFREE_STRUCT(pComponentPrivate->pOutputBufferList); in NBAMRENC_FreeCompResources() 1161 pComponentPrivate->pOutputBufferList->numBuffers) { in NBAMRENC_HandleCommand() 1518 for (i=0; i < pComponentPrivate->pOutputBufferList->numBuffers; i++) { in NBAMRENC_HandleCommand() 1521 pComponentPrivate->pOutputBufferList->pBufHdr[i]->pBuffer, in NBAMRENC_HandleCommand() 1522 pComponentPrivate->pOutputBufferList->pBufHdr[i]->nFilledLen, in NBAMRENC_HandleCommand() 1528 pComponentPrivate->pOutputBufferList->pBufHdr[i] in NBAMRENC_HandleCommand() [all …]
|
D | OMX_AmrEncoder.c | 297 OMX_MALLOC_GENERIC(pComponentPrivate->pOutputBufferList, NBAMRENC_BUFFERLIST); in OMX_ComponentInit() 298 pComponentPrivate->pOutputBufferList->numBuffers = 0; in OMX_ComponentInit() 301 pComponentPrivate->pOutputBufferList->pBufHdr[i] = NULL; in OMX_ComponentInit() 1914 …pComponentPrivate->pOutputBufferList->pBufHdr[pComponentPrivate->pOutputBufferList->numBuffers] = … in AllocateBuffer() 1915 …pComponentPrivate->pOutputBufferList->bBufferPending[pComponentPrivate->pOutputBufferList->numBuff… in AllocateBuffer() 1916 …pComponentPrivate->pOutputBufferList->bufferOwner[pComponentPrivate->pOutputBufferList->numBuffers… in AllocateBuffer() 1919 if (pComponentPrivate->pOutputBufferList->numBuffers == pPortDef->nBufferCountActual) { in AllocateBuffer() 2026 buff = pComponentPrivate->pOutputBufferList->pBufHdr[i]; in FreeBuffer() 2076 if (pComponentPrivate->pOutputBufferList->bufferOwner[outputIndex] == 1) { in FreeBuffer() 2077 …OMX_MEMFREE_STRUCT_DSPALIGN(pComponentPrivate->pOutputBufferList->pBufHdr[outputIndex]->pBuffer, O… in FreeBuffer() [all …]
|