Home
last modified time | relevance | path

Searched refs:numBuffers (Results 1 – 25 of 71) sorted by relevance

123

/hardware/ti/omap3/omx/audio/src/openmax_il/g722_dec/src/
DOMX_G722Decoder.c248 pComponentPrivate->pInputBufferList->numBuffers = 0; in OMX_ComponentInit()
249 pComponentPrivate->pOutputBufferList->numBuffers = 0; in OMX_ComponentInit()
1673 G722DEC_DPRINT(":: Ip Num = %ld\n",pComponentPrivate->pInputBufferList->numBuffers); in AllocateBuffer()
1674 G722DEC_DPRINT(":: Op Num = %ld\n",pComponentPrivate->pOutputBufferList->numBuffers); in AllocateBuffer()
1685 …rivate->pInputBufferList->pBufHdr[pComponentPrivate->pInputBufferList->numBuffers] = pBufferHeader; in AllocateBuffer()
1686 …nentPrivate->pInputBufferList->bBufferPending[pComponentPrivate->pInputBufferList->numBuffers] = 0; in AllocateBuffer()
1689 pComponentPrivate->pInputBufferList->numBuffers, in AllocateBuffer()
1690 … pComponentPrivate->pInputBufferList->pBufHdr[pComponentPrivate->pInputBufferList->numBuffers]); in AllocateBuffer()
1692 …onentPrivate->pInputBufferList->bufferOwner[pComponentPrivate->pInputBufferList->numBuffers++] = 1; in AllocateBuffer()
1695 pComponentPrivate->pInputBufferList->numBuffers); in AllocateBuffer()
[all …]
DOMX_G722Dec_Utils.c247 nIpBuf = pComponentPrivate->pInputBufferList->numBuffers; in G722DEC_Fill_LCMLInitParams()
249 nOpBuf = pComponentPrivate->pOutputBufferList->numBuffers; in G722DEC_Fill_LCMLInitParams()
331 if(pComponentPrivate->pInputBufferList->numBuffers == 0) { in G722DEC_Fill_LCMLInitParams()
339 if(pComponentPrivate->pOutputBufferList->numBuffers == 0) { in G722DEC_Fill_LCMLInitParams()
351 if(pComponentPrivate->pInputBufferList->numBuffers == 0) { in G722DEC_Fill_LCMLInitParams()
579 nIpBuf = pComponentPrivate->pInputBufferList->numBuffers; in G722DEC_FreeCompResources()
580 nOpBuf = pComponentPrivate->pOutputBufferList->numBuffers; in G722DEC_FreeCompResources()
983 … if (pComponentPrivate->nNumInputBufPending < pComponentPrivate->pInputBufferList->numBuffers) { in G722DEC_HandleCommand()
984 … pComponentPrivate->nNumInputBufPending = pComponentPrivate->pInputBufferList->numBuffers; in G722DEC_HandleCommand()
1005 … if (pComponentPrivate->nNumOutputBufPending < pComponentPrivate->pOutputBufferList->numBuffers) { in G722DEC_HandleCommand()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/src/
DOMX_G726Decoder.c251 pComponentPrivate->pInputBufferList->numBuffers = 0; in OMX_ComponentInit()
252 pComponentPrivate->pOutputBufferList->numBuffers = 0; in OMX_ComponentInit()
1714 G726DEC_DPRINT(":: Ip Num = %ld\n",pComponentPrivate->pInputBufferList->numBuffers); in AllocateBuffer()
1715 G726DEC_DPRINT(":: Op Num = %ld\n",pComponentPrivate->pOutputBufferList->numBuffers); in AllocateBuffer()
1726 …rivate->pInputBufferList->pBufHdr[pComponentPrivate->pInputBufferList->numBuffers] = pBufferHeader; in AllocateBuffer()
1727 …nentPrivate->pInputBufferList->bBufferPending[pComponentPrivate->pInputBufferList->numBuffers] = 0; in AllocateBuffer()
1730 pComponentPrivate->pInputBufferList->numBuffers, in AllocateBuffer()
1731 … pComponentPrivate->pInputBufferList->pBufHdr[pComponentPrivate->pInputBufferList->numBuffers]); in AllocateBuffer()
1733 …onentPrivate->pInputBufferList->bufferOwner[pComponentPrivate->pInputBufferList->numBuffers++] = 1; in AllocateBuffer()
1736 pComponentPrivate->pInputBufferList->numBuffers); in AllocateBuffer()
[all …]
DOMX_G726Dec_Utils.c140 nIpBuf = pComponentPrivate->pInputBufferList->numBuffers; in G726DEC_Fill_LCMLInitParams()
142 nOpBuf = pComponentPrivate->pOutputBufferList->numBuffers; in G726DEC_Fill_LCMLInitParams()
228 if(pComponentPrivate->pInputBufferList->numBuffers == 0) { in G726DEC_Fill_LCMLInitParams()
235 if(pComponentPrivate->pOutputBufferList->numBuffers == 0) { in G726DEC_Fill_LCMLInitParams()
246 if(pComponentPrivate->pInputBufferList->numBuffers == 0) { in G726DEC_Fill_LCMLInitParams()
460 nIpBuf = pComponentPrivate->pInputBufferList->numBuffers; in G726DEC_FreeCompResources()
461 nOpBuf = pComponentPrivate->pOutputBufferList->numBuffers; in G726DEC_FreeCompResources()
966 pComponentPrivate->pInputBufferList->numBuffers); in G726DEC_HandleCommand()
968 pComponentPrivate->pOutputBufferList->numBuffers); in G726DEC_HandleCommand()
971 pComponentPrivate->pInputBufferList->numBuffers, in G726DEC_HandleCommand()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_enc/src/
DOMX_G722Encoder.c377 pComponentPrivate->pInputBufferList->numBuffers = 0; /* initialize number of buffers */ in OMX_ComponentInit()
410 pComponentPrivate->pOutputBufferList->numBuffers = 0; /* initialize number of buffers */ in OMX_ComponentInit()
1716 …rivate->pInputBufferList->pBufHdr[pComponentPrivate->pInputBufferList->numBuffers] = pBufferHeader; in AllocateBuffer()
1718 …ivate->pInputBufferList->numBuffers,pComponentPrivate->pInputBufferList->pBufHdr[pComponentPrivate… in AllocateBuffer()
1719 …nentPrivate->pInputBufferList->bBufferPending[pComponentPrivate->pInputBufferList->numBuffers] = 0; in AllocateBuffer()
1720 …onentPrivate->pInputBufferList->bufferOwner[pComponentPrivate->pInputBufferList->numBuffers++] = 1; in AllocateBuffer()
1722 …nentPrivate->pInputBufferList->numBuffers = %d\n",pComponentPrivate->pInputBufferList->numBuffers); in AllocateBuffer()
1724 if (pComponentPrivate->pInputBufferList->numBuffers == pPortDef->nBufferCountActual) { in AllocateBuffer()
1731 …vate->pOutputBufferList->pBufHdr[pComponentPrivate->pOutputBufferList->numBuffers] = pBufferHeader; in AllocateBuffer()
1732 …ntPrivate->pOutputBufferList->bBufferPending[pComponentPrivate->pOutputBufferList->numBuffers] = 0; in AllocateBuffer()
[all …]
DOMX_G722Enc_Utils.c258 nIpBuf = pComponentPrivate->pInputBufferList->numBuffers; in G722ENC_Fill_LCMLInitParams()
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()
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()
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()
1129 for (i=0; i < pComponentPrivate->pInputBufferList->numBuffers; i++) { in G722ENC_HandleCommand()
1150 for (i=0; i < pComponentPrivate->pOutputBufferList->numBuffers; i++) { in G722ENC_HandleCommand()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/src/
DOMX_G711Decoder.c268 pComponentPrivate->pInputBufferList->numBuffers = 0; /* initialize number of buffers */ in OMX_ComponentInit()
276 pComponentPrivate->pOutputBufferList->numBuffers = 0; /* initialize number of buffers */ in OMX_ComponentInit()
1623 …rivate->pInputBufferList->pBufHdr[pComponentPrivate->pInputBufferList->numBuffers] = pBufferHeader; in AllocateBuffer()
1624 …nentPrivate->pInputBufferList->bBufferPending[pComponentPrivate->pInputBufferList->numBuffers] = 0; in AllocateBuffer()
1625 …int)pComponentPrivate->pInputBufferList->pBufHdr[pComponentPrivate->pInputBufferList->numBuffers]); in AllocateBuffer()
1626 …onentPrivate->pInputBufferList->bufferOwner[pComponentPrivate->pInputBufferList->numBuffers++] = 1; in AllocateBuffer()
1628 …rivate->pInputBufferList->numBuffers = %d\n",(int)pComponentPrivate->pInputBufferList->numBuffers); in AllocateBuffer()
1630 if (pComponentPrivate->pInputBufferList->numBuffers == pPortDef->nBufferCountActual) { in AllocateBuffer()
1638 …vate->pOutputBufferList->pBufHdr[pComponentPrivate->pOutputBufferList->numBuffers] = pBufferHeader; in AllocateBuffer()
1639 …ntPrivate->pOutputBufferList->bBufferPending[pComponentPrivate->pOutputBufferList->numBuffers] = 0; in AllocateBuffer()
[all …]
DOMX_G711Dec_Utils.c140 nIpBuf = (OMX_U16)pComponentPrivate->pInputBufferList->numBuffers; in G711DECFill_LCMLInitParams()
143 nOpBuf = pComponentPrivate->pOutputBufferList->numBuffers; in G711DECFill_LCMLInitParams()
215 if (pComponentPrivate->pInputBufferList->numBuffers) { in G711DECFill_LCMLInitParams()
216 arr[3] = (OMX_U16) (pComponentPrivate->pInputBufferList->numBuffers ); in G711DECFill_LCMLInitParams()
235 if (pComponentPrivate->pOutputBufferList->numBuffers) { in G711DECFill_LCMLInitParams()
236 arr[6] = (OMX_U16) pComponentPrivate->pOutputBufferList->numBuffers; in G711DECFill_LCMLInitParams()
970 nBuf = pComponentPrivate->pInputBufferList->numBuffers; in G711DECHandleCommand()
1054 …InputBufferList->numBuffers = %d\n",__LINE__,(int)pComponentPrivate->pInputBufferList->numBuffers); in G711DECHandleCommand()
1055 …tputBufferList->numBuffers = %d\n",__LINE__,(int)pComponentPrivate->pOutputBufferList->numBuffers); in G711DECHandleCommand()
1085 (int)pComponentPrivate->pInputBufferList->numBuffers); in G711DECHandleCommand()
[all …]
/hardware/libhardware/modules/gralloc/
Dgralloc.cpp96 .numBuffers = 0,
121 const uint32_t numBuffers = m->numBuffers; in gralloc_alloc_framebuffer_locked() local
123 if (numBuffers == 1) { in gralloc_alloc_framebuffer_locked()
131 if (bufferMask >= ((1LU<<numBuffers)-1)) { in gralloc_alloc_framebuffer_locked()
142 for (uint32_t i=0 ; i<numBuffers ; i++) { in gralloc_alloc_framebuffer_locked()
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/src/
DOMX_G711Encoder.c266 pComponentPrivate->pInputBufferList->numBuffers = 0; in OMX_ComponentInit()
270 pComponentPrivate->pOutputBufferList->numBuffers = 0; in OMX_ComponentInit()
1458 …rivate->pInputBufferList->pBufHdr[pComponentPrivate->pInputBufferList->numBuffers] = pBufferHeader; in AllocateBuffer()
1459 …nentPrivate->pInputBufferList->bBufferPending[pComponentPrivate->pInputBufferList->numBuffers] = 0; in AllocateBuffer()
1460 …onentPrivate->pInputBufferList->bufferOwner[pComponentPrivate->pInputBufferList->numBuffers++] = 1; in AllocateBuffer()
1462 … (int)pComponentPrivate->pInputBufferList->numBuffers,(int)pPortDef->nBufferCountActual); in AllocateBuffer()
1463 if (pComponentPrivate->pInputBufferList->numBuffers == pPortDef->nBufferCountActual) { in AllocateBuffer()
1471 …vate->pOutputBufferList->pBufHdr[pComponentPrivate->pOutputBufferList->numBuffers] = pBufferHeader; in AllocateBuffer()
1472 …ntPrivate->pOutputBufferList->bBufferPending[pComponentPrivate->pOutputBufferList->numBuffers] = 0; in AllocateBuffer()
1473 …entPrivate->pOutputBufferList->bufferOwner[pComponentPrivate->pOutputBufferList->numBuffers++] = 1; in AllocateBuffer()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/src/
DOMX_WmaDecoder.c260 pComponentPrivate->pInputBufferList->numBuffers = 0; /* initialize number of buffers */ in OMX_ComponentInit()
264 pComponentPrivate->pOutputBufferList->numBuffers = 0; /* initialize number of buffers */ in OMX_ComponentInit()
1706 …rivate->pInputBufferList->pBufHdr[pComponentPrivate->pInputBufferList->numBuffers] = pBufferHeader; in AllocateBuffer()
1707 …nentPrivate->pInputBufferList->bBufferPending[pComponentPrivate->pInputBufferList->numBuffers] = 0; in AllocateBuffer()
1708 …ivate->pInputBufferList->numBuffers,pComponentPrivate->pInputBufferList->pBufHdr[pComponentPrivate… in AllocateBuffer()
1709 …onentPrivate->pInputBufferList->bufferOwner[pComponentPrivate->pInputBufferList->numBuffers++] = 1; in AllocateBuffer()
1711 …nentPrivate->pInputBufferList->numBuffers = %d\n",pComponentPrivate->pInputBufferList->numBuffers); in AllocateBuffer()
1713 if (pComponentPrivate->pInputBufferList->numBuffers == pPortDef->nBufferCountActual) { in AllocateBuffer()
1720 …vate->pOutputBufferList->pBufHdr[pComponentPrivate->pOutputBufferList->numBuffers] = pBufferHeader; in AllocateBuffer()
1721 …ntPrivate->pOutputBufferList->bBufferPending[pComponentPrivate->pOutputBufferList->numBuffers] = 0; in AllocateBuffer()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_dec/src/
DOMX_G729Decoder.c280 pComponentPrivate->pInputBufferList->numBuffers = 0; /* initialize number of buffers */ in OMX_ComponentInit()
283 pComponentPrivate->pOutputBufferList->numBuffers = 0; /* initialize number of buffers */ in OMX_ComponentInit()
1668 …rivate->pInputBufferList->pBufHdr[pComponentPrivate->pInputBufferList->numBuffers] = pBufferHeader; in AllocateBuffer()
1669 …nentPrivate->pInputBufferList->bBufferPending[pComponentPrivate->pInputBufferList->numBuffers] = 0; in AllocateBuffer()
1670 …ivate->pInputBufferList->numBuffers,pComponentPrivate->pInputBufferList->pBufHdr[pComponentPrivate… in AllocateBuffer()
1671 …onentPrivate->pInputBufferList->bufferOwner[pComponentPrivate->pInputBufferList->numBuffers++] = 1; in AllocateBuffer()
1672 if (pComponentPrivate->pInputBufferList->numBuffers == pPortDef->nBufferCountActual) { in AllocateBuffer()
1680 …vate->pOutputBufferList->pBufHdr[pComponentPrivate->pOutputBufferList->numBuffers] = pBufferHeader; in AllocateBuffer()
1681 …ntPrivate->pOutputBufferList->bBufferPending[pComponentPrivate->pOutputBufferList->numBuffers] = 0; in AllocateBuffer()
1682 …entPrivate->pOutputBufferList->bufferOwner[pComponentPrivate->pOutputBufferList->numBuffers++] = 1; in AllocateBuffer()
[all …]
DOMX_G729Dec_Utils.c145 nIpBuf = pComponentPrivate->pInputBufferList->numBuffers; in G729DECFill_LCMLInitParams()
147 nOpBuf = pComponentPrivate->pOutputBufferList->numBuffers; in G729DECFill_LCMLInitParams()
150 nOpBuf = pComponentPrivate->pOutputBufferList->numBuffers; in G729DECFill_LCMLInitParams()
239 if (pComponentPrivate->pInputBufferList->numBuffers) { in G729DECFill_LCMLInitParams()
240 arr[3] = (OMX_U16)pComponentPrivate->pInputBufferList->numBuffers; in G729DECFill_LCMLInitParams()
258 if (pComponentPrivate->pOutputBufferList->numBuffers) { in G729DECFill_LCMLInitParams()
259 arr[6] = (OMX_U16)pComponentPrivate->pOutputBufferList->numBuffers; in G729DECFill_LCMLInitParams()
963 nBuf = pComponentPrivate->pInputBufferList->numBuffers; in G729DECHandleCommand()
1084 …nentPrivate->pInputBufferList->numBuffers = %d\n",pComponentPrivate->pInputBufferList->numBuffers); in G729DECHandleCommand()
1085 …ntPrivate->pOutputBufferList->numBuffers = %d\n",pComponentPrivate->pOutputBufferList->numBuffers); in G729DECHandleCommand()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_dec/src/
DOMX_AacDecoder.c267 pComponentPrivate->pInputBufferList->numBuffers = 0; in OMX_ComponentInit()
268 pComponentPrivate->pOutputBufferList->numBuffers = 0; in OMX_ComponentInit()
1843 …nentPrivate->dbg, "%d :: Ip Num = %ld\n",__LINE__,pComponentPrivate->pInputBufferList->numBuffers); in AllocateBuffer()
1844 …entPrivate->dbg, "%d :: Op Num = %ld\n",__LINE__,pComponentPrivate->pOutputBufferList->numBuffers); in AllocateBuffer()
1855 …rivate->pInputBufferList->pBufHdr[pComponentPrivate->pInputBufferList->numBuffers] = pBufferHeader; in AllocateBuffer()
1856 …nentPrivate->pInputBufferList->bBufferPending[pComponentPrivate->pInputBufferList->numBuffers] = 0; in AllocateBuffer()
1858 …ivate->pInputBufferList->numBuffers,pComponentPrivate->pInputBufferList->pBufHdr[pComponentPrivate… in AllocateBuffer()
1859 …onentPrivate->pInputBufferList->bufferOwner[pComponentPrivate->pInputBufferList->numBuffers++] = 1; 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/wbamr_dec/src/
DOMX_WbAmrDecoder.c269 pComponentPrivate->pInputBufferList->numBuffers = 0; /* initialize number of buffers */ in OMX_ComponentInit()
272 pComponentPrivate->pOutputBufferList->numBuffers = 0; /* initialize number of buffers */ in OMX_ComponentInit()
1750 …rivate->pInputBufferList->pBufHdr[pComponentPrivate->pInputBufferList->numBuffers] = pBufferHeader; in AllocateBuffer()
1751 …nentPrivate->pInputBufferList->bBufferPending[pComponentPrivate->pInputBufferList->numBuffers] = 0; in AllocateBuffer()
1752 …ivate->pInputBufferList->numBuffers,pComponentPrivate->pInputBufferList->pBufHdr[pComponentPrivate… in AllocateBuffer()
1753 …onentPrivate->pInputBufferList->bufferOwner[pComponentPrivate->pInputBufferList->numBuffers++] = 1; in AllocateBuffer()
1755 …nentPrivate->pInputBufferList->numBuffers = %d\n",pComponentPrivate->pInputBufferList->numBuffers); in AllocateBuffer()
1757 if (pComponentPrivate->pInputBufferList->numBuffers == pPortDef->nBufferCountActual) { in AllocateBuffer()
1766 …vate->pOutputBufferList->pBufHdr[pComponentPrivate->pOutputBufferList->numBuffers] = pBufferHeader; in AllocateBuffer()
1767 …ntPrivate->pOutputBufferList->bBufferPending[pComponentPrivate->pOutputBufferList->numBuffers] = 0; in AllocateBuffer()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/mp3_dec/src/
DOMX_Mp3Decoder.c271 pComponentPrivate->pInputBufferList->numBuffers = 0; in OMX_ComponentInit()
272 pComponentPrivate->pOutputBufferList->numBuffers = 0; in OMX_ComponentInit()
1910 …ER2(pComponentPrivate->dbg, " :: Ip Num = %ld\n", pComponentPrivate->pInputBufferList->numBuffers); in AllocateBuffer()
1911 …R2(pComponentPrivate->dbg, " :: Op Num = %ld\n", pComponentPrivate->pOutputBufferList->numBuffers); in AllocateBuffer()
1927 …rivate->pInputBufferList->pBufHdr[pComponentPrivate->pInputBufferList->numBuffers] = pBufferHeader; in AllocateBuffer()
1928 …nentPrivate->pInputBufferList->bBufferPending[pComponentPrivate->pInputBufferList->numBuffers] = 0; in AllocateBuffer()
1930 …ntPrivate->pInputBufferList->pBufHdr[%ld] = %p\n", pComponentPrivate->pInputBufferList->numBuffers, in AllocateBuffer()
1931 … pComponentPrivate->pInputBufferList->pBufHdr[pComponentPrivate->pInputBufferList->numBuffers]); in AllocateBuffer()
1933 …onentPrivate->pInputBufferList->bufferOwner[pComponentPrivate->pInputBufferList->numBuffers++] = 1; in AllocateBuffer()
1935 …entPrivate->pInputBufferList->numBuffers = %ld\n",pComponentPrivate->pInputBufferList->numBuffers); in AllocateBuffer()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_dec/src/
DOMX_AmrDecoder.c273 pComponentPrivate->pInputBufferList->numBuffers = 0; /* initialize number of buffers */ in OMX_ComponentInit()
277 pComponentPrivate->pOutputBufferList->numBuffers = 0; /* initialize number of buffers */ in OMX_ComponentInit()
1837 …rivate->pInputBufferList->pBufHdr[pComponentPrivate->pInputBufferList->numBuffers] = pBufferHeader; in AllocateBuffer()
1838 …nentPrivate->pInputBufferList->bBufferPending[pComponentPrivate->pInputBufferList->numBuffers] = 0; in AllocateBuffer()
1839 …ivate->pInputBufferList->numBuffers,pComponentPrivate->pInputBufferList->pBufHdr[pComponentPrivate… in AllocateBuffer()
1840 …onentPrivate->pInputBufferList->bufferOwner[pComponentPrivate->pInputBufferList->numBuffers++] = 1; in AllocateBuffer()
1842 …te->pInputBufferList->numBuffers = %d\n",__LINE__,pComponentPrivate->pInputBufferList->numBuffers); in AllocateBuffer()
1844 if (pComponentPrivate->pInputBufferList->numBuffers == pPortDef->nBufferCountActual) { in AllocateBuffer()
1853 …vate->pOutputBufferList->pBufHdr[pComponentPrivate->pOutputBufferList->numBuffers] = pBufferHeader; in AllocateBuffer()
1854 …ntPrivate->pOutputBufferList->bBufferPending[pComponentPrivate->pOutputBufferList->numBuffers] = 0; in AllocateBuffer()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/src/
DOMX_G726Encoder.c256 pComponentPrivate->pInputBufferList->numBuffers = 0; in OMX_ComponentInit()
260 pComponentPrivate->pOutputBufferList->numBuffers = 0; in OMX_ComponentInit()
1388 …pComponentPrivate->pInputBufferList->pBufHdr[pComponentPrivate->pInputBufferList->numBuffers] = pB… in AllocateBuffer()
1389 …nentPrivate->pInputBufferList->bBufferPending[pComponentPrivate->pInputBufferList->numBuffers] = 0; in AllocateBuffer()
1390 …pComponentPrivate->pInputBufferList->bufferOwner[pComponentPrivate->pInputBufferList->numBuffers++… in AllocateBuffer()
1391 if (pComponentPrivate->pInputBufferList->numBuffers == pPortDef->nBufferCountActual) { in AllocateBuffer()
1399 …pComponentPrivate->pOutputBufferList->pBufHdr[pComponentPrivate->pOutputBufferList->numBuffers] = … in AllocateBuffer()
1400 …ntPrivate->pOutputBufferList->bBufferPending[pComponentPrivate->pOutputBufferList->numBuffers] = 0; in AllocateBuffer()
1401 …entPrivate->pOutputBufferList->bufferOwner[pComponentPrivate->pOutputBufferList->numBuffers++] = 1; in AllocateBuffer()
1402 if (pComponentPrivate->pOutputBufferList->numBuffers == pPortDef->nBufferCountActual) { in AllocateBuffer()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_enc/src/
DOMX_G729Encoder.c275 pComponentPrivate->pInputBufferList->numBuffers = 0; in OMX_ComponentInit()
279 pComponentPrivate->pOutputBufferList->numBuffers = 0; in OMX_ComponentInit()
1663 …rivate->pInputBufferList->pBufHdr[pComponentPrivate->pInputBufferList->numBuffers] = pBufferHeader; in AllocateBuffer()
1664 …nentPrivate->pInputBufferList->bBufferPending[pComponentPrivate->pInputBufferList->numBuffers] = 0; in AllocateBuffer()
1665 …onentPrivate->pInputBufferList->bufferOwner[pComponentPrivate->pInputBufferList->numBuffers++] = 1; in AllocateBuffer()
1666 if (pComponentPrivate->pInputBufferList->numBuffers == pPortDef->nBufferCountActual) in AllocateBuffer()
1676 …vate->pOutputBufferList->pBufHdr[pComponentPrivate->pOutputBufferList->numBuffers] = pBufferHeader; in AllocateBuffer()
1677 …ntPrivate->pOutputBufferList->bBufferPending[pComponentPrivate->pOutputBufferList->numBuffers] = 0; in AllocateBuffer()
1678 …entPrivate->pOutputBufferList->bufferOwner[pComponentPrivate->pOutputBufferList->numBuffers++] = 1; in AllocateBuffer()
1679 if (pComponentPrivate->pOutputBufferList->numBuffers == pPortDef->nBufferCountActual) in AllocateBuffer()
[all …]
DOMX_G729Enc_Utils.c132 nIpBuf = pComponentPrivate->pInputBufferList->numBuffers; in G729ENC_FillLCMLInitParams()
135 nOpBuf = pComponentPrivate->pOutputBufferList->numBuffers; in G729ENC_FillLCMLInitParams()
217 if (pComponentPrivate->pInputBufferList->numBuffers) in G729ENC_FillLCMLInitParams()
219 arr[3] = (OMX_U16) pComponentPrivate->pInputBufferList->numBuffers; in G729ENC_FillLCMLInitParams()
228 if (pComponentPrivate->pOutputBufferList->numBuffers) in G729ENC_FillLCMLInitParams()
230 arr[6] = (OMX_U16) pComponentPrivate->pOutputBufferList->numBuffers; in G729ENC_FillLCMLInitParams()
964 … if (pComponentPrivate->nNumInputBufPending < pComponentPrivate->pInputBufferList->numBuffers) in G729ENC_HandleCommand()
966 … pComponentPrivate->nNumInputBufPending = pComponentPrivate->pInputBufferList->numBuffers; in G729ENC_HandleCommand()
990 … if (pComponentPrivate->nNumOutputBufPending < pComponentPrivate->pOutputBufferList->numBuffers) in G729ENC_HandleCommand()
992 … pComponentPrivate->nNumOutputBufPending = pComponentPrivate->pOutputBufferList->numBuffers; in G729ENC_HandleCommand()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/src/
DOMX_WbAmrEncoder.c278 pComponentPrivate->pInputBufferList->numBuffers = 0; in OMX_ComponentInit()
283 pComponentPrivate->pOutputBufferList->numBuffers = 0; in OMX_ComponentInit()
2004 …rivate->pInputBufferList->pBufHdr[pComponentPrivate->pInputBufferList->numBuffers] = pBufferHeader; in AllocateBuffer()
2005 …nentPrivate->pInputBufferList->bBufferPending[pComponentPrivate->pInputBufferList->numBuffers] = 0; in AllocateBuffer()
2006 …onentPrivate->pInputBufferList->bufferOwner[pComponentPrivate->pInputBufferList->numBuffers++] = 1; in AllocateBuffer()
2008 if (pComponentPrivate->pInputBufferList->numBuffers == pPortDef->nBufferCountActual) { in AllocateBuffer()
2016 …vate->pOutputBufferList->pBufHdr[pComponentPrivate->pOutputBufferList->numBuffers] = pBufferHeader; in AllocateBuffer()
2017 …ntPrivate->pOutputBufferList->bBufferPending[pComponentPrivate->pOutputBufferList->numBuffers] = 0; in AllocateBuffer()
2018 …entPrivate->pOutputBufferList->bufferOwner[pComponentPrivate->pOutputBufferList->numBuffers++] = 1; in AllocateBuffer()
2020 if (pComponentPrivate->pOutputBufferList->numBuffers == pPortDef->nBufferCountActual) { in AllocateBuffer()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_enc/src/
DOMX_AmrEncoder.c294 pComponentPrivate->pInputBufferList->numBuffers = 0; in OMX_ComponentInit()
298 pComponentPrivate->pOutputBufferList->numBuffers = 0; in OMX_ComponentInit()
1903 …rivate->pInputBufferList->pBufHdr[pComponentPrivate->pInputBufferList->numBuffers] = pBufferHeader; in AllocateBuffer()
1904 …nentPrivate->pInputBufferList->bBufferPending[pComponentPrivate->pInputBufferList->numBuffers] = 0; in AllocateBuffer()
1905 …onentPrivate->pInputBufferList->bufferOwner[pComponentPrivate->pInputBufferList->numBuffers++] = 1; in AllocateBuffer()
1906 if (pComponentPrivate->pInputBufferList->numBuffers == pPortDef->nBufferCountActual) { in AllocateBuffer()
1914 …vate->pOutputBufferList->pBufHdr[pComponentPrivate->pOutputBufferList->numBuffers] = pBufferHeader; in AllocateBuffer()
1915 …ntPrivate->pOutputBufferList->bBufferPending[pComponentPrivate->pOutputBufferList->numBuffers] = 0; in AllocateBuffer()
1916 …entPrivate->pOutputBufferList->bufferOwner[pComponentPrivate->pOutputBufferList->numBuffers++] = 1; in AllocateBuffer()
1919 if (pComponentPrivate->pOutputBufferList->numBuffers == pPortDef->nBufferCountActual) { in AllocateBuffer()
[all …]
/hardware/qcom/display/msm8084/libgralloc/
Dgpu.cpp204 const uint32_t numBuffers = m->numBuffers; in gralloc_alloc_framebuffer_locked() local
210 if (numBuffers == 1) { in gralloc_alloc_framebuffer_locked()
219 if (bufferMask >= ((1LU<<numBuffers)-1)) { in gralloc_alloc_framebuffer_locked()
234 for (uint32_t i=0 ; i<numBuffers ; i++) { in gralloc_alloc_framebuffer_locked()
/hardware/qcom/display/msm8960/libgralloc/
Dgpu.cpp191 const uint32_t numBuffers = m->numBuffers; in gralloc_alloc_framebuffer_locked() local
197 if (numBuffers == 1) { in gralloc_alloc_framebuffer_locked()
206 if (bufferMask >= ((1LU<<numBuffers)-1)) { in gralloc_alloc_framebuffer_locked()
221 for (uint32_t i=0 ; i<numBuffers ; i++) { in gralloc_alloc_framebuffer_locked()
/hardware/qcom/display/msm8226/libgralloc/
Dgpu.cpp201 const uint32_t numBuffers = m->numBuffers; in gralloc_alloc_framebuffer_locked() local
207 if (numBuffers == 1) { in gralloc_alloc_framebuffer_locked()
216 if (bufferMask >= ((1LU<<numBuffers)-1)) { in gralloc_alloc_framebuffer_locked()
231 for (uint32_t i=0 ; i<numBuffers ; i++) { in gralloc_alloc_framebuffer_locked()

123