Home
last modified time | relevance | path

Searched refs:pInputBufferList (Results 1 – 25 of 49) sorted by relevance

12

/hardware/ti/omap3/omx/audio/src/openmax_il/g722_enc/src/
DOMX_G722Encoder.c322 OMX_G722MALLOC_STRUCT (pComponentPrivate->pInputBufferList, G722ENC_BUFFERLIST); in OMX_ComponentInit()
323 if (pComponentPrivate->pInputBufferList == NULL) { in OMX_ComponentInit()
361 if (pComponentPrivate->pInputBufferList) { in OMX_ComponentInit()
362 G722ENC_MEMPRINT("%d:::[FREE] %p\n", __LINE__, pComponentPrivate->pInputBufferList); in OMX_ComponentInit()
363 free(pComponentPrivate->pInputBufferList); in OMX_ComponentInit()
364 pComponentPrivate->pInputBufferList = NULL; in OMX_ComponentInit()
377 pComponentPrivate->pInputBufferList->numBuffers = 0; /* initialize number of buffers */ in OMX_ComponentInit()
402 if (pComponentPrivate->pInputBufferList) { in OMX_ComponentInit()
403 G722ENC_MEMPRINT("%d:::[FREE] %p\n",__LINE__,pComponentPrivate->pInputBufferList); in OMX_ComponentInit()
404 free(pComponentPrivate->pInputBufferList); in OMX_ComponentInit()
[all …]
DOMX_G722Enc_Utils.c258 nIpBuf = pComponentPrivate->pInputBufferList->numBuffers; in G722ENC_Fill_LCMLInitParams()
367 if (pComponentPrivate->pInputBufferList->numBuffers) { in G722ENC_Fill_LCMLInitParams()
368 …arr[3] = (OMX_U16)pComponentPrivate->pInputBufferList->numBuffers; /*Number of buffers on input … in G722ENC_Fill_LCMLInitParams()
414 pTemp = pComponentPrivate->pInputBufferList->pBufHdr[i]; in G722ENC_Fill_LCMLInitParams()
725 if (pComponentPrivate->pInputBufferList) { in G722Enc_FreeCompResources()
726 G722ENC_MEMPRINT("%d:::[FREE] %p\n",__LINE__,pComponentPrivate->pInputBufferList); in G722Enc_FreeCompResources()
727 free (pComponentPrivate->pInputBufferList); in G722Enc_FreeCompResources()
728 pComponentPrivate->pInputBufferList = NULL; in G722Enc_FreeCompResources()
1129 for (i=0; i < pComponentPrivate->pInputBufferList->numBuffers; i++) { in G722ENC_HandleCommand()
1133 … pComponentPrivate->pInputBufferList->pBufHdr[i] in G722ENC_HandleCommand()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_dec/src/
DOMX_G729Decoder.c278 OMX_G729MALLOC_STRUCT(pComponentPrivate->pInputBufferList, G729DEC_BUFFERLIST); in OMX_ComponentInit()
280 pComponentPrivate->pInputBufferList->numBuffers = 0; /* initialize number of buffers */ in OMX_ComponentInit()
287 pComponentPrivate->pInputBufferList->pBufHdr[i] = NULL; in OMX_ComponentInit()
1557 OMX_G729MEMFREE_STRUCT(pComponentPrivate->pInputBufferList); in ComponentDeInit()
1668 …pComponentPrivate->pInputBufferList->pBufHdr[pComponentPrivate->pInputBufferList->numBuffers] = pB… in AllocateBuffer()
1669 …pComponentPrivate->pInputBufferList->bBufferPending[pComponentPrivate->pInputBufferList->numBuffer… in AllocateBuffer()
1670 …n",pComponentPrivate->pInputBufferList->numBuffers,pComponentPrivate->pInputBufferList->pBufHdr[pC… in AllocateBuffer()
1671 …pComponentPrivate->pInputBufferList->bufferOwner[pComponentPrivate->pInputBufferList->numBuffers++… in AllocateBuffer()
1672 if (pComponentPrivate->pInputBufferList->numBuffers == pPortDef->nBufferCountActual) { in AllocateBuffer()
1772 buff = pComponentPrivate->pInputBufferList->pBufHdr[i]; in FreeBuffer()
[all …]
DOMX_G729Dec_Utils.c145 nIpBuf = pComponentPrivate->pInputBufferList->numBuffers; in G729DECFill_LCMLInitParams()
239 if (pComponentPrivate->pInputBufferList->numBuffers) { in G729DECFill_LCMLInitParams()
240 arr[3] = (OMX_U16)pComponentPrivate->pInputBufferList->numBuffers; in G729DECFill_LCMLInitParams()
285 pTemp = pComponentPrivate->pInputBufferList->pBufHdr[i]; in G729DECFill_LCMLInitParams()
963 nBuf = pComponentPrivate->pInputBufferList->numBuffers; in G729DECHandleCommand()
1084 …nentPrivate->pInputBufferList->numBuffers = %d\n",pComponentPrivate->pInputBufferList->numBuffers); in G729DECHandleCommand()
1087 if (pComponentPrivate->pInputBufferList->numBuffers && in G729DECHandleCommand()
1671 nBuf = pComponentPrivate->pInputBufferList->numBuffers; in G729DECGetBufferDirection()
1673 pBuf = pComponentPrivate->pInputBufferList->pBufHdr[i]; in G729DECGetBufferDirection()
1886 for (i=0; i < pComponentPrivate->pInputBufferList->numBuffers; i++) in G729DECLCML_Callback()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/src/
DOMX_G726Decoder.c246 pComponentPrivate->pInputBufferList = pTemp; in OMX_ComponentInit()
251 pComponentPrivate->pInputBufferList->numBuffers = 0; in OMX_ComponentInit()
255 pComponentPrivate->pInputBufferList->pBufHdr[i] = NULL; in OMX_ComponentInit()
1714 G726DEC_DPRINT(":: Ip Num = %ld\n",pComponentPrivate->pInputBufferList->numBuffers); in AllocateBuffer()
1726 …pComponentPrivate->pInputBufferList->pBufHdr[pComponentPrivate->pInputBufferList->numBuffers] = pB… in AllocateBuffer()
1727 …pComponentPrivate->pInputBufferList->bBufferPending[pComponentPrivate->pInputBufferList->numBuffer… in AllocateBuffer()
1730 pComponentPrivate->pInputBufferList->numBuffers, in AllocateBuffer()
1731 … pComponentPrivate->pInputBufferList->pBufHdr[pComponentPrivate->pInputBufferList->numBuffers]); in AllocateBuffer()
1733 …pComponentPrivate->pInputBufferList->bufferOwner[pComponentPrivate->pInputBufferList->numBuffers++… in AllocateBuffer()
1736 pComponentPrivate->pInputBufferList->numBuffers); in AllocateBuffer()
[all …]
DOMX_G726Dec_Utils.c140 nIpBuf = pComponentPrivate->pInputBufferList->numBuffers; in G726DEC_Fill_LCMLInitParams()
228 if(pComponentPrivate->pInputBufferList->numBuffers == 0) { in G726DEC_Fill_LCMLInitParams()
246 if(pComponentPrivate->pInputBufferList->numBuffers == 0) { in G726DEC_Fill_LCMLInitParams()
283 pTemp = pComponentPrivate->pInputBufferList->pBufHdr[i]; in G726DEC_Fill_LCMLInitParams()
460 nIpBuf = pComponentPrivate->pInputBufferList->numBuffers; in G726DEC_FreeCompResources()
506 G726D_OMX_FREE(pComponentPrivate->pInputBufferList); in G726DEC_FreeCompResources()
966 pComponentPrivate->pInputBufferList->numBuffers); in G726DEC_HandleCommand()
971 pComponentPrivate->pInputBufferList->numBuffers, in G726DEC_HandleCommand()
973 if (pComponentPrivate->pInputBufferList->numBuffers || in G726DEC_HandleCommand()
1072 for (i=0; i < pComponentPrivate->pInputBufferList->numBuffers; i++) { in G726DEC_HandleCommand()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_dec/src/
DOMX_G722Decoder.c243 pComponentPrivate->pInputBufferList = pTemp; in OMX_ComponentInit()
248 pComponentPrivate->pInputBufferList->numBuffers = 0; in OMX_ComponentInit()
252 pComponentPrivate->pInputBufferList->pBufHdr[i] = NULL; in OMX_ComponentInit()
1673 G722DEC_DPRINT(":: Ip Num = %ld\n",pComponentPrivate->pInputBufferList->numBuffers); in AllocateBuffer()
1685 …pComponentPrivate->pInputBufferList->pBufHdr[pComponentPrivate->pInputBufferList->numBuffers] = pB… in AllocateBuffer()
1686 …pComponentPrivate->pInputBufferList->bBufferPending[pComponentPrivate->pInputBufferList->numBuffer… in AllocateBuffer()
1689 pComponentPrivate->pInputBufferList->numBuffers, in AllocateBuffer()
1690 … pComponentPrivate->pInputBufferList->pBufHdr[pComponentPrivate->pInputBufferList->numBuffers]); in AllocateBuffer()
1692 …pComponentPrivate->pInputBufferList->bufferOwner[pComponentPrivate->pInputBufferList->numBuffers++… in AllocateBuffer()
1695 pComponentPrivate->pInputBufferList->numBuffers); in AllocateBuffer()
[all …]
DOMX_G722Dec_Utils.c247 nIpBuf = pComponentPrivate->pInputBufferList->numBuffers; in G722DEC_Fill_LCMLInitParams()
331 if(pComponentPrivate->pInputBufferList->numBuffers == 0) { in G722DEC_Fill_LCMLInitParams()
351 if(pComponentPrivate->pInputBufferList->numBuffers == 0) { in G722DEC_Fill_LCMLInitParams()
386 pTemp = pComponentPrivate->pInputBufferList->pBufHdr[i]; in G722DEC_Fill_LCMLInitParams()
579 nIpBuf = pComponentPrivate->pInputBufferList->numBuffers; in G722DEC_FreeCompResources()
635 G722D_OMX_FREE(pComponentPrivate->pInputBufferList); in G722DEC_FreeCompResources()
983 … if (pComponentPrivate->nNumInputBufPending < pComponentPrivate->pInputBufferList->numBuffers) { in G722DEC_HandleCommand()
984 … pComponentPrivate->nNumInputBufPending = pComponentPrivate->pInputBufferList->numBuffers; in G722DEC_HandleCommand()
1070 pComponentPrivate->pInputBufferList->numBuffers); in G722DEC_HandleCommand()
1075 pComponentPrivate->pInputBufferList->numBuffers, in G722DEC_HandleCommand()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/src/
DOMX_G711Decoder.c267 G711D_OMX_MALLOC(pComponentPrivate->pInputBufferList, G711DEC_BUFFERLIST); in OMX_ComponentInit()
268 pComponentPrivate->pInputBufferList->numBuffers = 0; /* initialize number of buffers */ in OMX_ComponentInit()
281 pComponentPrivate->pInputBufferList->pBufHdr[i] = NULL; in OMX_ComponentInit()
456 OMX_G711DECMEMFREE_STRUCT(pComponentPrivate->pInputBufferList); in OMX_ComponentInit()
1623 …pComponentPrivate->pInputBufferList->pBufHdr[pComponentPrivate->pInputBufferList->numBuffers] = pB… in AllocateBuffer()
1624 …pComponentPrivate->pInputBufferList->bBufferPending[pComponentPrivate->pInputBufferList->numBuffer… in AllocateBuffer()
1625 …>pBufHdr[%d] = %p \n",(int)pComponentPrivate->pInputBufferList->pBufHdr[pComponentPrivate->pInputB… in AllocateBuffer()
1626 …pComponentPrivate->pInputBufferList->bufferOwner[pComponentPrivate->pInputBufferList->numBuffers++… in AllocateBuffer()
1628 …rivate->pInputBufferList->numBuffers = %d\n",(int)pComponentPrivate->pInputBufferList->numBuffers); in AllocateBuffer()
1630 if (pComponentPrivate->pInputBufferList->numBuffers == pPortDef->nBufferCountActual) { in AllocateBuffer()
[all …]
DOMX_G711Dec_Utils.c140 nIpBuf = (OMX_U16)pComponentPrivate->pInputBufferList->numBuffers; in G711DECFill_LCMLInitParams()
215 if (pComponentPrivate->pInputBufferList->numBuffers) { in G711DECFill_LCMLInitParams()
216 arr[3] = (OMX_U16) (pComponentPrivate->pInputBufferList->numBuffers ); in G711DECFill_LCMLInitParams()
262 pTemp = pComponentPrivate->pInputBufferList->pBufHdr[i]; in G711DECFill_LCMLInitParams()
505 OMX_G711DECMEMFREE_STRUCT(pComponentPrivate->pInputBufferList); in G711DEC_FreeCompResources()
970 nBuf = pComponentPrivate->pInputBufferList->numBuffers; in G711DECHandleCommand()
1054 …InputBufferList->numBuffers = %d\n",__LINE__,(int)pComponentPrivate->pInputBufferList->numBuffers); in G711DECHandleCommand()
1085 (int)pComponentPrivate->pInputBufferList->numBuffers); in G711DECHandleCommand()
1089 if (pComponentPrivate->pInputBufferList->numBuffers && in G711DECHandleCommand()
1430 for (i=0; i < pComponentPrivate->pInputBufferList->numBuffers; i++) in G711DECHandleCommand()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/src/
DOMX_WmaDecoder.c240 OMX_MALLOC_GENERIC(pComponentPrivate->pInputBufferList, BUFFERLIST); in OMX_ComponentInit()
260 pComponentPrivate->pInputBufferList->numBuffers = 0; /* initialize number of buffers */ in OMX_ComponentInit()
305 pComponentPrivate->pInputBufferList->pBufHdr[i] = NULL; in OMX_ComponentInit()
506 OMX_MEMFREE_STRUCT(pComponentPrivate->pInputBufferList); in OMX_ComponentInit()
1590 OMX_MEMFREE_STRUCT(pComponentPrivate->pInputBufferList); in ComponentDeInit()
1706 …pComponentPrivate->pInputBufferList->pBufHdr[pComponentPrivate->pInputBufferList->numBuffers] = pB… in AllocateBuffer()
1707 …pComponentPrivate->pInputBufferList->bBufferPending[pComponentPrivate->pInputBufferList->numBuffer… in AllocateBuffer()
1708 …n",pComponentPrivate->pInputBufferList->numBuffers,pComponentPrivate->pInputBufferList->pBufHdr[pC… in AllocateBuffer()
1709 …pComponentPrivate->pInputBufferList->bufferOwner[pComponentPrivate->pInputBufferList->numBuffers++… in AllocateBuffer()
1711 …nentPrivate->pInputBufferList->numBuffers = %d\n",pComponentPrivate->pInputBufferList->numBuffers); in AllocateBuffer()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_dec/src/
DOMX_WbAmrDecoder.c268 OMX_MALLOC_GENERIC(pComponentPrivate->pInputBufferList, WBAMR_DEC_BUFFERLIST); in OMX_ComponentInit()
269 pComponentPrivate->pInputBufferList->numBuffers = 0; /* initialize number of buffers */ in OMX_ComponentInit()
275 pComponentPrivate->pInputBufferList->pBufHdr[i] = NULL; in OMX_ComponentInit()
1646 OMX_MEMFREE_STRUCT(pComponentPrivate->pInputBufferList); in ComponentDeInit()
1750 …pComponentPrivate->pInputBufferList->pBufHdr[pComponentPrivate->pInputBufferList->numBuffers] = pB… in AllocateBuffer()
1751 …pComponentPrivate->pInputBufferList->bBufferPending[pComponentPrivate->pInputBufferList->numBuffer… in AllocateBuffer()
1752 …n",pComponentPrivate->pInputBufferList->numBuffers,pComponentPrivate->pInputBufferList->pBufHdr[pC… in AllocateBuffer()
1753 …pComponentPrivate->pInputBufferList->bufferOwner[pComponentPrivate->pInputBufferList->numBuffers++… in AllocateBuffer()
1755 …nentPrivate->pInputBufferList->numBuffers = %d\n",pComponentPrivate->pInputBufferList->numBuffers); in AllocateBuffer()
1757 if (pComponentPrivate->pInputBufferList->numBuffers == pPortDef->nBufferCountActual) { in AllocateBuffer()
[all …]
DOMX_WbAmrDec_Utils.c125 nIpBuf = pComponentPrivate->pInputBufferList->numBuffers; in WBAMR_DEC_Fill_LCMLInitParams()
243 if (pComponentPrivate->pInputBufferList->numBuffers) { in WBAMR_DEC_Fill_LCMLInitParams()
244 arr[3] = pComponentPrivate->pInputBufferList->numBuffers; in WBAMR_DEC_Fill_LCMLInitParams()
289 pTemp = pComponentPrivate->pInputBufferList->pBufHdr[i]; in WBAMR_DEC_Fill_LCMLInitParams()
1089 nBuf = pComponentPrivate->pInputBufferList->numBuffers; in WBAMR_DEC_HandleCommand()
1191 …nentPrivate->pInputBufferList->numBuffers = %d\n",pComponentPrivate->pInputBufferList->numBuffers); in WBAMR_DEC_HandleCommand()
1225 …nentPrivate->pInputBufferList->numBuffers = %d\n",pComponentPrivate->pInputBufferList->numBuffers); in WBAMR_DEC_HandleCommand()
1230 if (pComponentPrivate->pInputBufferList->numBuffers || in WBAMR_DEC_HandleCommand()
1423 for (i=0; i < pComponentPrivate->pInputBufferList->numBuffers; i++) { in WBAMR_DEC_HandleCommand()
1424 …if (WBAMR_DEC_IsPending(pComponentPrivate,pComponentPrivate->pInputBufferList->pBufHdr[i],OMX_DirI… in WBAMR_DEC_HandleCommand()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/mp3_dec/src/
DOMX_Mp3Decoder.c266 pComponentPrivate->pInputBufferList = pTemp; in OMX_ComponentInit()
271 pComponentPrivate->pInputBufferList->numBuffers = 0; in OMX_ComponentInit()
275 pComponentPrivate->pInputBufferList->pBufHdr[i] = NULL; in OMX_ComponentInit()
1910 …OMX_PRBUFFER2(pComponentPrivate->dbg, " :: Ip Num = %ld\n", pComponentPrivate->pInputBufferList->n… in AllocateBuffer()
1927 …pComponentPrivate->pInputBufferList->pBufHdr[pComponentPrivate->pInputBufferList->numBuffers] = pB… in AllocateBuffer()
1928 …pComponentPrivate->pInputBufferList->bBufferPending[pComponentPrivate->pInputBufferList->numBuffer… in AllocateBuffer()
1930 …ntPrivate->pInputBufferList->pBufHdr[%ld] = %p\n", pComponentPrivate->pInputBufferList->numBuffers, in AllocateBuffer()
1931 … pComponentPrivate->pInputBufferList->pBufHdr[pComponentPrivate->pInputBufferList->numBuffers]); in AllocateBuffer()
1933 …pComponentPrivate->pInputBufferList->bufferOwner[pComponentPrivate->pInputBufferList->numBuffers++… in AllocateBuffer()
1935 …entPrivate->pInputBufferList->numBuffers = %ld\n",pComponentPrivate->pInputBufferList->numBuffers); in AllocateBuffer()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/src/
DOMX_G711Encoder.c265 G711ENC_OMX_MALLOC_STRUCT(pComponentPrivate->pInputBufferList, G711ENC_BUFFERLIST); in OMX_ComponentInit()
266 pComponentPrivate->pInputBufferList->numBuffers = 0; in OMX_ComponentInit()
274 pComponentPrivate->pInputBufferList->pBufHdr[i] = NULL; in OMX_ComponentInit()
1458 …pComponentPrivate->pInputBufferList->pBufHdr[pComponentPrivate->pInputBufferList->numBuffers] = pB… in AllocateBuffer()
1459 …pComponentPrivate->pInputBufferList->bBufferPending[pComponentPrivate->pInputBufferList->numBuffer… in AllocateBuffer()
1460 …pComponentPrivate->pInputBufferList->bufferOwner[pComponentPrivate->pInputBufferList->numBuffers++… in AllocateBuffer()
1462 … (int)pComponentPrivate->pInputBufferList->numBuffers,(int)pPortDef->nBufferCountActual); in AllocateBuffer()
1463 if (pComponentPrivate->pInputBufferList->numBuffers == pPortDef->nBufferCountActual) { in AllocateBuffer()
1560 buff = pComponentPrivate->pInputBufferList->pBufHdr[i]; in FreeBuffer()
1592 if (pComponentPrivate->pInputBufferList->bufferOwner[inputIndex] == 1) { in FreeBuffer()
[all …]
DOMX_G711Enc_Utils.c117 nIpBuf = pComponentPrivate->pInputBufferList->numBuffers; in G711ENC_FillLCMLInitParams()
199 if (pComponentPrivate->pInputBufferList->numBuffers) { in G711ENC_FillLCMLInitParams()
200 arr[3] = (OMX_U16) pComponentPrivate->pInputBufferList->numBuffers; in G711ENC_FillLCMLInitParams()
238 pTemp = pComponentPrivate->pInputBufferList->pBufHdr[i]; in G711ENC_FillLCMLInitParams()
439 OMX_G711ENC_MEMFREE_STRUCT(pComponentPrivate->pInputBufferList); in G711ENC_FreeCompResources()
993 if (pComponentPrivate->pInputBufferList->numBuffers || in G711ENC_HandleCommand()
1302 for (i=0; i < pComponentPrivate->pInputBufferList->numBuffers; i++) { in G711ENC_HandleCommand()
1305 … pComponentPrivate->pInputBufferList->pBufHdr[i]); in G711ENC_HandleCommand()
1542 … pComponentPrivate->pInputBufferList->pBufHdr[0]); in G711ENC_HandleDataBufFromApp()
1783 nBuf = pComponentPrivate->pInputBufferList->numBuffers; in G711ENC_GetBufferDirection()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/src/
DOMX_G726Encoder.c255 OMX_NBMALLOC_STRUCT(pComponentPrivate->pInputBufferList, G726ENC_BUFFERLIST); in OMX_ComponentInit()
256 pComponentPrivate->pInputBufferList->numBuffers = 0; in OMX_ComponentInit()
264 pComponentPrivate->pInputBufferList->pBufHdr[i] = NULL; in OMX_ComponentInit()
1388 …pComponentPrivate->pInputBufferList->pBufHdr[pComponentPrivate->pInputBufferList->numBuffers] = pB… in AllocateBuffer()
1389 …pComponentPrivate->pInputBufferList->bBufferPending[pComponentPrivate->pInputBufferList->numBuffer… in AllocateBuffer()
1390 …pComponentPrivate->pInputBufferList->bufferOwner[pComponentPrivate->pInputBufferList->numBuffers++… in AllocateBuffer()
1391 if (pComponentPrivate->pInputBufferList->numBuffers == pPortDef->nBufferCountActual) { in AllocateBuffer()
1480 buff = pComponentPrivate->pInputBufferList->pBufHdr[i]; in FreeBuffer()
1513 if (pComponentPrivate->pInputBufferList->bufferOwner[inputIndex] == 1) { in FreeBuffer()
1514 tempBuff = pComponentPrivate->pInputBufferList->pBufHdr[inputIndex]->pBuffer; in FreeBuffer()
[all …]
DOMX_G726Enc_Utils.c177 nIpBuf = pComponentPrivate->pInputBufferList->numBuffers; in G726ENC_FillLCMLInitParams()
269 … if (pComponentPrivate->pInputBufferList->numBuffers) { in G726ENC_FillLCMLInitParams()
270 …arr[3] = (OMX_U16) pComponentPrivate->pInputBufferList->numBuffers;/* #Bufs exchanged between SN a… in G726ENC_FillLCMLInitParams()
309 pTemp = pComponentPrivate->pInputBufferList->pBufHdr[i]; in G726ENC_FillLCMLInitParams()
498 OMX_NBMEMFREE_STRUCT(pComponentPrivate->pInputBufferList); in G726ENC_FreeCompResources()
1018 if (pComponentPrivate->pInputBufferList->numBuffers && in G726ENC_HandleCommand()
1438 … pComponentPrivate->pInputBufferList->pBufHdr[0]); in G726ENC_HandleDataBufFromApp()
1554 nBuf = pComponentPrivate->pInputBufferList->numBuffers; in G726ENC_GetBufferDirection()
1556 pBuf = pComponentPrivate->pInputBufferList->pBufHdr[i]; in G726ENC_GetBufferDirection()
1606 nIpBuf = pComponentPrivate->pInputBufferList->numBuffers; in G726ENC_GetCorrespondingLCMLHeader()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_dec/src/
DOMX_AmrDecoder.c272 OMX_MALLOC_GENERIC(pComponentPrivate->pInputBufferList, NBAMRDEC_BUFFERLIST); in OMX_ComponentInit()
273 pComponentPrivate->pInputBufferList->numBuffers = 0; /* initialize number of buffers */ in OMX_ComponentInit()
281 pComponentPrivate->pInputBufferList->pBufHdr[i] = NULL; in OMX_ComponentInit()
1725 OMX_MEMFREE_STRUCT(pComponentPrivate->pInputBufferList); in ComponentDeInit()
1837 …pComponentPrivate->pInputBufferList->pBufHdr[pComponentPrivate->pInputBufferList->numBuffers] = pB… in AllocateBuffer()
1838 …pComponentPrivate->pInputBufferList->bBufferPending[pComponentPrivate->pInputBufferList->numBuffer… in AllocateBuffer()
1839 …__,pComponentPrivate->pInputBufferList->numBuffers,pComponentPrivate->pInputBufferList->pBufHdr[pC… in AllocateBuffer()
1840 …pComponentPrivate->pInputBufferList->bufferOwner[pComponentPrivate->pInputBufferList->numBuffers++… in AllocateBuffer()
1842 …te->pInputBufferList->numBuffers = %d\n",__LINE__,pComponentPrivate->pInputBufferList->numBuffers); in AllocateBuffer()
1844 if (pComponentPrivate->pInputBufferList->numBuffers == pPortDef->nBufferCountActual) { in AllocateBuffer()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_dec/src/
DOMX_AacDecoder.c262 pComponentPrivate->pInputBufferList = pTemp; in OMX_ComponentInit()
267 pComponentPrivate->pInputBufferList->numBuffers = 0; in OMX_ComponentInit()
271 pComponentPrivate->pInputBufferList->pBufHdr[i] = NULL; in OMX_ComponentInit()
1843 …nentPrivate->dbg, "%d :: Ip Num = %ld\n",__LINE__,pComponentPrivate->pInputBufferList->numBuffers); in AllocateBuffer()
1855 …pComponentPrivate->pInputBufferList->pBufHdr[pComponentPrivate->pInputBufferList->numBuffers] = pB… in AllocateBuffer()
1856 …pComponentPrivate->pInputBufferList->bBufferPending[pComponentPrivate->pInputBufferList->numBuffer… in AllocateBuffer()
1858 …pComponentPrivate->pInputBufferList->numBuffers,pComponentPrivate->pInputBufferList->pBufHdr[pComp… in AllocateBuffer()
1859 …pComponentPrivate->pInputBufferList->bufferOwner[pComponentPrivate->pInputBufferList->numBuffers++… in AllocateBuffer()
1860 …entPrivate->pInputBufferList->numBuffers = %ld\n",pComponentPrivate->pInputBufferList->numBuffers); in AllocateBuffer()
1862 if (pComponentPrivate->pInputBufferList->numBuffers == pPortDef->nBufferCountActual) { in AllocateBuffer()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_enc/src/
DOMX_G729Encoder.c274 OMX_G729MALLOC_STRUCT(pComponentPrivate->pInputBufferList, G729ENC_BUFFERLIST); in OMX_ComponentInit()
275 pComponentPrivate->pInputBufferList->numBuffers = 0; in OMX_ComponentInit()
284 pComponentPrivate->pInputBufferList->pBufHdr[i] = NULL; in OMX_ComponentInit()
1663 …pComponentPrivate->pInputBufferList->pBufHdr[pComponentPrivate->pInputBufferList->numBuffers] = pB… in AllocateBuffer()
1664 …pComponentPrivate->pInputBufferList->bBufferPending[pComponentPrivate->pInputBufferList->numBuffer… in AllocateBuffer()
1665 …pComponentPrivate->pInputBufferList->bufferOwner[pComponentPrivate->pInputBufferList->numBuffers++… in AllocateBuffer()
1666 if (pComponentPrivate->pInputBufferList->numBuffers == pPortDef->nBufferCountActual) in AllocateBuffer()
1767 buff = pComponentPrivate->pInputBufferList->pBufHdr[i]; in FreeBuffer()
1806 if (pComponentPrivate->pInputBufferList->bufferOwner[inputIndex] == 1) in FreeBuffer()
1808 tempBuff = pComponentPrivate->pInputBufferList->pBufHdr[inputIndex]->pBuffer; in FreeBuffer()
[all …]
DOMX_G729Enc_Utils.c132 nIpBuf = pComponentPrivate->pInputBufferList->numBuffers; in G729ENC_FillLCMLInitParams()
217 if (pComponentPrivate->pInputBufferList->numBuffers) in G729ENC_FillLCMLInitParams()
219 arr[3] = (OMX_U16) pComponentPrivate->pInputBufferList->numBuffers; in G729ENC_FillLCMLInitParams()
254 pTemp = pComponentPrivate->pInputBufferList->pBufHdr[i]; in G729ENC_FillLCMLInitParams()
478 OMX_G729MEMFREE_STRUCT(pComponentPrivate->pInputBufferList); in G729ENC_FreeCompResources()
964 … if (pComponentPrivate->nNumInputBufPending < pComponentPrivate->pInputBufferList->numBuffers) in G729ENC_HandleCommand()
966 … pComponentPrivate->nNumInputBufPending = pComponentPrivate->pInputBufferList->numBuffers; in G729ENC_HandleCommand()
1083 if (pComponentPrivate->pInputBufferList->numBuffers && in G729ENC_HandleCommand()
1595 pComponentPrivate->pInputBufferList, 0, in G729ENC_HandleDataBufFromApp()
1600 … pComponentPrivate->pInputBufferList->pBufHdr[0]); in G729ENC_HandleDataBufFromApp()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/src/
DOMX_WbAmrEncoder.c276 OMX_MALLOC_GENERIC(pComponentPrivate->pInputBufferList, in OMX_ComponentInit()
278 pComponentPrivate->pInputBufferList->numBuffers = 0; in OMX_ComponentInit()
287 pComponentPrivate->pInputBufferList->pBufHdr[i] = NULL; in OMX_ComponentInit()
2004 …pComponentPrivate->pInputBufferList->pBufHdr[pComponentPrivate->pInputBufferList->numBuffers] = pB… in AllocateBuffer()
2005 …pComponentPrivate->pInputBufferList->bBufferPending[pComponentPrivate->pInputBufferList->numBuffer… in AllocateBuffer()
2006 …pComponentPrivate->pInputBufferList->bufferOwner[pComponentPrivate->pInputBufferList->numBuffers++… in AllocateBuffer()
2008 if (pComponentPrivate->pInputBufferList->numBuffers == pPortDef->nBufferCountActual) { in AllocateBuffer()
2106 buff = pComponentPrivate->pInputBufferList->pBufHdr[i]; in FreeBuffer()
2141 if (pComponentPrivate->pInputBufferList->bufferOwner[inputIndex] == 1) { in FreeBuffer()
2142 tempBuff = pComponentPrivate->pInputBufferList->pBufHdr[inputIndex]->pBuffer; in FreeBuffer()
[all …]
DOMX_WbAmrEnc_Utils.c119 nIpBuf = pComponentPrivate->pInputBufferList->numBuffers; in WBAMRENC_FillLCMLInitParams()
209 if (pComponentPrivate->pInputBufferList->numBuffers) { in WBAMRENC_FillLCMLInitParams()
210 arr[3] = (OMX_U16) pComponentPrivate->pInputBufferList->numBuffers; in WBAMRENC_FillLCMLInitParams()
255 pTemp = pComponentPrivate->pInputBufferList->pBufHdr[i]; in WBAMRENC_FillLCMLInitParams()
474 OMX_MEMFREE_STRUCT(pComponentPrivate->pInputBufferList); in WBAMRENC_FreeCompResources()
1276 if (pComponentPrivate->pInputBufferList->numBuffers || in WBAMRENC_HandleCommand()
1612 pComponentPrivate->pInputBufferList->pBufHdr[i]->pBuffer, in WBAMRENC_HandleCommand()
1869 pComponentPrivate->pInputBufferList->pBufHdr[0]->pBuffer, in WBAMRENC_HandleDataBufFromApp()
1875 pComponentPrivate->pInputBufferList->pBufHdr[0]); in WBAMRENC_HandleDataBufFromApp()
2146 nBuf = pComponentPrivate->pInputBufferList->numBuffers; in WBAMRENC_GetBufferDirection()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_enc/src/
DOMX_AmrEncoder.c293 OMX_MALLOC_GENERIC(pComponentPrivate->pInputBufferList, NBAMRENC_BUFFERLIST); in OMX_ComponentInit()
294 pComponentPrivate->pInputBufferList->numBuffers = 0; in OMX_ComponentInit()
302 pComponentPrivate->pInputBufferList->pBufHdr[i] = NULL; in OMX_ComponentInit()
1903 …pComponentPrivate->pInputBufferList->pBufHdr[pComponentPrivate->pInputBufferList->numBuffers] = pB… in AllocateBuffer()
1904 …pComponentPrivate->pInputBufferList->bBufferPending[pComponentPrivate->pInputBufferList->numBuffer… in AllocateBuffer()
1905 …pComponentPrivate->pInputBufferList->bufferOwner[pComponentPrivate->pInputBufferList->numBuffers++… in AllocateBuffer()
1906 if (pComponentPrivate->pInputBufferList->numBuffers == pPortDef->nBufferCountActual) { in AllocateBuffer()
2010 buff = pComponentPrivate->pInputBufferList->pBufHdr[i]; in FreeBuffer()
2043 if (pComponentPrivate->pInputBufferList->bufferOwner[inputIndex] == 1) { in FreeBuffer()
2044 …OMX_MEMFREE_STRUCT_DSPALIGN(pComponentPrivate->pInputBufferList->pBufHdr[inputIndex]->pBuffer, OMX… in FreeBuffer()
[all …]

12