Searched refs:nAllocLen (Results 1 - 25 of 90) sorted by relevance

1234

/hardware/qcom/media/mm-video-legacy/vidc/vdec/src/
H A Dframeparser.cpp159 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 Domx_vdec.cpp1536 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 Domx_vdec_copper.cpp1471 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 Dframeparser.cpp166 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 Domx_vdec.cpp1521 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 Dextra_data_handler.cpp279 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 Domx_proxy_h264enc.c557 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 Domx_proxy_mpeg4enc.c540 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 Domx_vdec_test.cpp749 (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 DVPPTest.c1729 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 DAacEncTest.c1445 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 DOMX_G729Dec_Utils.c287 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 DOMX_G729Enc_Utils.c256 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 DG726DecTest.c1420 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 DG711DecTest.c1619 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 DG729EncTest.c935 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 DExynos_OMX_H264dec.c919 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 DExynos_OMX_Mpeg4dec.c840 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 DExynos_OMX_Vp8dec.c651 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 DOMX_G722Enc_Utils.c416 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 DOMX_Mp3Dec_Utils.c283 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 Domx_vdec_test.cpp854 (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 DOMX_AacDec_Utils.c259 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 DOMX_VideoDecoder.c2414 (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 Dvideo_encoder_device_v4l2.cpp436 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;

Completed in 2882 milliseconds

1234