Home
last modified time | relevance | path

Searched refs:pBufferHdr (Results 1 – 25 of 34) sorted by relevance

12

/hardware/ti/omap4-aah/domx/omx_proxy_component/omx_video_dec/src/
Domx_proxy_videodec_utils.c108 OMX_BUFFERHEADERTYPE * pBufferHdr) in PrearrageEmptyThisBuffer() argument
123 PROXY_assert(pBufferHdr != NULL, OMX_ErrorBadParameter, NULL); in PrearrageEmptyThisBuffer()
125 if (pBufferHdr->nFlags & OMX_BUFFERFLAG_CODECCONFIG){ in PrearrageEmptyThisBuffer()
143 pBuffer = pBufferHdr->pBuffer; in PrearrageEmptyThisBuffer()
147 DOMX_DEBUG("nFlags: %x", pBufferHdr->nFlags); in PrearrageEmptyThisBuffer()
149 pData = pBufferHdr->pBuffer + 15; /*Position to Width & Height*/ in PrearrageEmptyThisBuffer()
160 pCSD = pBufferHdr->pBuffer; in PrearrageEmptyThisBuffer()
162 nSize_CSD = pBufferHdr->nFilledLen - CSD_POSITION; in PrearrageEmptyThisBuffer()
187 assert(pBufferHdr->nFilledLen < pBufferHdr->nAllocLen); in PrearrageEmptyThisBuffer()
188 pBufferHdr->nFilledLen = sizeof(VIDDEC_WMV_RCV_struct); in PrearrageEmptyThisBuffer()
[all …]
Domx_proxy_videodec.c119 …RRORTYPE PROXY_VIDDEC_FillThisBuffer(OMX_HANDLETYPE hComponent, OMX_BUFFERHEADERTYPE * pBufferHdr);
127 OMX_BUFFERHEADERTYPE * pBufferHdr);
641 …ERRORTYPE PROXY_VIDDEC_FillThisBuffer(OMX_HANDLETYPE hComponent, OMX_BUFFERHEADERTYPE * pBufferHdr) in PROXY_VIDDEC_FillThisBuffer() argument
651 PROXY_require(pBufferHdr != NULL, OMX_ErrorBadParameter, NULL); in PROXY_VIDDEC_FillThisBuffer()
654 PROXY_CHK_VERSION(pBufferHdr, OMX_BUFFERHEADERTYPE); in PROXY_VIDDEC_FillThisBuffer()
664 grallocHandle = (IMG_native_handle_t*)pBufferHdr->pBuffer; in PROXY_VIDDEC_FillThisBuffer()
702 eRPCError = PROXY_FillThisBuffer(hComponent, pBufferHdr); in PROXY_VIDDEC_FillThisBuffer()
/hardware/ti/omap4xxx/domx/domx/omx_rpc/src/
Domx_rpc_stub.c885 OMX_BUFFERHEADERTYPE *pBufferHdr = *ppBufferHdr; in RPC_AllocateBuffer() local
918 RPC_GETFIELDVALUE(pRetData, nPos, pBufferHdr->nSize, OMX_U32); in RPC_AllocateBuffer()
919 RPC_GETFIELDVALUE(pRetData, nPos, pBufferHdr->nVersion, in RPC_AllocateBuffer()
921 RPC_GETFIELDVALUE(pRetData, nPos, pBufferHdr->pBuffer, in RPC_AllocateBuffer()
923 RPC_GETFIELDVALUE(pRetData, nPos, pBufferHdr->nAllocLen, in RPC_AllocateBuffer()
925 RPC_GETFIELDVALUE(pRetData, nPos, pBufferHdr->nFilledLen, in RPC_AllocateBuffer()
927 RPC_GETFIELDVALUE(pRetData, nPos, pBufferHdr->nOffset, in RPC_AllocateBuffer()
929 RPC_GETFIELDVALUE(pRetData, nPos, pBufferHdr->pAppPrivate, in RPC_AllocateBuffer()
932 pBufferHdr->pPlatformPrivate, OMX_PTR); in RPC_AllocateBuffer()
934 pBufferHdr->pInputPortPrivate, OMX_PTR); in RPC_AllocateBuffer()
[all …]
/hardware/ti/omap4-aah/domx/domx/omx_rpc/src/
Domx_rpc_stub.c898 OMX_BUFFERHEADERTYPE *pBufferHdr = *ppBufferHdr; in RPC_AllocateBuffer() local
931 RPC_GETFIELDVALUE(pRetData, nPos, pBufferHdr->nSize, OMX_U32); in RPC_AllocateBuffer()
932 RPC_GETFIELDVALUE(pRetData, nPos, pBufferHdr->nVersion, in RPC_AllocateBuffer()
934 RPC_GETFIELDVALUE(pRetData, nPos, pBufferHdr->pBuffer, in RPC_AllocateBuffer()
936 RPC_GETFIELDVALUE(pRetData, nPos, pBufferHdr->nAllocLen, in RPC_AllocateBuffer()
938 RPC_GETFIELDVALUE(pRetData, nPos, pBufferHdr->nFilledLen, in RPC_AllocateBuffer()
940 RPC_GETFIELDVALUE(pRetData, nPos, pBufferHdr->nOffset, in RPC_AllocateBuffer()
942 RPC_GETFIELDVALUE(pRetData, nPos, pBufferHdr->pAppPrivate, in RPC_AllocateBuffer()
945 pBufferHdr->pPlatformPrivate, OMX_PTR); in RPC_AllocateBuffer()
947 pBufferHdr->pInputPortPrivate, OMX_PTR); in RPC_AllocateBuffer()
[all …]
/hardware/ti/omap4-aah/domx/omx_proxy_component/omx_h264_enc/src/
Domx_proxy_h264enc.c143 OMX_IN OMX_U32 nPortIndex, OMX_IN OMX_BUFFERHEADERTYPE * pBufferHdr);
168 OMX_BUFFERHEADERTYPE * pBufferHdr);
171 OMX_BUFFERHEADERTYPE * pBufferHdr) in OMX_ConfigureDynamicFrameRate() argument
189 nLastFrameRateUpdateTime = pBufferHdr-> nTimeStamp; in OMX_ConfigureDynamicFrameRate()
194 nVideoTime = pBufferHdr->nTimeStamp - nLastFrameRateUpdateTime; in OMX_ConfigureDynamicFrameRate()
256 nLastFrameRateUpdateTime = pBufferHdr->nTimeStamp; in OMX_ConfigureDynamicFrameRate()
261 OMX_BUFFERHEADERTYPE * pBufferHdr) in ComponentPrivateEmptyThisBuffer() argument
265 eError = OMX_ConfigureDynamicFrameRate(hComponent, pBufferHdr); in ComponentPrivateEmptyThisBuffer()
270 return LOCAL_PROXY_H264E_EmptyThisBuffer (hComponent,pBufferHdr); in ComponentPrivateEmptyThisBuffer()
693 OMX_BUFFERHEADERTYPE * pBufferHdr) in LOCAL_PROXY_H264E_EmptyThisBuffer() argument
[all …]
/hardware/ti/omap4-aah/domx/omx_proxy_component/omx_mpeg4_enc/src/
Domx_proxy_mpeg4enc.c142 OMX_IN OMX_U32 nPortIndex, OMX_IN OMX_BUFFERHEADERTYPE * pBufferHdr);
166 OMX_BUFFERHEADERTYPE * pBufferHdr);
169 OMX_BUFFERHEADERTYPE * pBufferHdr) in OMX_ConfigureDynamicFrameRate() argument
187 nLastFrameRateUpdateTime = pBufferHdr-> nTimeStamp; in OMX_ConfigureDynamicFrameRate()
192 nVideoTime = pBufferHdr->nTimeStamp - nLastFrameRateUpdateTime; in OMX_ConfigureDynamicFrameRate()
254 nLastFrameRateUpdateTime = pBufferHdr->nTimeStamp; in OMX_ConfigureDynamicFrameRate()
259 OMX_BUFFERHEADERTYPE * pBufferHdr) in ComponentPrivateEmptyThisBuffer() argument
263 eError = OMX_ConfigureDynamicFrameRate(hComponent, pBufferHdr); in ComponentPrivateEmptyThisBuffer()
268 return LOCAL_PROXY_MPEG4E_EmptyThisBuffer (hComponent,pBufferHdr); in ComponentPrivateEmptyThisBuffer()
669 OMX_BUFFERHEADERTYPE * pBufferHdr) in LOCAL_PROXY_MPEG4E_EmptyThisBuffer() argument
[all …]
/hardware/ti/omap4xxx/domx/omx_proxy_component/omx_mpeg4_enc/src/
Domx_proxy_mpeg4enc.c119 OMX_IN OMX_U32 nPortIndex, OMX_IN OMX_BUFFERHEADERTYPE * pBufferHdr);
138 OMX_BUFFERHEADERTYPE * pBufferHdr);
531 OMX_BUFFERHEADERTYPE * pBufferHdr) in LOCAL_PROXY_MPEG4E_EmptyThisBuffer() argument
537 OMX_PTR pBufferOrig = pBufferHdr->pBuffer; in LOCAL_PROXY_MPEG4E_EmptyThisBuffer()
547 PROXY_require(pBufferHdr != NULL, OMX_ErrorBadParameter, NULL); in LOCAL_PROXY_MPEG4E_EmptyThisBuffer()
550 PROXY_CHK_VERSION(pBufferHdr, OMX_BUFFERHEADERTYPE); in LOCAL_PROXY_MPEG4E_EmptyThisBuffer()
566 nFilledLen = pBufferHdr->nFilledLen; in LOCAL_PROXY_MPEG4E_EmptyThisBuffer()
567 nAllocLen = pBufferHdr->nAllocLen; in LOCAL_PROXY_MPEG4E_EmptyThisBuffer()
570 pBufferHdr->nFilledLen = tParamStruct.nBufferSize; in LOCAL_PROXY_MPEG4E_EmptyThisBuffer()
572 pBufferHdr->nAllocLen = tParamStruct.nBufferSize; in LOCAL_PROXY_MPEG4E_EmptyThisBuffer()
[all …]
/hardware/ti/omap4xxx/domx/omx_proxy_component/omx_h264_enc/src/
Domx_proxy_h264enc.c120 OMX_IN OMX_U32 nPortIndex, OMX_IN OMX_BUFFERHEADERTYPE * pBufferHdr);
139 OMX_BUFFERHEADERTYPE * pBufferHdr);
548 OMX_BUFFERHEADERTYPE * pBufferHdr) in LOCAL_PROXY_H264E_EmptyThisBuffer() argument
554 OMX_PTR pBufferOrig = pBufferHdr->pBuffer; in LOCAL_PROXY_H264E_EmptyThisBuffer()
564 PROXY_require(pBufferHdr != NULL, OMX_ErrorBadParameter, NULL); in LOCAL_PROXY_H264E_EmptyThisBuffer()
567 PROXY_CHK_VERSION(pBufferHdr, OMX_BUFFERHEADERTYPE); in LOCAL_PROXY_H264E_EmptyThisBuffer()
583 nFilledLen = pBufferHdr->nFilledLen; in LOCAL_PROXY_H264E_EmptyThisBuffer()
584 nAllocLen = pBufferHdr->nAllocLen; in LOCAL_PROXY_H264E_EmptyThisBuffer()
587 pBufferHdr->nFilledLen = tParamStruct.nBufferSize; in LOCAL_PROXY_H264E_EmptyThisBuffer()
589 pBufferHdr->nAllocLen = tParamStruct.nBufferSize; in LOCAL_PROXY_H264E_EmptyThisBuffer()
[all …]
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/
DOMXReprocess.cpp310 OMX_BUFFERHEADERTYPE *pBufferHdr; in UseBuffersReprocess() local
316 &pBufferHdr, in UseBuffersReprocess()
325 pBufferHdr->pAppPrivate = (OMX_PTR) &bufArr[index]; in UseBuffersReprocess()
327 pBufferHdr->nSize = sizeof(OMX_BUFFERHEADERTYPE); in UseBuffersReprocess()
328 pBufferHdr->nVersion.s.nVersionMajor = 1 ; in UseBuffersReprocess()
329 pBufferHdr->nVersion.s.nVersionMinor = 1 ; in UseBuffersReprocess()
330 pBufferHdr->nVersion.s.nRevision = 0; in UseBuffersReprocess()
331 pBufferHdr->nVersion.s.nStep = 0; in UseBuffersReprocess()
332 pBufferHdr->nOffset = bufArr[index].offset; in UseBuffersReprocess()
333 pBufferHdr->nFilledLen = bufArr[index].actual_size; in UseBuffersReprocess()
[all …]
DOMXCapture.cpp1828 OMX_BUFFERHEADERTYPE *pBufferHdr; in UseBuffersCapture() local
1834 &pBufferHdr, in UseBuffersCapture()
1843 pBufferHdr->pAppPrivate = (OMX_PTR) &bufArr[index]; in UseBuffersCapture()
1845 pBufferHdr->nSize = sizeof(OMX_BUFFERHEADERTYPE); in UseBuffersCapture()
1846 pBufferHdr->nVersion.s.nVersionMajor = 1 ; in UseBuffersCapture()
1847 pBufferHdr->nVersion.s.nVersionMinor = 1 ; in UseBuffersCapture()
1848 pBufferHdr->nVersion.s.nRevision = 0; in UseBuffersCapture()
1849 pBufferHdr->nVersion.s.nStep = 0; in UseBuffersCapture()
1850 imgCaptureData->mBufferHeader[index] = pBufferHdr; in UseBuffersCapture()
2035 OMX_BUFFERHEADERTYPE *pBufferHdr; in UseBuffersRawCapture() local
[all …]
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/src/
DOMX_VPP.c171 static OMX_ERRORTYPE VPP_FillThisBuffer (OMX_HANDLETYPE hComp,OMX_BUFFERHEADERTYPE* pBufferHdr);
234 OMX_BUFFERHEADERTYPE *pBufferHdr = NULL; in VPP_AllocateBuffer() local
267 OMX_MALLOC (pBufferHdr, sizeof(OMX_BUFFERHEADERTYPE)); in VPP_AllocateBuffer()
269 pComponentPrivate->sCompPorts[nPortIndex].pVPPBufHeader[nCount].pBufHeader = pBufferHdr; in VPP_AllocateBuffer()
274 VPP_DPRINT ("VPP::Inside the AllocateBuffer --.5 pBufferHdr =%p\n" , pBufferHdr); in VPP_AllocateBuffer()
275 pBufferHdr->nSize = sizeof(OMX_BUFFERHEADERTYPE); in VPP_AllocateBuffer()
278 pBufferHdr->nAllocLen = nBufSize; in VPP_AllocateBuffer()
279 pBufferHdr->nFilledLen = 0; in VPP_AllocateBuffer()
280 pBufferHdr->nVersion.s.nVersionMajor = VPP_MAJOR_VER; in VPP_AllocateBuffer()
281 pBufferHdr->nVersion.s.nVersionMinor = VPP_MINOR_VER; in VPP_AllocateBuffer()
[all …]
/hardware/ti/omap4-aah/domx/domx/omx_proxy_common/src/
Domx_proxy_common.c487 OMX_BUFFERHEADERTYPE * pBufferHdr) in PROXY_EmptyThisBuffer() argument
500 PROXY_require(pBufferHdr != NULL, OMX_ErrorBadParameter, NULL); in PROXY_EmptyThisBuffer()
503 PROXY_CHK_VERSION(pBufferHdr, OMX_BUFFERHEADERTYPE); in PROXY_EmptyThisBuffer()
509 hComponent, pCompPrv, pBufferHdr->nFilledLen, in PROXY_EmptyThisBuffer()
510 pBufferHdr->nOffset, pBufferHdr->nFlags); in PROXY_EmptyThisBuffer()
515 if (pCompPrv->tBufList[count].pBufHeader == pBufferHdr) in PROXY_EmptyThisBuffer()
525 if (pBufferHdr->hMarkTargetComponent != NULL) in PROXY_EmptyThisBuffer()
528 (OMX_COMPONENTTYPE *) (pBufferHdr->hMarkTargetComponent); in PROXY_EmptyThisBuffer()
534 pMarkData = pBufferHdr->pMarkData; in PROXY_EmptyThisBuffer()
535 pBufferHdr->pMarkData = in PROXY_EmptyThisBuffer()
[all …]
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/src/
DOMX_JpegDecoder.c198 …tPrivate->pCompPort[JPEGDEC_INPUT_PORT]->pBufferPrivate[nBufferCount]->pBufferHdr, sizeof(OMX_BUFF… in AllocateBuffer_JPEGDec()
199 …tPrivate->pCompPort[JPEGDEC_INPUT_PORT]->pBufferPrivate[nBufferCount]->pBufferHdr, OMX_BUFFERHEADE… in AllocateBuffer_JPEGDec()
200 …%p\n", pComponentPrivate->pCompPort[JPEGDEC_INPUT_PORT]->pBufferPrivate[nBufferCount]->pBufferHdr); in AllocateBuffer_JPEGDec()
201 …pComponentPrivate->pCompPort[JPEGDEC_INPUT_PORT]->pBufferPrivate[nBufferCount]->pBufferHdr->nOutpu… in AllocateBuffer_JPEGDec()
202 …pComponentPrivate->pCompPort[JPEGDEC_INPUT_PORT]->pBufferPrivate[nBufferCount]->pBufferHdr->nInput… in AllocateBuffer_JPEGDec()
203 …pComponentPrivate->pCompPort[JPEGDEC_INPUT_PORT]->pBufferPrivate[nBufferCount]->pBufferHdr->nSize … in AllocateBuffer_JPEGDec()
204 …pComponentPrivate->pCompPort[JPEGDEC_INPUT_PORT]->pBufferPrivate[nBufferCount]->pBufferHdr->nVersi… in AllocateBuffer_JPEGDec()
205 …pComponentPrivate->pCompPort[JPEGDEC_INPUT_PORT]->pBufferPrivate[nBufferCount]->pBufferHdr->pAppPr… in AllocateBuffer_JPEGDec()
206 …pComponentPrivate->pCompPort[JPEGDEC_INPUT_PORT]->pBufferPrivate[nBufferCount]->pBufferHdr->nAlloc… in AllocateBuffer_JPEGDec()
209 …fHead = pComponentPrivate->pCompPort[JPEGDEC_INPUT_PORT]->pBufferPrivate[nBufferCount]->pBufferHdr; in AllocateBuffer_JPEGDec()
[all …]
DOMX_JpegDec_Utils.c829 …_BUFFERHEADERTYPE*) pComponentPrivate->pCompPort[0]->pBufferPrivate[nCount]->pBufferHdr), pBuffer), in HandleInternalFlush()
830 …FFERHEADERTYPE*) pComponentPrivate->pCompPort[0]->pBufferPrivate[nCount]->pBufferHdr), nFilledLen), in HandleInternalFlush()
835 OMX_PRBUFFER2(pComponentPrivate->dbg, "disgard %p from InDir\n", pBuffPrivate->pBufferHdr); in HandleInternalFlush()
839 …MX_PRBUFFER2(pComponentPrivate->dbg, "return input buffer %p in idle\n", pBuffPrivate->pBufferHdr); in HandleInternalFlush()
842 pBuffPrivate->pBufferHdr); in HandleInternalFlush()
883 …_BUFFERHEADERTYPE*) pComponentPrivate->pCompPort[1]->pBufferPrivate[nCount]->pBufferHdr), pBuffer), in HandleInternalFlush()
884 …FFERHEADERTYPE*) pComponentPrivate->pCompPort[1]->pBufferPrivate[nCount]->pBufferHdr), nFilledLen), in HandleInternalFlush()
889 OMX_PRBUFFER2(pComponentPrivate->dbg, "discard %p from InDir\n", pBuffPrivate->pBufferHdr); in HandleInternalFlush()
895 OMX_PRBUFFER2(pComponentPrivate->dbg, "disgard %p from OutDir\n", pBuffPrivate->pBufferHdr); in HandleInternalFlush()
899 …tPrivate->dbg, "return output buffer %p in idle (%d)\n", pBuffPrivate->pBufferHdr, pBuffPrivate->e… in HandleInternalFlush()
[all …]
/hardware/ti/omap4xxx/domx/domx/omx_proxy_common/src/
Domx_proxy_common.c468 OMX_BUFFERHEADERTYPE * pBufferHdr) in PROXY_EmptyThisBuffer() argument
481 PROXY_require(pBufferHdr != NULL, OMX_ErrorBadParameter, NULL); in PROXY_EmptyThisBuffer()
484 PROXY_CHK_VERSION(pBufferHdr, OMX_BUFFERHEADERTYPE); in PROXY_EmptyThisBuffer()
490 hComponent, pCompPrv, pBufferHdr->nFilledLen, in PROXY_EmptyThisBuffer()
491 pBufferHdr->nOffset, pBufferHdr->nFlags); in PROXY_EmptyThisBuffer()
496 if (pCompPrv->tBufList[count].pBufHeader == pBufferHdr) in PROXY_EmptyThisBuffer()
506 if (pBufferHdr->hMarkTargetComponent != NULL) in PROXY_EmptyThisBuffer()
509 (OMX_COMPONENTTYPE *) (pBufferHdr->hMarkTargetComponent); in PROXY_EmptyThisBuffer()
515 pMarkData = pBufferHdr->pMarkData; in PROXY_EmptyThisBuffer()
516 pBufferHdr->pMarkData = in PROXY_EmptyThisBuffer()
[all …]
/hardware/ti/omap4xxx/domx/test/sample_proxy/
Dtest_sample_proxy.c679 OMX_BUFFERHEADERTYPE *pBufferHdr; in SampleTest_AllocateBuffers() local
755 OMX_UseBuffer(pContext->hComp, &pBufferHdr, in SampleTest_AllocateBuffers()
767 OMX_AllocateBuffer(pContext->hComp, &pBufferHdr, in SampleTest_AllocateBuffers()
773 pBufferHdr->nOutputPortIndex); in SampleTest_AllocateBuffers()
775 pBufferHdr->nInputPortIndex); in SampleTest_AllocateBuffers()
777 pBufferList->pBufHdr = pBufferHdr; in SampleTest_AllocateBuffers()
778 pBufferList->pOrigBufHdr = pBufferHdr; in SampleTest_AllocateBuffers()
783 pBufferHdr->nOutputPortIndex); in SampleTest_AllocateBuffers()
785 pBufferHdr->nInputPortIndex); in SampleTest_AllocateBuffers()
786 pBufferHdr->nOutputPortIndex = OMX_NOPORT; in SampleTest_AllocateBuffers()
[all …]
/hardware/ti/omap4-aah/domx/test/sample_proxy/
Dtest_sample_proxy.c679 OMX_BUFFERHEADERTYPE *pBufferHdr; in SampleTest_AllocateBuffers() local
755 OMX_UseBuffer(pContext->hComp, &pBufferHdr, in SampleTest_AllocateBuffers()
767 OMX_AllocateBuffer(pContext->hComp, &pBufferHdr, in SampleTest_AllocateBuffers()
773 pBufferHdr->nOutputPortIndex); in SampleTest_AllocateBuffers()
775 pBufferHdr->nInputPortIndex); in SampleTest_AllocateBuffers()
777 pBufferList->pBufHdr = pBufferHdr; in SampleTest_AllocateBuffers()
778 pBufferList->pOrigBufHdr = pBufferHdr; in SampleTest_AllocateBuffers()
783 pBufferHdr->nOutputPortIndex); in SampleTest_AllocateBuffers()
785 pBufferHdr->nInputPortIndex); in SampleTest_AllocateBuffers()
786 pBufferHdr->nOutputPortIndex = OMX_NOPORT; in SampleTest_AllocateBuffers()
[all …]
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/src/
DOMX_JpegEncoder.c328 …pComponentPrivate->pCompPort[JPEGENC_INP_PORT]->pBufferPrivate[nBufferCount]->pBufferHdr = pBuffHe… in JPEGENC_UseBuffer()
334 …pComponentPrivate->pCompPort[JPEGENC_OUT_PORT]->pBufferPrivate[nBufferCount]->pBufferHdr = pBuffHe… in JPEGENC_UseBuffer()
505 pComponentPrivate->pCompPort[JPEGENC_INP_PORT]->pBufferPrivate[i]->pBufferHdr = NULL; in OMX_ComponentInit()
513 pComponentPrivate->pCompPort[JPEGENC_OUT_PORT]->pBufferPrivate[i]->pBufferHdr = NULL; in OMX_ComponentInit()
2178 OMX_BUFFERHEADERTYPE *pBufferHdr = NULL; in JPEGENC_AllocateBuffer() local
2195 OMX_MALLOC(pBufferHdr, sizeof(OMX_BUFFERHEADERTYPE)); in JPEGENC_AllocateBuffer()
2196 … OMX_PRBUFFER2(pComponentPrivate->dbg, "Allocate Buffer Input pBufferPrivate = %p\n",pBufferHdr); in JPEGENC_AllocateBuffer()
2198 OMX_CONF_INIT_STRUCT(pBufferHdr, OMX_BUFFERHEADERTYPE); in JPEGENC_AllocateBuffer()
2199 pBufferHdr->nOutputPortIndex = OMX_NOPORT; in JPEGENC_AllocateBuffer()
2200 pBufferHdr->nInputPortIndex = nPortIndex; in JPEGENC_AllocateBuffer()
[all …]
/hardware/ti/omap3/omx/video/src/openmax_il/video_encode/src/
DOMX_VideoEnc_Utils.c619 PREF(pCompPortIn->pBufferPrivate[i]->pBufferHdr, pBuffer), in OMX_VIDENC_HandleCommandDisablePort()
625 … pCompPortIn->pBufferPrivate[i]->pBufferHdr); in OMX_VIDENC_HandleCommandDisablePort()
641 PREF(pCompPortIn->pBufferPrivate[i]->pBufferHdr, pBuffer), in OMX_VIDENC_HandleCommandDisablePort()
646 pCompPortIn->pBufferPrivate[i]->pBufferHdr); in OMX_VIDENC_HandleCommandDisablePort()
685 pCompPortOut->pBufferPrivate[i]->pBufferHdr ? in OMX_VIDENC_HandleCommandDisablePort()
686 pCompPortOut->pBufferPrivate[i]->pBufferHdr->pBuffer : in OMX_VIDENC_HandleCommandDisablePort()
688 pCompPortOut->pBufferPrivate[i]->pBufferHdr ? in OMX_VIDENC_HandleCommandDisablePort()
689 pCompPortOut->pBufferPrivate[i]->pBufferHdr->nFilledLen : in OMX_VIDENC_HandleCommandDisablePort()
693 OMX_CONF_CIRCULAR_BUFFER_MOVE_HEAD(pCompPortOut->pBufferPrivate[i]->pBufferHdr, in OMX_VIDENC_HandleCommandDisablePort()
697 …if (pCompPortOut->pBufferPrivate[i]->pBufferHdr->hMarkTargetComponent == pComponentPrivate->pHandl… in OMX_VIDENC_HandleCommandDisablePort()
[all …]
/hardware/ti/omap4xxx/domx/domx/
Domx_proxy_common.h247 OMX_BUFFERHEADERTYPE * pBufferHdr);
255 OMX_BUFFERHEADERTYPE * pBufferHdr);
260 OMX_IN OMX_U32 nPortIndex, OMX_IN OMX_BUFFERHEADERTYPE * pBufferHdr);
/hardware/ti/omap4-aah/domx/domx/
Domx_proxy_common.h319 OMX_BUFFERHEADERTYPE * pBufferHdr);
327 OMX_BUFFERHEADERTYPE * pBufferHdr);
332 OMX_IN OMX_U32 nPortIndex, OMX_IN OMX_BUFFERHEADERTYPE * pBufferHdr);
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
DOMXCapture.cpp1149 OMX_BUFFERHEADERTYPE *pBufferHdr; in UseBuffersCapture() local
1155 &pBufferHdr, in UseBuffersCapture()
1164 pBufferHdr->pAppPrivate = (OMX_PTR) index; in UseBuffersCapture()
1165 pBufferHdr->nSize = sizeof(OMX_BUFFERHEADERTYPE); in UseBuffersCapture()
1166 pBufferHdr->nVersion.s.nVersionMajor = 1 ; in UseBuffersCapture()
1167 pBufferHdr->nVersion.s.nVersionMinor = 1 ; in UseBuffersCapture()
1168 pBufferHdr->nVersion.s.nRevision = 0; in UseBuffersCapture()
1169 pBufferHdr->nVersion.s.nStep = 0; in UseBuffersCapture()
1170 imgCaptureData->mBufferHeader[index] = pBufferHdr; in UseBuffersCapture()
/hardware/ti/omap4-aah/domx/domx/omx_rpc/inc/
Domx_rpc_stub.h86 OMX_BUFFERHEADERTYPE * pBufferHdr, OMX_U32 BufHdrRemote,
90 OMX_BUFFERHEADERTYPE * pBufferHdr, OMX_U32 BufHdrRemote,
/hardware/ti/omap4xxx/domx/domx/omx_rpc/inc/
Domx_rpc_stub.h86 OMX_BUFFERHEADERTYPE * pBufferHdr, OMX_U32 BufHdrRemote,
90 OMX_BUFFERHEADERTYPE * pBufferHdr, OMX_U32 BufHdrRemote,
/hardware/ti/omap4xxx/domx/omx_proxy_component/omx_video_dec/src/
Domx_proxy_videodec.c112 …RRORTYPE PROXY_VIDDEC_FillThisBuffer(OMX_HANDLETYPE hComponent, OMX_BUFFERHEADERTYPE * pBufferHdr);
610 …ERRORTYPE PROXY_VIDDEC_FillThisBuffer(OMX_HANDLETYPE hComponent, OMX_BUFFERHEADERTYPE * pBufferHdr) in PROXY_VIDDEC_FillThisBuffer() argument
620 PROXY_require(pBufferHdr != NULL, OMX_ErrorBadParameter, NULL); in PROXY_VIDDEC_FillThisBuffer()
623 PROXY_CHK_VERSION(pBufferHdr, OMX_BUFFERHEADERTYPE); in PROXY_VIDDEC_FillThisBuffer()
633 grallocHandle = (IMG_native_handle_t*)pBufferHdr->pBuffer; in PROXY_VIDDEC_FillThisBuffer()
652 eRPCError = PROXY_FillThisBuffer(hComponent, pBufferHdr); in PROXY_VIDDEC_FillThisBuffer()

12