/hardware/ti/omap4-aah/domx/omx_proxy_component/omx_video_dec/src/ |
omx_proxy_videodec_utils.c | 108 OMX_BUFFERHEADERTYPE * pBufferHdr) 123 PROXY_assert(pBufferHdr != NULL, OMX_ErrorBadParameter, NULL); 125 if (pBufferHdr->nFlags & OMX_BUFFERFLAG_CODECCONFIG){ 143 pBuffer = pBufferHdr->pBuffer; 147 DOMX_DEBUG("nFlags: %x", pBufferHdr->nFlags); 149 pData = pBufferHdr->pBuffer + 15; /*Position to Width & Height*/ 160 pCSD = pBufferHdr->pBuffer; 162 nSize_CSD = pBufferHdr->nFilledLen - CSD_POSITION; 187 assert(pBufferHdr->nFilledLen < pBufferHdr->nAllocLen) [all...] |
omx_proxy_videodec.c | 119 OMX_ERRORTYPE PROXY_VIDDEC_FillThisBuffer(OMX_HANDLETYPE hComponent, OMX_BUFFERHEADERTYPE * pBufferHdr); 127 OMX_BUFFERHEADERTYPE * pBufferHdr); 641 OMX_ERRORTYPE PROXY_VIDDEC_FillThisBuffer(OMX_HANDLETYPE hComponent, OMX_BUFFERHEADERTYPE * pBufferHdr) 651 PROXY_require(pBufferHdr != NULL, OMX_ErrorBadParameter, NULL); 654 PROXY_CHK_VERSION(pBufferHdr, OMX_BUFFERHEADERTYPE); 663 /* Note# There is no error check for the pBufferHdr here*/ 664 grallocHandle = (IMG_native_handle_t*)pBufferHdr->pBuffer; 702 eRPCError = PROXY_FillThisBuffer(hComponent, pBufferHdr); 738 /* Note# There is no error check for the pBufferHdr here*/
|
/hardware/ti/omap4-aah/domx/domx/omx_rpc/src/ |
omx_rpc_stub.c | 898 OMX_BUFFERHEADERTYPE *pBufferHdr = *ppBufferHdr; [all...] |
/hardware/ti/omap4xxx/domx/domx/omx_rpc/src/ |
omx_rpc_stub.c | 885 OMX_BUFFERHEADERTYPE *pBufferHdr = *ppBufferHdr; 915 //RPC_GETFIELDCOPYTYPE(pData, nPos, pBufferHdr, OMX_BUFFERHEADERTYPE); 918 RPC_GETFIELDVALUE(pRetData, nPos, pBufferHdr->nSize, OMX_U32); 919 RPC_GETFIELDVALUE(pRetData, nPos, pBufferHdr->nVersion, 921 RPC_GETFIELDVALUE(pRetData, nPos, pBufferHdr->pBuffer, 923 RPC_GETFIELDVALUE(pRetData, nPos, pBufferHdr->nAllocLen, 925 RPC_GETFIELDVALUE(pRetData, nPos, pBufferHdr->nFilledLen, [all...] |
/hardware/ti/omap4-aah/domx/omx_proxy_component/omx_h264_enc/src/ |
omx_proxy_h264enc.c | 143 OMX_IN OMX_U32 nPortIndex, OMX_IN OMX_BUFFERHEADERTYPE * pBufferHdr); 168 OMX_BUFFERHEADERTYPE * pBufferHdr); 171 OMX_BUFFERHEADERTYPE * pBufferHdr) 189 nLastFrameRateUpdateTime = pBufferHdr-> nTimeStamp; 194 nVideoTime = pBufferHdr->nTimeStamp - nLastFrameRateUpdateTime; 256 nLastFrameRateUpdateTime = pBufferHdr->nTimeStamp; 261 OMX_BUFFERHEADERTYPE * pBufferHdr) 265 eError = OMX_ConfigureDynamicFrameRate(hComponent, pBufferHdr); 270 return LOCAL_PROXY_H264E_EmptyThisBuffer (hComponent,pBufferHdr); 693 OMX_BUFFERHEADERTYPE * pBufferHdr) [all...] |
/hardware/ti/omap4-aah/domx/omx_proxy_component/omx_mpeg4_enc/src/ |
omx_proxy_mpeg4enc.c | 142 OMX_IN OMX_U32 nPortIndex, OMX_IN OMX_BUFFERHEADERTYPE * pBufferHdr); 166 OMX_BUFFERHEADERTYPE * pBufferHdr); 169 OMX_BUFFERHEADERTYPE * pBufferHdr) 187 nLastFrameRateUpdateTime = pBufferHdr-> nTimeStamp; 192 nVideoTime = pBufferHdr->nTimeStamp - nLastFrameRateUpdateTime; 254 nLastFrameRateUpdateTime = pBufferHdr->nTimeStamp; 259 OMX_BUFFERHEADERTYPE * pBufferHdr) 263 eError = OMX_ConfigureDynamicFrameRate(hComponent, pBufferHdr); 268 return LOCAL_PROXY_MPEG4E_EmptyThisBuffer (hComponent,pBufferHdr); 669 OMX_BUFFERHEADERTYPE * pBufferHdr) [all...] |
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/ |
OMXReprocess.cpp | 310 OMX_BUFFERHEADERTYPE *pBufferHdr; 316 &pBufferHdr, 325 pBufferHdr->pAppPrivate = (OMX_PTR) &bufArr[index]; 327 pBufferHdr->nSize = sizeof(OMX_BUFFERHEADERTYPE); 328 pBufferHdr->nVersion.s.nVersionMajor = 1 ; 329 pBufferHdr->nVersion.s.nVersionMinor = 1 ; 330 pBufferHdr->nVersion.s.nRevision = 0; 331 pBufferHdr->nVersion.s.nStep = 0; 332 pBufferHdr->nOffset = bufArr[index].offset; 333 pBufferHdr->nFilledLen = bufArr[index].actual_size [all...] |
OMXCapture.cpp | [all...] |
/hardware/ti/omap4xxx/domx/omx_proxy_component/omx_h264_enc/src/ |
omx_proxy_h264enc.c | 120 OMX_IN OMX_U32 nPortIndex, OMX_IN OMX_BUFFERHEADERTYPE * pBufferHdr); 139 OMX_BUFFERHEADERTYPE * pBufferHdr); 548 OMX_BUFFERHEADERTYPE * pBufferHdr) 554 OMX_PTR pBufferOrig = pBufferHdr->pBuffer; 564 PROXY_require(pBufferHdr != NULL, OMX_ErrorBadParameter, NULL); 567 PROXY_CHK_VERSION(pBufferHdr, OMX_BUFFERHEADERTYPE); 583 nFilledLen = pBufferHdr->nFilledLen; 584 nAllocLen = pBufferHdr->nAllocLen; 587 pBufferHdr->nFilledLen = tParamStruct.nBufferSize; 589 pBufferHdr->nAllocLen = tParamStruct.nBufferSize [all...] |
/hardware/ti/omap4xxx/domx/omx_proxy_component/omx_mpeg4_enc/src/ |
omx_proxy_mpeg4enc.c | 119 OMX_IN OMX_U32 nPortIndex, OMX_IN OMX_BUFFERHEADERTYPE * pBufferHdr); 138 OMX_BUFFERHEADERTYPE * pBufferHdr); 531 OMX_BUFFERHEADERTYPE * pBufferHdr) 537 OMX_PTR pBufferOrig = pBufferHdr->pBuffer; 547 PROXY_require(pBufferHdr != NULL, OMX_ErrorBadParameter, NULL); 550 PROXY_CHK_VERSION(pBufferHdr, OMX_BUFFERHEADERTYPE); 566 nFilledLen = pBufferHdr->nFilledLen; 567 nAllocLen = pBufferHdr->nAllocLen; 570 pBufferHdr->nFilledLen = tParamStruct.nBufferSize; 572 pBufferHdr->nAllocLen = tParamStruct.nBufferSize [all...] |
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/src/ |
OMX_VPP.c | 171 static OMX_ERRORTYPE VPP_FillThisBuffer (OMX_HANDLETYPE hComp,OMX_BUFFERHEADERTYPE* pBufferHdr); 234 OMX_BUFFERHEADERTYPE *pBufferHdr = NULL; 267 OMX_MALLOC (pBufferHdr, sizeof(OMX_BUFFERHEADERTYPE));
269 pComponentPrivate->sCompPorts[nPortIndex].pVPPBufHeader[nCount].pBufHeader = pBufferHdr; 274 VPP_DPRINT ("VPP::Inside the AllocateBuffer --.5 pBufferHdr =%p\n" , pBufferHdr); 275 pBufferHdr->nSize = sizeof(OMX_BUFFERHEADERTYPE); 278 pBufferHdr->nAllocLen = nBufSize; 279 pBufferHdr->nFilledLen = 0; 280 pBufferHdr->nVersion.s.nVersionMajor = VPP_MAJOR_VER [all...] |
/hardware/ti/omap4xxx/domx/domx/ |
omx_proxy_common.h | 247 OMX_BUFFERHEADERTYPE * pBufferHdr); 255 OMX_BUFFERHEADERTYPE * pBufferHdr); 260 OMX_IN OMX_U32 nPortIndex, OMX_IN OMX_BUFFERHEADERTYPE * pBufferHdr);
|
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/src/ |
OMX_JpegDecoder.c | 198 OMX_MALLOC(pComponentPrivate->pCompPort[JPEGDEC_INPUT_PORT]->pBufferPrivate[nBufferCount]->pBufferHdr, sizeof(OMX_BUFFERHEADERTYPE)); 199 OMX_CONF_INIT_STRUCT(pComponentPrivate->pCompPort[JPEGDEC_INPUT_PORT]->pBufferPrivate[nBufferCount]->pBufferHdr, OMX_BUFFERHEADERTYPE); 200 OMX_PRBUFFER1(pComponentPrivate->dbg, "pComponentPrivate->pCompPort[JPEGDEC_INPUT_PORT]->pBufferPrivate[nBufferCount]->pBufferHdr = %p\n", pComponentPrivate->pCompPort[JPEGDEC_INPUT_PORT]->pBufferPrivate[nBufferCount]->pBufferHdr); 201 pComponentPrivate->pCompPort[JPEGDEC_INPUT_PORT]->pBufferPrivate[nBufferCount]->pBufferHdr->nOutputPortIndex = OMX_NOPORT; 202 pComponentPrivate->pCompPort[JPEGDEC_INPUT_PORT]->pBufferPrivate[nBufferCount]->pBufferHdr->nInputPortIndex = pPortDef->nPortIndex; 203 pComponentPrivate->pCompPort[JPEGDEC_INPUT_PORT]->pBufferPrivate[nBufferCount]->pBufferHdr->nSize = sizeof(OMX_BUFFERHEADERTYPE); 204 pComponentPrivate->pCompPort[JPEGDEC_INPUT_PORT]->pBufferPrivate[nBufferCount]->pBufferHdr->nVersion = pPortDef->nVersion; 205 pComponentPrivate->pCompPort[JPEGDEC_INPUT_PORT]->pBufferPrivate[nBufferCount]->pBufferHdr->pAppPrivate = pAppPrivate; 206 pComponentPrivate->pCompPort[JPEGDEC_INPUT_PORT]->pBufferPrivate[nBufferCount]->pBufferHdr->nAllocLen = nSizeBytes [all...] |
OMX_JpegDec_Utils.c | 829 PREF(((OMX_BUFFERHEADERTYPE*) pComponentPrivate->pCompPort[0]->pBufferPrivate[nCount]->pBufferHdr), pBuffer), 830 PREF(((OMX_BUFFERHEADERTYPE*) pComponentPrivate->pCompPort[0]->pBufferPrivate[nCount]->pBufferHdr), nFilledLen), 835 OMX_PRBUFFER2(pComponentPrivate->dbg, "disgard %p from InDir\n", pBuffPrivate->pBufferHdr); 839 OMX_PRBUFFER2(pComponentPrivate->dbg, "return input buffer %p in idle\n", pBuffPrivate->pBufferHdr); 842 pBuffPrivate->pBufferHdr); 883 PREF(((OMX_BUFFERHEADERTYPE*) pComponentPrivate->pCompPort[1]->pBufferPrivate[nCount]->pBufferHdr), pBuffer), 884 PREF(((OMX_BUFFERHEADERTYPE*) pComponentPrivate->pCompPort[1]->pBufferPrivate[nCount]->pBufferHdr), nFilledLen), 889 OMX_PRBUFFER2(pComponentPrivate->dbg, "discard %p from InDir\n", pBuffPrivate->pBufferHdr); 895 OMX_PRBUFFER2(pComponentPrivate->dbg, "disgard %p from OutDir\n", pBuffPrivate->pBufferHdr); 899 OMX_PRBUFFER2(pComponentPrivate->dbg, "return output buffer %p in idle (%d)\n", pBuffPrivate->pBufferHdr, pBuffPrivate->eBufferOwner) [all...] |
/hardware/ti/omap4-aah/domx/domx/omx_proxy_common/src/ |
omx_proxy_common.c | 487 OMX_BUFFERHEADERTYPE * pBufferHdr) 500 PROXY_require(pBufferHdr != NULL, OMX_ErrorBadParameter, NULL); 503 PROXY_CHK_VERSION(pBufferHdr, OMX_BUFFERHEADERTYPE); 509 hComponent, pCompPrv, pBufferHdr->nFilledLen, 510 pBufferHdr->nOffset, pBufferHdr->nFlags); 515 if (pCompPrv->tBufList[count].pBufHeader == pBufferHdr) 525 if (pBufferHdr->hMarkTargetComponent != NULL) 528 (OMX_COMPONENTTYPE *) (pBufferHdr->hMarkTargetComponent); 534 pMarkData = pBufferHdr->pMarkData [all...] |
/hardware/ti/omap4xxx/domx/domx/omx_proxy_common/src/ |
omx_proxy_common.c | 468 OMX_BUFFERHEADERTYPE * pBufferHdr) 481 PROXY_require(pBufferHdr != NULL, OMX_ErrorBadParameter, NULL); 484 PROXY_CHK_VERSION(pBufferHdr, OMX_BUFFERHEADERTYPE); 490 hComponent, pCompPrv, pBufferHdr->nFilledLen, 491 pBufferHdr->nOffset, pBufferHdr->nFlags); 496 if (pCompPrv->tBufList[count].pBufHeader == pBufferHdr) 506 if (pBufferHdr->hMarkTargetComponent != NULL) 509 (OMX_COMPONENTTYPE *) (pBufferHdr->hMarkTargetComponent); 515 pMarkData = pBufferHdr->pMarkData [all...] |
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/src/ |
OMX_JpegEncoder.c | 328 pComponentPrivate->pCompPort[JPEGENC_INP_PORT]->pBufferPrivate[nBufferCount]->pBufferHdr = pBuffHeader; 334 pComponentPrivate->pCompPort[JPEGENC_OUT_PORT]->pBufferPrivate[nBufferCount]->pBufferHdr = pBuffHeader; 356 /* pComponentPrivate->pCompPort[nPortIndex]->pBufferPrivate[nBufferCount]->pBufferHdr = (*ppBufferHdr); */ 362 /* pComponentPrivate->pCompPort[nPortIndex]->pBufferPrivate[nBufferCount]->pBufferHdr = (*ppBufferHdr); */ 505 pComponentPrivate->pCompPort[JPEGENC_INP_PORT]->pBufferPrivate[i]->pBufferHdr = NULL; 513 pComponentPrivate->pCompPort[JPEGENC_OUT_PORT]->pBufferPrivate[i]->pBufferHdr = NULL; [all...] |
/hardware/ti/omap3/omx/video/src/openmax_il/video_encode/src/ |
OMX_VideoEnc_Utils.c | 619 PREF(pCompPortIn->pBufferPrivate[i]->pBufferHdr, pBuffer), 625 pCompPortIn->pBufferPrivate[i]->pBufferHdr); 641 PREF(pCompPortIn->pBufferPrivate[i]->pBufferHdr, pBuffer), 646 pCompPortIn->pBufferPrivate[i]->pBufferHdr); 685 pCompPortOut->pBufferPrivate[i]->pBufferHdr ? 686 pCompPortOut->pBufferPrivate[i]->pBufferHdr->pBuffer : 688 pCompPortOut->pBufferPrivate[i]->pBufferHdr ? 689 pCompPortOut->pBufferPrivate[i]->pBufferHdr->nFilledLen : 693 OMX_CONF_CIRCULAR_BUFFER_MOVE_HEAD(pCompPortOut->pBufferPrivate[i]->pBufferHdr, 697 if (pCompPortOut->pBufferPrivate[i]->pBufferHdr->hMarkTargetComponent == pComponentPrivate->pHandle & [all...] |
/hardware/ti/omap4-aah/domx/test/sample_proxy/ |
test_sample_proxy.c | 679 OMX_BUFFERHEADERTYPE *pBufferHdr; 755 OMX_UseBuffer(pContext->hComp, &pBufferHdr, 767 OMX_AllocateBuffer(pContext->hComp, &pBufferHdr, 773 pBufferHdr->nOutputPortIndex); 775 pBufferHdr->nInputPortIndex); 777 pBufferList->pBufHdr = pBufferHdr; 778 pBufferList->pOrigBufHdr = pBufferHdr; 783 pBufferHdr->nOutputPortIndex); 785 pBufferHdr->nInputPortIndex); 786 pBufferHdr->nOutputPortIndex = OMX_NOPORT [all...] |
/hardware/ti/omap4xxx/domx/test/sample_proxy/ |
test_sample_proxy.c | 679 OMX_BUFFERHEADERTYPE *pBufferHdr; 755 OMX_UseBuffer(pContext->hComp, &pBufferHdr, 767 OMX_AllocateBuffer(pContext->hComp, &pBufferHdr, 773 pBufferHdr->nOutputPortIndex); 775 pBufferHdr->nInputPortIndex); 777 pBufferList->pBufHdr = pBufferHdr; 778 pBufferList->pOrigBufHdr = pBufferHdr; 783 pBufferHdr->nOutputPortIndex); 785 pBufferHdr->nInputPortIndex); 786 pBufferHdr->nOutputPortIndex = OMX_NOPORT [all...] |
/hardware/ti/omap4-aah/domx/domx/omx_rpc/inc/ |
omx_rpc_stub.h | 86 OMX_BUFFERHEADERTYPE * pBufferHdr, OMX_U32 BufHdrRemote, 90 OMX_BUFFERHEADERTYPE * pBufferHdr, OMX_U32 BufHdrRemote,
|
/hardware/ti/omap4xxx/domx/domx/omx_rpc/inc/ |
omx_rpc_stub.h | 86 OMX_BUFFERHEADERTYPE * pBufferHdr, OMX_U32 BufHdrRemote, 90 OMX_BUFFERHEADERTYPE * pBufferHdr, OMX_U32 BufHdrRemote,
|
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/enc/ |
Exynos_OMX_VencControl.h | 57 OMX_IN OMX_BUFFERHEADERTYPE *pBufferHdr);
|
/hardware/ti/omap4-aah/domx/domx/ |
omx_proxy_common.h | 319 OMX_BUFFERHEADERTYPE * pBufferHdr); 327 OMX_BUFFERHEADERTYPE * pBufferHdr); 332 OMX_IN OMX_U32 nPortIndex, OMX_IN OMX_BUFFERHEADERTYPE * pBufferHdr);
|
/hardware/ti/omap4xxx/domx/omx_proxy_component/omx_video_dec/src/ |
omx_proxy_videodec.c | 112 OMX_ERRORTYPE PROXY_VIDDEC_FillThisBuffer(OMX_HANDLETYPE hComponent, OMX_BUFFERHEADERTYPE * pBufferHdr); 610 OMX_ERRORTYPE PROXY_VIDDEC_FillThisBuffer(OMX_HANDLETYPE hComponent, OMX_BUFFERHEADERTYPE * pBufferHdr) 620 PROXY_require(pBufferHdr != NULL, OMX_ErrorBadParameter, NULL); 623 PROXY_CHK_VERSION(pBufferHdr, OMX_BUFFERHEADERTYPE); 632 /* Note# There is no error check for the pBufferHdr here*/ 633 grallocHandle = (IMG_native_handle_t*)pBufferHdr->pBuffer; 652 eRPCError = PROXY_FillThisBuffer(hComponent, pBufferHdr); 688 /* Note# There is no error check for the pBufferHdr here*/
|