/hardware/qcom/media/mm-video-legacy/vidc/vdec/src/ |
H A D | frameparser.cpp | 159 dest_len = dest->nAllocLen - (dest->nFilledLen + dest->nOffset); 334 dest_len = dest->nAllocLen - (dest->nFilledLen + dest->nOffset); 349 dest_len = dest->nAllocLen - (dest->nFilledLen + dest->nOffset); 533 dest_len = dest->nAllocLen - (dest->nFilledLen + dest->nOffset); 575 dest_len = dest->nAllocLen - (dest->nFilledLen + dest->nOffset);
|
H A D | omx_vdec.cpp | 1536 h264_scratch.nAllocLen = drv_ctx.ip_buf.buffer_size; 4263 (*bufferHdr)->nAllocLen = drv_ctx.op_buf.buffer_size; 4318 m_inp_heap_ptr[m_in_alloc_cnt].nAllocLen = bytes; 4632 input->nAllocLen = drv_ctx.ip_buf.buffer_size; 4829 input->nAllocLen = drv_ctx.ip_buf.buffer_size; 4969 bufHdr->nAllocLen = 0; 5167 (*bufferHdr)->nAllocLen = drv_ctx.op_buf.buffer_size; 6628 (OMX_U8*)p_extra < (pBuffer + buffer->nAllocLen) ) 6857 if (vdec_msg->msgdata.output_frame.len <= omxhdr->nAllocLen) 7123 if (pdest_frame->nAllocLen [all...] |
H A D | omx_vdec_copper.cpp | 1471 h264_scratch.nAllocLen = drv_ctx.ip_buf.buffer_size; 3950 (*bufferHdr)->nAllocLen = drv_ctx.op_buf.buffer_size; 4000 m_inp_heap_ptr[m_in_alloc_cnt].nAllocLen = bytes; 4289 input->nAllocLen = drv_ctx.ip_buf.buffer_size; 4498 input->nAllocLen = drv_ctx.ip_buf.buffer_size; 4681 bufHdr->nAllocLen = bytes; 6235 (OMX_U8*)p_extra < (buffer->pBuffer + buffer->nAllocLen) ) 6429 if ( vdec_msg->msgdata.output_frame.len <= omxhdr->nAllocLen) 6680 if (pdest_frame->nAllocLen == 6752 if ((pdest_frame->nAllocLen [all...] |
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/ |
H A D | frameparser.cpp | 166 dest_len = dest->nAllocLen - (dest->nFilledLen + dest->nOffset); 322 dest_len = dest->nAllocLen - (dest->nFilledLen + dest->nOffset); 336 dest_len = dest->nAllocLen - (dest->nFilledLen + dest->nOffset); 497 dest_len = dest->nAllocLen - (dest->nFilledLen + dest->nOffset); 536 dest_len = dest->nAllocLen - (dest->nFilledLen + dest->nOffset);
|
H A D | omx_vdec.cpp | 1521 h264_scratch.nAllocLen = drv_ctx.ip_buf.buffer_size - DEVICE_SCRATCH; 1522 h264_scratch.pBuffer = (OMX_U8 *)malloc (h264_scratch.nAllocLen); 4089 (*bufferHdr)->nAllocLen = drv_ctx.op_buf.buffer_size; 4147 m_inp_heap_ptr[m_in_alloc_cnt].nAllocLen = bytes; 4466 input->nAllocLen = drv_ctx.ip_buf.buffer_size - DEVICE_SCRATCH; 4657 input->nAllocLen = drv_ctx.ip_buf.buffer_size - DEVICE_SCRATCH; 4793 bufHdr->nAllocLen = 0; 5001 (*bufferHdr)->nAllocLen = drv_ctx.op_buf.buffer_size; 6448 (OMX_U8*)p_extra < (pBuffer + buffer->nAllocLen) ) { 6670 if (vdec_msg->msgdata.output_frame.len <= omxhdr->nAllocLen) { [all...] |
/hardware/qcom/media/mm-video-legacy/vidc/common/src/ |
H A D | extra_data_handler.cpp | 279 buf_hdr->nAllocLen) && extra_data->eType != VDEC_EXTRADATA_NONE) { 463 buf_hdr->nAllocLen); 475 buf_hdr->nAllocLen);
|
/hardware/ti/omap4xxx/domx/omx_proxy_component/omx_h264_enc/src/ |
H A D | omx_proxy_h264enc.c | 557 OMX_U32 nFilledLen, nAllocLen; local 584 nAllocLen = pBufferHdr->nAllocLen; 589 pBufferHdr->nAllocLen = tParamStruct.nBufferSize; 693 pBufferHdr->nAllocLen = nAllocLen;
|
/hardware/ti/omap4xxx/domx/omx_proxy_component/omx_mpeg4_enc/src/ |
H A D | omx_proxy_mpeg4enc.c | 540 OMX_U32 nFilledLen, nAllocLen; local 567 nAllocLen = pBufferHdr->nAllocLen; 572 pBufferHdr->nAllocLen = tParamStruct.nBufferSize; 679 pBufferHdr->nAllocLen = nAllocLen;
|
/hardware/qcom/media/mm-video-legacy/vidc/vdec/test/ |
H A D | omx_vdec_test.cpp | 749 (OMX_U8*)pExtra < (pBuffer->pBuffer + pBuffer->nAllocLen) && 807 if (pExtra->nSize < (pBuffer->nAllocLen - (OMX_U32)pExtra)) 2492 pOutYUVBufHdrs[bufCnt]->nAllocLen); 2507 pOutYUVBufHdrs[bufCnt]->nAllocLen); 2939 if(len > pBufHdr->nAllocLen) 2941 DEBUG_PRINT_ERROR("Error in sufficient buffer framesize %d, allocalen %d noffset %d\n",len,pBufHdr->nAllocLen, pBufHdr->nOffset); 2943 pBufHdr->nAllocLen - pBufHdr->nOffset); 2994 if (total_bytes == pBufHdr->nAllocLen) 3482 unsigned int end = (unsigned int)(pBufHdr->pBuffer + pBufHdr->nAllocLen); 3806 pBuffer->nAllocLen); [all...] |
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/tests/ |
H A D | VPPTest.c | 1729 APP_DPRINT(" ::reading INPUT DATA file pBuffer->nAllocLen %d read=%d\n", 1730 pBuffer->nAllocLen,nRead); 1731 if((nRead < pBuffer->nAllocLen) && (done == 0)){ 1793 if (pBuf->nAllocLen != pBuf->nFilledLen ) { 1820 if (pBuf->nAllocLen != pBuf->nFilledLen ) { 2068 APP_DPRINT(" :: ------------- before File Read -------------- %d\n",pBuf->nAllocLen); 2071 nRead = fread(pBuf->pBuffer, 1, pBuf->nAllocLen, fIn); 2073 ReadFile(fIn, pBuf->pBuffer, pBuf->nAllocLen, &nRead, NULL); 2077 APP_DPRINT ("App: pBuf->nAllocLen = %ld\n",pBuf->nAllocLen); [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_enc/tests/ |
H A D | AacEncTest.c | 1445 nRead = fread(pInputBufferHeader[i]->pBuffer, 1, pInputBufferHeader[i]->nAllocLen, fIn); 1447 if((nRead < pInputBufferHeader[i]->nAllocLen) && (done == 0)) 1538 nRead = fread(pBuffer->pBuffer, 1, pBuffer->nAllocLen, fIn); 1540 if((nRead < pBuffer->nAllocLen) && (done == 0)) 1600 nRead = fread(pBuffer->pBuffer, 1, pBuffer->nAllocLen, fIn); 1627 else if((nRead < pBuffer->nAllocLen) && (done == 0)) 1683 nRead = fread(pBuffer->pBuffer, 1, pBuffer->nAllocLen, fIn); 1685 if((nRead < pBuffer->nAllocLen) && (done == 0)) 1860 nRead = fread(pBuffer->pBuffer, 1, pBuffer->nAllocLen, fIn); 1862 if((nRead < pBuffer->nAllocLen) [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_dec/src/ |
H A D | OMX_G729Dec_Utils.c | 287 pTemp->nAllocLen = nIpBufSize; 324 pTemp->nAllocLen = nOpBufSize; 986 pComponentPrivate->pInputBufHdrPending[i]->nAllocLen, 1003 pComponentPrivate->pOutputBufHdrPending[i]->nAllocLen, 1518 pBufHeader->nAllocLen, 1576 pBufHeader->nAllocLen, 1577 pBufHeader->nAllocLen, 1610 pBufHeader->nAllocLen, 1611 pBufHeader->nAllocLen, 2331 pTemp->nAllocLen [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_enc/src/ |
H A D | OMX_G729Enc_Utils.c | 256 pTemp->nAllocLen = nIpBufSize; 293 pTemp->nAllocLen = nOpBufSize; 982 pComponentPrivate->pInputBufHdrPending[i]->nAllocLen, 1008 pComponentPrivate->pOutputBufHdrPending[i]->nAllocLen, 1546 pBufHeader->nAllocLen, 1650 G729ENC_DPRINT("pBufHeader->nAllocLen = %d\n",pBufHeader->nAllocLen); 1655 pBufHeader->nAllocLen, 1656 pBufHeader->nAllocLen, 1686 pBufHeader->nAllocLen, [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/tests/ |
H A D | G726DecTest.c | 1420 nRead = fread(pBuf->pBuffer, 1, pBuf->nAllocLen , fIn); 1425 pBuf->nAllocLen = nIpBufSize; 1429 APP_DPRINT ("%d :: App:: pBuf->pBuffer = %p pBuf->nAllocLen = * %ld, nRead = %d, totalread = %d\n", 1430 __LINE__, pBuf->pBuffer, pBuf->nAllocLen, nRead, totalRead); 1433 if (nRead < pBuf->nAllocLen){
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/tests/ |
H A D | G711DecTest.c | 1619 numRead = 2*pBuf->nAllocLen; 1622 numRead = pBuf->nAllocLen/2; 1626 numRead = 2*pBuf->nAllocLen; 1630 numRead = pBuf->nAllocLen/2; 1635 numRead = pBuf->nAllocLen;
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_enc/tests/ |
H A D | G729EncTest.c | 935 nRead = fread(pBuffer->pBuffer, 1, pBuffer->nAllocLen, fIn); 1009 nRead = fread(pBuffer->pBuffer, 1, pBuffer->nAllocLen, fIn); 1067 nRead = fread(pBuffer->pBuffer, 1, pBuffer->nAllocLen, fIn); 1070 if((nRead < pBuffer->nAllocLen) && (done == 0)) { 1196 nRead = fread(pBuffer->pBuffer, 1, pBuffer->nAllocLen, fIn);
|
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/dec/h264/ |
H A D | Exynos_OMX_H264dec.c | 919 plane.allocSize = pExynosInputPort->extendBufferHeader[i].OMXBufferHeader->nAllocLen; 1011 OMX_U32 nAllocLen[MFC_OUTPUT_BUFFER_PLANE] = {0, 0}; local 1015 nAllocLen[0] = calc_plane(pH264Dec->hMFCH264Handle.codecOutbufConf.nFrameWidth, 1017 nAllocLen[1] = calc_plane(pH264Dec->hMFCH264Handle.codecOutbufConf.nFrameWidth, 1021 ret = Exynos_Allocate_CodecBuffers(pOMXComponent, OUTPUT_PORT_INDEX, nOutbufs, nAllocLen); 1866 OMX_U32 nAllocLen[VIDEO_BUFFER_MAX_PLANES] = {0, 0, 0}; local 1867 nAllocLen[0] = pExynosOutputPort->portDefinition.format.video.nFrameWidth * pExynosOutputPort->portDefinition.format.video.nFrameHeight; 1868 nAllocLen[1] = pExynosOutputPort->portDefinition.format.video.nFrameWidth * pExynosOutputPort->portDefinition.format.video.nFrameHeight / 2; 1873 (unsigned int *)nAllocLen, (unsigned int *)dataLen,
|
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/dec/mpeg4/ |
H A D | Exynos_OMX_Mpeg4dec.c | 840 plane.allocSize = pExynosInputPort->extendBufferHeader[i].OMXBufferHeader->nAllocLen; 992 OMX_U32 nAllocLen[MFC_OUTPUT_BUFFER_PLANE] = {0, 0}; local 996 nAllocLen[0] = calc_plane(pMpeg4Dec->hMFCMpeg4Handle.codecOutbufConf.nFrameWidth, 998 nAllocLen[1] = calc_plane(pMpeg4Dec->hMFCMpeg4Handle.codecOutbufConf.nFrameWidth, 1002 ret = Exynos_Allocate_CodecBuffers(pOMXComponent, OUTPUT_PORT_INDEX, nOutbufs, nAllocLen); 1892 OMX_U32 nAllocLen[VIDEO_BUFFER_MAX_PLANES] = {0, 0, 0}; local 1893 nAllocLen[0] = pExynosOutputPort->portDefinition.format.video.nFrameWidth * pExynosOutputPort->portDefinition.format.video.nFrameHeight; 1894 nAllocLen[1] = pExynosOutputPort->portDefinition.format.video.nFrameWidth * pExynosOutputPort->portDefinition.format.video.nFrameHeight / 2; 1899 (unsigned int *)nAllocLen, (unsigned int *)dataLen,
|
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/dec/vp8/ |
H A D | Exynos_OMX_Vp8dec.c | 651 plane.allocSize = pExynosInputPort->extendBufferHeader[i].OMXBufferHeader->nAllocLen; 802 OMX_U32 nAllocLen[MFC_OUTPUT_BUFFER_PLANE] = {0, 0}; local 806 nAllocLen[0] = calc_plane(pVp8Dec->hMFCVp8Handle.codecOutbufConf.nFrameWidth, 808 nAllocLen[1] = calc_plane(pVp8Dec->hMFCVp8Handle.codecOutbufConf.nFrameWidth, 812 ret = Exynos_Allocate_CodecBuffers(pOMXComponent, OUTPUT_PORT_INDEX, nOutbufs, nAllocLen); 1481 OMX_U32 nAllocLen[VIDEO_BUFFER_MAX_PLANES] = {0, 0, 0}; local 1482 nAllocLen[0] = pExynosOutputPort->portDefinition.format.video.nFrameWidth * pExynosOutputPort->portDefinition.format.video.nFrameHeight; 1483 nAllocLen[1] = pExynosOutputPort->portDefinition.format.video.nFrameWidth * pExynosOutputPort->portDefinition.format.video.nFrameHeight / 2; 1488 (unsigned int *)nAllocLen, (unsigned int *)dataLen,
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_enc/src/ |
H A D | OMX_G722Enc_Utils.c | 416 pTemp->nAllocLen = nIpBufSize; 495 pTemp->nAllocLen = nOpBufSize; 1237 pBufHeader->nAllocLen, 1339 pBufHeader->nAllocLen, 1367 pBufHeader->nAllocLen, 2290 pComponentPrivate->pInputBufHdrPending[i]->nAllocLen, 2309 pComponentPrivate->pOutputBufHdrPending[i]->nAllocLen, 2618 pTemp->nAllocLen = nIpBufSize; 2682 pTemp->nAllocLen = nOpBufSize;
|
/hardware/ti/omap3/omx/audio/src/openmax_il/mp3_dec/src/ |
H A D | OMX_Mp3Dec_Utils.c | 283 pTemp->nAllocLen = nIpBufSize; 317 pTemp->nAllocLen = nOpBufSize; 1089 pComponentPrivate->pInputBufHdrPending[i]->nAllocLen, 1112 pComponentPrivate->pOutputBufHdrPending[i]->nAllocLen, 1521 pComponentPrivate->pInputBufHdrPending[i]->nAllocLen, 1573 pComponentPrivate->pOutputBufHdrPending[i]->nAllocLen, 1594 pComponentPrivate->pInputBufHdrPending[i]->nAllocLen, 1647 pComponentPrivate->pOutputBufHdrPending[i]->nAllocLen, 1666 pComponentPrivate->pInputBufHdrPending[i]->nAllocLen, 2084 pBufHeader->nAllocLen, [all...] |
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/test/ |
H A D | omx_vdec_test.cpp | 854 (OMX_U8*)pExtra < (pBuffer->pBuffer + pBuffer->nAllocLen) && 938 if (pExtra->nSize < (pBuffer->nAllocLen - (OMX_U32)pExtra)) 2601 pOutYUVBufHdrs[bufCnt]->nAllocLen); 2614 pOutYUVBufHdrs[bufCnt]->nAllocLen); 3105 if (len > pBufHdr->nAllocLen) { 3106 DEBUG_PRINT_ERROR("Error in sufficient buffer framesize %d, allocalen %d noffset %d\n",len,pBufHdr->nAllocLen, pBufHdr->nOffset); 3108 pBufHdr->nAllocLen - pBufHdr->nOffset); 3155 if (total_bytes == pBufHdr->nAllocLen) { 3735 unsigned int end = (unsigned int)(pBufHdr->pBuffer + pBufHdr->nAllocLen); 4057 pBuffer->nAllocLen); [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_dec/src/ |
H A D | OMX_AacDec_Utils.c | 259 pTemp->nAllocLen = nIpBufSize; 298 pTemp->nAllocLen = nOpBufSize; 1099 pComponentPrivate->pInputBufHdrPending[i]->nAllocLen, 1130 pComponentPrivate->pOutputBufHdrPending[i]->nAllocLen, 1529 pComponentPrivate->pInputBufHdrPending[i]->nAllocLen, 1592 pComponentPrivate->pOutputBufHdrPending[i]->nAllocLen, 1665 pComponentPrivate->pInputBufHdrPending[i]->nAllocLen, 1696 pComponentPrivate->pOutputBufHdrPending[i]->nAllocLen, 2256 pBufHeader->nAllocLen, 2376 OMX_PRBUFFER2(pComponentPrivate->dbg, "%d Comp:: in AACDEC UTILS pBufHeader->nAllocLen [all...] |
/hardware/ti/omap3/omx/video/src/openmax_il/video_decode/src/ |
H A D | OMX_VideoDecoder.c | 2414 (pBuffHead->nFilledLen > pBuffHead->nAllocLen)) { 2415 pBuffHead->nFilledLen = pBuffHead->nAllocLen; 2426 OMX_PRBUFFER1(pComponentPrivate->dbg, "Writing pBuffer 0x%p OldeBufferOwner %ld nAllocLen %lu nFilledLen %lu eBufferOwner %d\n", 2427 pBuffHead, ret,pBuffHead->nAllocLen,pBuffHead->nFilledLen,pBufferPrivate->eBufferOwner); 2509 (pBuffHead->nFilledLen > pBuffHead->nAllocLen)) { 2510 OMX_PRINT1(pComponentPrivate->dbg, "bFirstHeader: nFilledLen= %lu <- nAllocLen= %lu\n", pBuffHead->nFilledLen, pBuffHead->nAllocLen); 2512 pBuffHead->nFilledLen = pBuffHead->nAllocLen; 2967 (*ppBufferHdr)->nAllocLen = nSizeBytes; 3015 OMX_PRBUFFER1(pComponentPrivate->dbg, "ppBufferHdr 0x%p pBuffer 0x%p nAllocLen [all...] |
/hardware/qcom/media/mm-video-v4l2/vidc/venc/src/ |
H A D | video_encoder_device_v4l2.cpp | 436 if ((OMX_U8*)p_extra > (p_bufhdr->pBuffer + p_bufhdr->nAllocLen)) { 1800 if (buffer->nAllocLen >= VENUS_BUFFER_SIZE(COLOR_FMT_NV12, width, height)) { 1821 (width*height), src_chroma_offset, buffer->nAllocLen, 1855 plane.length = bufhdr->nAllocLen; 1874 plane.length = bufhdr->nAllocLen; 1898 plane.length = bufhdr->nAllocLen; 1905 plane.length = bufhdr->nAllocLen; 1994 plane[0].length = bufhdr->nAllocLen;
|