/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/src/ |
D | OMX_VPP_Utils.c | 117 OMX_ERRORTYPE VPP_IsValidBuffer(OMX_BUFFERHEADERTYPE *pBufHeader, in VPP_IsValidBuffer() argument 127 while (pComponentPrivate->sCompPorts[pIndex].pVPPBufHeader[nCount].pBufHeader != pBufHeader) in VPP_IsValidBuffer() 144 OMX_ERRORTYPE VPP_GetPortDefFromBufHeader(OMX_BUFFERHEADERTYPE *pBufHeader, in VPP_GetPortDefFromBufHeader() argument 149 if ((pBufHeader->nOutputPortIndex != OMX_VPP_RGB_OUTPUT_PORT) && in VPP_GetPortDefFromBufHeader() 150 (pBufHeader->nOutputPortIndex != OMX_VPP_YUV_OUTPUT_PORT) && in VPP_GetPortDefFromBufHeader() 151 ((pBufHeader->nInputPortIndex == OMX_VPP_INPUT_PORT) || in VPP_GetPortDefFromBufHeader() 152 (pBufHeader->nInputPortIndex == OMX_VPP_INPUT_OVERLAY_PORT ))){ /* input port */ in VPP_GetPortDefFromBufHeader() 154 *portDef = pBufHeader->pInputPortPrivate; in VPP_GetPortDefFromBufHeader() 157 else if ((pBufHeader->nOutputPortIndex == OMX_VPP_RGB_OUTPUT_PORT) || in VPP_GetPortDefFromBufHeader() 158 (pBufHeader->nOutputPortIndex == OMX_VPP_YUV_OUTPUT_PORT)){ /* output port */ in VPP_GetPortDefFromBufHeader() [all …]
|
/hardware/intel/img/psb_video/src/ |
D | pnw_jpeg.c | 317 BUFFER_HEADER *pBufHeader; in pnw__jpeg_process_picture_param() local 444 pBufHeader = (BUFFER_HEADER *)jpeg_ctx->jpeg_coded_buf.pMemInfo; in pnw__jpeg_process_picture_param() 445 pBufHeader->ui32BytesUsed = 0; /* Not include BUFFER_HEADER*/ in pnw__jpeg_process_picture_param() 450 pBufHeader->ui32Reserved3 = PNW_JPEG_HEADER_MAX_SIZE;//Next coded buffer offset in pnw__jpeg_process_picture_param() 451 pBufHeader->ui32BytesUsed = jpeg_ctx->jpeg_coded_buf.ui32BytesWritten - sizeof(BUFFER_HEADER); in pnw__jpeg_process_picture_param() 454 … sizeof(BUFFER_HEADER), pBufHeader->ui32BytesUsed, pBufHeader->ui32Reserved3); in pnw__jpeg_process_picture_param() 627 BUFFER_HEADER* pBufHeader; in pnw_jpeg_AppendMarkers() local 635 pBufHeader = (BUFFER_HEADER *)pSegStart; in pnw_jpeg_AppendMarkers() 641 pBufHeader->ui32Reserved3 = PNW_JPEG_HEADER_MAX_SIZE; in pnw_jpeg_AppendMarkers() 648 pBufHeader = (BUFFER_HEADER *)pSegStart; in pnw_jpeg_AppendMarkers() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_dec/src/ |
D | OMX_AmrDec_Utils.c | 1703 OMX_ERRORTYPE NBAMRDECHandleDataBuf_FromApp(OMX_BUFFERHEADERTYPE* pBufHeader, in NBAMRDECHandleDataBuf_FromApp() argument 1743 eError = NBAMRDECGetBufferDirection(pBufHeader, &eDir); in NBAMRDECHandleDataBuf_FromApp() 1749 if (pBufHeader->pBuffer == NULL) { in NBAMRDECHandleDataBuf_FromApp() 1759 pBufHeader); in NBAMRDECHandleDataBuf_FromApp() 1766 if ( pBufHeader->nFilledLen > 0) { in NBAMRDECHandleDataBuf_FromApp() 1776 nFilledLenLocal=pBufHeader->nFilledLen; in NBAMRDECHandleDataBuf_FromApp() 1785 TOCentry = pBufHeader->pBuffer[0]; in NBAMRDECHandleDataBuf_FromApp() 1790 memmove(pBufHeader->pBuffer, in NBAMRDECHandleDataBuf_FromApp() 1791 pBufHeader->pBuffer + 1, in NBAMRDECHandleDataBuf_FromApp() 1797 if (offset > pBufHeader->nAllocLen){ in NBAMRDECHandleDataBuf_FromApp() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_dec/src/ |
D | OMX_WbAmrDec_Utils.c | 1718 OMX_ERRORTYPE WBAMR_DEC_HandleDataBuf_FromApp(OMX_BUFFERHEADERTYPE* pBufHeader, in WBAMR_DEC_HandleDataBuf_FromApp() argument 1750 eError = WBAMR_DEC_GetBufferDirection(pBufHeader, &eDir); in WBAMR_DEC_HandleDataBuf_FromApp() 1756 if( pBufHeader->pBuffer == NULL) { in WBAMR_DEC_HandleDataBuf_FromApp() 1765 pBufHeader); in WBAMR_DEC_HandleDataBuf_FromApp() 1772 if ( pBufHeader->nFilledLen > 0) in WBAMR_DEC_HandleDataBuf_FromApp() 1780 nFilledLenLocal=pBufHeader->nFilledLen; in WBAMR_DEC_HandleDataBuf_FromApp() 1789 TOCentry = pBufHeader->pBuffer[0]; in WBAMR_DEC_HandleDataBuf_FromApp() 1794 memmove(pBufHeader->pBuffer, in WBAMR_DEC_HandleDataBuf_FromApp() 1795 pBufHeader->pBuffer + 1, in WBAMR_DEC_HandleDataBuf_FromApp() 1801 if (offset > pBufHeader->nAllocLen){ in WBAMR_DEC_HandleDataBuf_FromApp() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/src/ |
D | OMX_WbAmrEnc_Utils.c | 1691 OMX_ERRORTYPE WBAMRENC_HandleDataBufFromApp(OMX_BUFFERHEADERTYPE* pBufHeader, in WBAMRENC_HandleDataBufFromApp() argument 1706 eError = WBAMRENC_GetBufferDirection(pBufHeader, &eDir); in WBAMRENC_HandleDataBufFromApp() 1717 if (pBufHeader->nFilledLen > 0) { in WBAMRENC_HandleDataBufFromApp() 1720 nFrames = (OMX_U8)(pBufHeader->nFilledLen / frameLength); in WBAMRENC_HandleDataBufFromApp() 1724 pComponentPrivate->nHoldLength = pBufHeader->nFilledLen - frameLength * nFrames; in WBAMRENC_HandleDataBufFromApp() 1735 pExtraData = pBufHeader->pBuffer + frameLength * nFrames; in WBAMRENC_HandleDataBufFromApp() 1747 pBufHeader->nFilledLen -= pComponentPrivate->nHoldLength; in WBAMRENC_HandleDataBufFromApp() 1752 pComponentPrivate->nHoldLength = pBufHeader->nFilledLen; in WBAMRENC_HandleDataBufFromApp() 1767 pBufHeader->pBuffer, in WBAMRENC_HandleDataBufFromApp() 1781 pBufHeader->pBuffer, in WBAMRENC_HandleDataBufFromApp() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/src/ |
D | OMX_WmaDec_Utils.c | 1274 OMX_ERRORTYPE WMADECHandleDataBuf_FromApp(OMX_BUFFERHEADERTYPE* pBufHeader, in WMADECHandleDataBuf_FromApp() argument 1296 eError = WMADECGetBufferDirection(pBufHeader, &eDir); in WMADECHandleDataBuf_FromApp() 1309 pBufHeader); in WMADECHandleDataBuf_FromApp() 1314 if ( (pBufHeader->nFilledLen > 0) || (pBufHeader->nFlags & OMX_BUFFERFLAG_EOS)) in WMADECHandleDataBuf_FromApp() 1318 pBufHeader->pBuffer, in WMADECHandleDataBuf_FromApp() 1328 __LINE__,pBufHeader,pBufHeader->pBuffer); in WMADECHandleDataBuf_FromApp() 1330 … OMX_PRBUFFER2(pComponentPrivate->dbg, "pBufHeader->nFilledLen :%ld ",pBufHeader->nFilledLen); in WMADECHandleDataBuf_FromApp() 1335 PREF(pBufHeader,pBuffer), in WMADECHandleDataBuf_FromApp() 1382 if(pBufHeader->nFlags & OMX_BUFFERFLAG_CODECCONFIG){ in WMADECHandleDataBuf_FromApp() 1386 … eError=WMADEC_Parser( pBufHeader->pBuffer,pComponentPrivate->rcaheader, pComponentPrivate->dbg); in WMADECHandleDataBuf_FromApp() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_dec/src/ |
D | OMX_G722Dec_Utils.c | 163 OMX_BUFFERHEADERTYPE *pBufHeader = NULL; in G722DEC_ComponentThread() local 166 int ret = read(pComponentPrivate->dataPipe[0], &pBufHeader, sizeof(pBufHeader)); in G722DEC_ComponentThread() 171 eError = G722DEC_HandleDataBuf_FromApp (pBufHeader,pComponentPrivate); in G722DEC_ComponentThread() 1414 OMX_ERRORTYPE G722DEC_HandleDataBuf_FromApp(OMX_BUFFERHEADERTYPE* pBufHeader, in G722DEC_HandleDataBuf_FromApp() argument 1420 G722DEC_DPRINT (":: pBufHeader->pMarkData = %p\n",pBufHeader->pMarkData); in G722DEC_HandleDataBuf_FromApp() 1422 pBufHeader->pPlatformPrivate = pComponentPrivate; in G722DEC_HandleDataBuf_FromApp() 1423 eError = G722DEC_GetBufferDirection(pBufHeader, &eDir); in G722DEC_HandleDataBuf_FromApp() 1435 pBufHeader->pBuffer, OMX_DirInput, &pLcmlHdr); in G722DEC_HandleDataBuf_FromApp() 1442 pComponentPrivate->arrTimestamp[pComponentPrivate->IpBufindex] = pBufHeader->nTimeStamp; in G722DEC_HandleDataBuf_FromApp() 1444 pComponentPrivate->arrTickCount[pComponentPrivate->IpBufindex] = pBufHeader->nTickCount; in G722DEC_HandleDataBuf_FromApp() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_enc/src/ |
D | OMX_AacEnc_CompThread.c | 84 OMX_BUFFERHEADERTYPE *pBufHeader; in AACENC_ComponentThread() local 171 pBufHeader = NULL; in AACENC_ComponentThread() 172 ret = read(pComponentPrivate->dataPipe[0], &pBufHeader, sizeof(pBufHeader)); in AACENC_ComponentThread() 179 OMX_PRBUFFER2(pComponentPrivate->dbg, "%d :: pBufHeader:%p \n",__LINE__, pBufHeader); in AACENC_ComponentThread() 180 eError = AACENCHandleDataBuf_FromApp(pBufHeader,pComponentPrivate); in AACENC_ComponentThread()
|
D | OMX_AacEnc_Utils.c | 1872 OMX_ERRORTYPE AACENCHandleDataBuf_FromApp(OMX_BUFFERHEADERTYPE* pBufHeader, AACENC_COMPONENT_PRIVAT… in AACENCHandleDataBuf_FromApp() argument 1883 eError = AACENCGetBufferDirection(pBufHeader, &eDir); in AACENCHandleDataBuf_FromApp() 1895 if ((pBufHeader->nFilledLen > 0) || (pBufHeader->nFlags & OMX_BUFFERFLAG_EOS)) in AACENCHandleDataBuf_FromApp() 1898 …eError = AACENCGetCorresponding_LCMLHeader(pComponentPrivate, pBufHeader->pBuffer, OMX_DirInput, &… in AACENCHandleDataBuf_FromApp() 1915 PREF(pBufHeader,pBuffer), in AACENCHandleDataBuf_FromApp() 1920 if(pBufHeader->nFlags & OMX_BUFFERFLAG_EOS) in AACENCHandleDataBuf_FromApp() 1928 … pComponentPrivate->timestampBufIndex[pComponentPrivate->IpBufindex] = pBufHeader->nTimeStamp; in AACENCHandleDataBuf_FromApp() 1929 … pComponentPrivate->tickcountBufIndex[pComponentPrivate->IpBufindex] = pBufHeader->nTickCount; in AACENCHandleDataBuf_FromApp() 1933 …ivate->dbg, "%d :: UTIL: Sending input buffer header to Codec = %p to LCML\n",__LINE__,pBufHeader); in AACENCHandleDataBuf_FromApp() 1934 …nentPrivate->dbg, "%d :: UTIL: Sending INPUT BUFFER to Codec = %p\n",__LINE__,pBufHeader->pBuffer); in AACENCHandleDataBuf_FromApp() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_enc/src/ |
D | OMX_G722Enc_Utils.c | 111 OMX_BUFFERHEADERTYPE *pBufHeader = NULL; in ComponentThread() local 207 ret = read(pComponentPrivate->dataPipe[0], &pBufHeader, sizeof(pBufHeader)); in ComponentThread() 212 eError = G722ENC_HandleDataBuf_FromApp (pBufHeader,pComponentPrivate); in ComponentThread() 464 pTemp = pComponentPrivate->pBufHeader[G722ENC_OUTPUT_PORT]; in G722ENC_Fill_LCMLInitParams() 1187 OMX_ERRORTYPE G722ENC_HandleDataBuf_FromApp(OMX_BUFFERHEADERTYPE* pBufHeader, in G722ENC_HandleDataBuf_FromApp() argument 1197 eError = G722ENC_GetBufferDirection(pBufHeader, &eDir, pComponentPrivate); in G722ENC_HandleDataBuf_FromApp() 1205 if ((pBufHeader->nFilledLen > 0) || (pBufHeader->nFlags == OMX_BUFFERFLAG_EOS)) { in G722ENC_HandleDataBuf_FromApp() 1208 …d Comp:: Sending Filled Input buffer = %p, %p to LCML\n", __LINE__,pBufHeader,pBufHeader->pBuffer); in G722ENC_HandleDataBuf_FromApp() 1209 … eError = G722ENC_GetCorresponding_LCMLHeader(pBufHeader->pBuffer, OMX_DirInput, &pLcmlHdr); in G722ENC_HandleDataBuf_FromApp() 1216 … pComponentPrivate->arrTimestamp[pComponentPrivate->IpBufindex] = pBufHeader->nTimeStamp; in G722ENC_HandleDataBuf_FromApp() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_enc/src/ |
D | OMX_AmrEnc_Utils.c | 1569 OMX_ERRORTYPE NBAMRENC_HandleDataBufFromApp(OMX_BUFFERHEADERTYPE* pBufHeader, in NBAMRENC_HandleDataBufFromApp() argument 1584 eError = NBAMRENC_GetBufferDirection(pBufHeader, &eDir); in NBAMRENC_HandleDataBufFromApp() 1593 if (pBufHeader->nFilledLen > 0) { in NBAMRENC_HandleDataBufFromApp() 1596 nFrames = (OMX_U8)(pBufHeader->nFilledLen / frameLength); in NBAMRENC_HandleDataBufFromApp() 1598 … pComponentPrivate->nHoldLength = pBufHeader->nFilledLen - frameLength*nFrames; in NBAMRENC_HandleDataBufFromApp() 1605 … pExtraData = pBufHeader->pBuffer + frameLength*nFrames; in NBAMRENC_HandleDataBufFromApp() 1615 … pBufHeader->nFilledLen-=pComponentPrivate->nHoldLength; in NBAMRENC_HandleDataBufFromApp() 1621 … pComponentPrivate->nHoldLength = pBufHeader->nFilledLen; in NBAMRENC_HandleDataBufFromApp() 1628 … memcpy(pComponentPrivate->pHoldBuffer, pBufHeader->pBuffer, pComponentPrivate->nHoldLength); in NBAMRENC_HandleDataBufFromApp() 1641 pBufHeader->pBuffer, in NBAMRENC_HandleDataBufFromApp() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/src/ |
D | OMX_G711Dec_Utils.c | 1496 OMX_ERRORTYPE G711DECHandleDataBuf_FromApp(OMX_BUFFERHEADERTYPE* pBufHeader, in G711DECHandleDataBuf_FromApp() argument 1518 eError = G711DECGetBufferDirection(pBufHeader, &eDir); in G711DECHandleDataBuf_FromApp() 1527 if ( pBufHeader->nFilledLen > 0 ) { in G711DECHandleDataBuf_FromApp() 1535 if ( pBufHeader->nFilledLen >= frameLength ) { in G711DECHandleDataBuf_FromApp() 1540 pComponentPrivate->nHoldLength = pBufHeader->nFilledLen - frameLength; in G711DECHandleDataBuf_FromApp() 1548 … pExtraData = pBufHeader->pBuffer + (pComponentPrivate->pPortDef[G711DEC_INPUT_PORT]->nBufferSize); in G711DECHandleDataBuf_FromApp() 1554 pComponentPrivate->nHoldLength = pBufHeader->nFilledLen; in G711DECHandleDataBuf_FromApp() 1563 pBufHeader->pBuffer, pComponentPrivate->nHoldLength); in G711DECHandleDataBuf_FromApp() 1571 pBufHeader); in G711DECHandleDataBuf_FromApp() 1575 … pComponentPrivate->pInputBufHdrPending[pComponentPrivate->nNumInputBufPending++] = pBufHeader; in G711DECHandleDataBuf_FromApp() [all …]
|
D | OMX_G711Dec_ComponentThread.c | 73 OMX_BUFFERHEADERTYPE *pBufHeader = NULL; in ComponentThread() local 127 ret = read(pComponentPrivate->dataPipe[0], &pBufHeader, sizeof(pBufHeader)); in ComponentThread() 133 eError = G711DECHandleDataBuf_FromApp (pBufHeader,pComponentPrivate); in ComponentThread()
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/src/ |
D | OMX_G726Enc_Utils.c | 1360 OMX_ERRORTYPE G726ENC_HandleDataBufFromApp(OMX_BUFFERHEADERTYPE* pBufHeader, in G726ENC_HandleDataBufFromApp() argument 1370 eError = G726ENC_GetBufferDirection(pBufHeader, &eDir); in G726ENC_HandleDataBufFromApp() 1378 if ((pBufHeader->nFilledLen > 0) || (pBufHeader->nFlags == OMX_BUFFERFLAG_EOS)) { in G726ENC_HandleDataBufFromApp() 1380 …eError = G726ENC_GetCorrespondingLCMLHeader(pComponentPrivate, pBufHeader->pBuffer, OMX_DirInput, … in G726ENC_HandleDataBufFromApp() 1386 if(pBufHeader->nFlags == OMX_BUFFERFLAG_EOS) { in G726ENC_HandleDataBufFromApp() 1395 … pComponentPrivate->arrTimestamp[pComponentPrivate->IpBufindex] = pBufHeader->nTimeStamp; in G726ENC_HandleDataBufFromApp() 1397 … pComponentPrivate->arrTickCount[pComponentPrivate->IpBufindex] = pBufHeader->nTickCount; in G726ENC_HandleDataBufFromApp() 1403 if (!G726ENC_IsPending(pComponentPrivate,pBufHeader,OMX_DirInput)) { in G726ENC_HandleDataBufFromApp() 1404 G726ENC_SetPending(pComponentPrivate,pBufHeader,OMX_DirInput,__LINE__); in G726ENC_HandleDataBufFromApp() 1409 (OMX_U8 *)pBufHeader->pBuffer, in G726ENC_HandleDataBufFromApp() [all …]
|
D | OMX_G726Enc_ComponentThread.c | 91 OMX_BUFFERHEADERTYPE *pBufHeader = NULL; in G726ENC_CompThread() local 163 ret = read(pComponentPrivate->dataPipe[0], &pBufHeader, sizeof(pBufHeader)); in G726ENC_CompThread() 168 eError = G726ENC_HandleDataBufFromApp(pBufHeader,pComponentPrivate); in G726ENC_CompThread()
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/src/ |
D | OMX_G726Dec_CompThread.c | 150 OMX_BUFFERHEADERTYPE *pBufHeader = NULL; in G726DEC_ComponentThread() local 153 ret = read(pComponentPrivate->dataPipe[0], &pBufHeader, sizeof(pBufHeader)); in G726DEC_ComponentThread() 158 eError = G726DEC_HandleDataBuf_FromApp (pBufHeader,pComponentPrivate); in G726DEC_ComponentThread()
|
D | OMX_G726Dec_Utils.c | 1308 OMX_ERRORTYPE G726DEC_HandleDataBuf_FromApp(OMX_BUFFERHEADERTYPE* pBufHeader, in G726DEC_HandleDataBuf_FromApp() argument 1316 G726DEC_DPRINT (":: pBufHeader->pMarkData = %p\n",pBufHeader->pMarkData); in G726DEC_HandleDataBuf_FromApp() 1318 pBufHeader->pPlatformPrivate = pComponentPrivate; in G726DEC_HandleDataBuf_FromApp() 1319 eError = G726DEC_GetBufferDirection(pBufHeader, &eDir); in G726DEC_HandleDataBuf_FromApp() 1331 pBufHeader->pBuffer, OMX_DirInput, &pLcmlHdr); in G726DEC_HandleDataBuf_FromApp() 1338 if (pBufHeader->nFilledLen > 0 || pBufHeader->nFlags == OMX_BUFFERFLAG_EOS) { in G726DEC_HandleDataBuf_FromApp() 1343 if(pBufHeader->nFlags == OMX_BUFFERFLAG_EOS) { in G726DEC_HandleDataBuf_FromApp() 1346 pBufHeader->nFlags = 0; in G726DEC_HandleDataBuf_FromApp() 1350 to LCML\n",pBufHeader,pBufHeader->pBuffer); in G726DEC_HandleDataBuf_FromApp() 1353 pComponentPrivate->arrTimestamp[pComponentPrivate->IpBufindex] = pBufHeader->nTimeStamp; in G726DEC_HandleDataBuf_FromApp() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_enc/src/ |
D | OMX_G729Enc_Utils.c | 1476 OMX_ERRORTYPE G729ENC_HandleDataBufFromApp(OMX_BUFFERHEADERTYPE* pBufHeader, in G729ENC_HandleDataBufFromApp() argument 1488 eError = G729ENC_GetBufferDirection(pBufHeader, &eDir); in G729ENC_HandleDataBufFromApp() 1498 if (pBufHeader->nFilledLen > 0) /* || pBufHeader->nFlags == OMX_BUFFERFLAG_EOS) */ in G729ENC_HandleDataBufFromApp() 1501 eError = G729ENC_GetCorrespondingLCMLHeader(pBufHeader->pBuffer, in G729ENC_HandleDataBufFromApp() 1511 PREF(pBufHeader,pBuffer), in G729ENC_HandleDataBufFromApp() 1516 if(pBufHeader->nFlags == OMX_BUFFERFLAG_EOS) in G729ENC_HandleDataBufFromApp() 1529 pBufHeader->nFlags = 0; in G729ENC_HandleDataBufFromApp() 1533 pComponentPrivate->arrTimestamp[pComponentPrivate->IpBufindex] = pBufHeader->nTimeStamp; in G729ENC_HandleDataBufFromApp() 1534 …pComponentPrivate->arrTickCount[pComponentPrivate->IpBufindex] = pBufHeader->nTickCount; … in G729ENC_HandleDataBufFromApp() 1540 if (!G729ENC_IsPending(pComponentPrivate,pBufHeader,OMX_DirInput)) in G729ENC_HandleDataBufFromApp() [all …]
|
D | OMX_G729Enc_ComponentThread.c | 112 OMX_BUFFERHEADERTYPE *pBufHeader = NULL; in G729ENC_CompThread() local 184 ret = read(pComponentPrivate->dataPipe[0], &pBufHeader, in G729ENC_CompThread() 185 sizeof(pBufHeader)); in G729ENC_CompThread() 191 eError = G729ENC_HandleDataBufFromApp(pBufHeader,pComponentPrivate); in G729ENC_CompThread()
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/src/ |
D | OMX_G711Enc_ComponentThread.c | 94 OMX_BUFFERHEADERTYPE *pBufHeader = NULL; in G711ENC_CompThread() local 151 ret = read(pComponentPrivate->dataPipe[0], &pBufHeader, sizeof(pBufHeader)); in G711ENC_CompThread() 156 eError = G711ENC_HandleDataBufFromApp(pBufHeader,pComponentPrivate); in G711ENC_CompThread()
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_dec/src/ |
D | OMX_G729Dec_Utils.c | 1434 OMX_ERRORTYPE G729DECHandleDataBuf_FromApp(OMX_BUFFERHEADERTYPE* pBufHeader, in G729DECHandleDataBuf_FromApp() argument 1447 eError = G729DECGetBufferDirection(pBufHeader, &eDir); in G729DECHandleDataBuf_FromApp() 1458 pInBufStruct = (G729DEC_BufParamStruct*)pBufHeader->pInputPortPrivate; in G729DECHandleDataBuf_FromApp() 1488 …eError = G729DECGetCorresponding_LCMLHeader(pComponentPrivate, pBufHeader->pBuffer, OMX_DirInput, … in G729DECHandleDataBuf_FromApp() 1493 if(pBufHeader->nFlags == OMX_BUFFERFLAG_EOS){ /* Last input buffer from App. */ in G729DECHandleDataBuf_FromApp() 1494 pBufHeader->nFlags = NORMAL_BUFFER; in G729DECHandleDataBuf_FromApp() 1508 pComponentPrivate->arrTimestamp[pComponentPrivate->IpBufindex] = pBufHeader->nTimeStamp; in G729DECHandleDataBuf_FromApp() 1509 …pComponentPrivate->arrTickCount[pComponentPrivate->IpBufindex] = pBufHeader->nTickCount; … in G729DECHandleDataBuf_FromApp() 1513 if (!G729DEC_IsPending(pComponentPrivate,pBufHeader,OMX_DirInput)) { in G729DECHandleDataBuf_FromApp() 1514 G729DEC_SetPending(pComponentPrivate,pBufHeader,OMX_DirInput); in G729DECHandleDataBuf_FromApp() [all …]
|
D | OMX_G729Dec_ComponentThread.c | 112 OMX_BUFFERHEADERTYPE *pBufHeader = NULL; in G729DEC_ComponentThread() local 191 ret = read(pComponentPrivate->dataPipe[0], &pBufHeader, sizeof(pBufHeader)); in G729DEC_ComponentThread() 195 eError = G729DECHandleDataBuf_FromApp (pBufHeader,pComponentPrivate); in G729DEC_ComponentThread()
|
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_dec/src/ |
D | OMX_AacDec_CompThread.c | 200 OMX_BUFFERHEADERTYPE *pBufHeader = NULL; in AACDEC_ComponentThread() local 203 ret = read(pComponentPrivate->dataPipe[0], &pBufHeader, sizeof(pBufHeader)); in AACDEC_ComponentThread() 208 eError = AACDEC_HandleDataBuf_FromApp (pBufHeader,pComponentPrivate); in AACDEC_ComponentThread()
|
/hardware/ti/omap4-aah/domx/test/sample_proxy/ |
D | test_sample_proxy.c | 581 OMX_BUFFERHEADERTYPE *pBufHeader; in SampleTest_WriteInBuffers() local 588 BUFFERLIST_CLEAR_ENTRY(pList, pBufHeader); in SampleTest_WriteInBuffers() 604 Test_Util_Memcpy_1Dto2D(pBufHeader->pBuffer, pTmpBuffer, in SampleTest_WriteInBuffers() 607 pBufHeader->nFilledLen = OMX_SAMPLE_BUFFER_SIZE; in SampleTest_WriteInBuffers() 610 pBufHeader->nInputPortIndex); in SampleTest_WriteInBuffers() 615 SampleTest_ReadInputFile(pContext, pBufHeader->pBuffer, in SampleTest_WriteInBuffers() 616 pBufHeader->nAllocLen, pContext->pInputfile); in SampleTest_WriteInBuffers() 617 pBufHeader->nFilledLen = pBufHeader->nAllocLen; in SampleTest_WriteInBuffers() 622 pBufHeader->nFlags |= OMX_BUFFERFLAG_EOS; in SampleTest_WriteInBuffers() 625 eError = OMX_EmptyThisBuffer(pContext->hComp, pBufHeader); in SampleTest_WriteInBuffers() [all …]
|
/hardware/ti/omap4xxx/domx/test/sample_proxy/ |
D | test_sample_proxy.c | 581 OMX_BUFFERHEADERTYPE *pBufHeader; in SampleTest_WriteInBuffers() local 588 BUFFERLIST_CLEAR_ENTRY(pList, pBufHeader); in SampleTest_WriteInBuffers() 604 Test_Util_Memcpy_1Dto2D(pBufHeader->pBuffer, pTmpBuffer, in SampleTest_WriteInBuffers() 607 pBufHeader->nFilledLen = OMX_SAMPLE_BUFFER_SIZE; in SampleTest_WriteInBuffers() 610 pBufHeader->nInputPortIndex); in SampleTest_WriteInBuffers() 615 SampleTest_ReadInputFile(pContext, pBufHeader->pBuffer, in SampleTest_WriteInBuffers() 616 pBufHeader->nAllocLen, pContext->pInputfile); in SampleTest_WriteInBuffers() 617 pBufHeader->nFilledLen = pBufHeader->nAllocLen; in SampleTest_WriteInBuffers() 622 pBufHeader->nFlags |= OMX_BUFFERFLAG_EOS; in SampleTest_WriteInBuffers() 625 eError = OMX_EmptyThisBuffer(pContext->hComp, pBufHeader); in SampleTest_WriteInBuffers() [all …]
|