Searched refs:pBuf (Results 1 - 25 of 54) sorted by relevance

123

/hardware/ti/omap3/dspbridge/inc/
H A DDSPManager.h201 * pBuf: Pointer to information buffer.
207 extern DBAPI DSPManager_GetProcResourceInfo(UINT *pBuf, UINT *pSize);
H A Dnldrdefs.h86 * pBuf: Code or data to be written
96 ULONG ulDspAddr, PVOID pBuf,
/hardware/ti/omap3/dspbridge/libbridge/inc/
H A DDSPManager.h201 * pBuf: Pointer to information buffer.
207 extern DBAPI DSPManager_GetProcResourceInfo(UINT *pBuf, UINT *pSize);
H A Dnldrdefs.h86 * pBuf: Code or data to be written
96 ULONG ulDspAddr, PVOID pBuf,
/hardware/ti/omap4-aah/domx/omx_core/inc/
H A DOMX_TI_Common.h249 * @ param pBuf : Array of buffers of type eBufType
256 OMX_PTR pBuf[3]; member in struct:OMX_TI_BUFFERDESCRIPTOR_TYPE
299 * @ param pBuf : Buffer communication
312 OMX_PTR pBuf[3]; member in struct:OMX_TI_PARAM_COMPONENTBUFALLOCTYPE
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/tests/
H A DG726DecTest.c135 int fill_data (OMX_BUFFERHEADERTYPE *pBuf, FILE *fIn);
1172 OMX_BUFFERHEADERTYPE* pBuf = NULL; local
1173 read(OpBuf_Pipe[0], &pBuf, sizeof(pBuf));
1174 if(pBuf->nFilledLen == 0){
1175 APP_DPRINT("%d :: APP: output buffer received, filled length = %d, totalfilled = %d\n",__LINE__,(int)pBuf->nFilledLen,totalFilled);
1177 APP_DPRINT("%d :: APP: output buffer received, filled length = %d, totalfilled = %d\n",__LINE__,(int)pBuf->nFilledLen,totalFilled);
1178 fwrite(pBuf->pBuffer, 1, pBuf->nFilledLen, fOut);
1181 APP_DPRINT("Output time stamp = %d\n", (int)pBuf
1409 fill_data(OMX_BUFFERHEADERTYPE *pBuf,FILE *fIn) argument
[all...]
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/tests/
H A DVPPTest.c72 int fill_data (OMX_BUFFERHEADERTYPE *pBuf, HANDLE fIn);
74 int fill_data (OMX_BUFFERHEADERTYPE *pBuf, FILE *fIn);
513 OMX_BUFFERHEADERTYPE* pBuf = NULL; /*To Hold Output Buffers*/ local
1790 read(OpRGBBuf_Pipe[0], &pBuf, sizeof(pBuf));
1791 APP_DPRINT("%d ::App: Read from OpBuf_Pipe OutBufHeader %p\n", __LINE__,pBuf);
1793 if (pBuf->nAllocLen != pBuf->nFilledLen ) {
1794 if(pBuf->nFilledLen==0) printf("* WARNING: Frame has been lost (pBuf
[all...]
/hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/tests/
H A DWmaDecTest.c230 int fill_data (OMX_BUFFERHEADERTYPE *pBuf, FILE *fIn);
231 int fill_data_tc7 (OMX_BUFFERHEADERTYPE *pBuf, FILE *fIn);
1358 OMX_BUFFERHEADERTYPE* pBuf; local
1359 read(OpBuf_Pipe[0], &pBuf, sizeof(pBuf));
1360 fwrite(pBuf->pBuffer, 1, pBuf->nFilledLen, fOut);
1362 APP_DPRINT("Writing %d bytes to file\n",pBuf->nFilledLen);
1365 pComponent->FillThisBuffer(pHandle, pBuf);
1368 pComponent->FillThisBuffer(pHandle, pBuf);
1627 fill_data(OMX_BUFFERHEADERTYPE *pBuf,FILE *fIn) argument
1695 fill_data_tc7(OMX_BUFFERHEADERTYPE *pBuf,FILE *fIn) argument
[all...]
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_dec/tests/
H A DG729DecTest.c180 OMX_S16 fill_data_fromFile (OMX_BUFFERHEADERTYPE *pBuf, FILE *fIn, OMX_HANDLETYPE pHandle);
407 OMX_BUFFERHEADERTYPE* pBuf = NULL; local
1178 read(OpBuf_Pipe[0], &pBuf, sizeof(pBuf));
1181 if ((state != OMX_StateExecuting) && (pBuf->nFilledLen > 0)){
1184 APP_DPRINT ("FWRITE output buffer of size %d\n",pBuf->nFilledLen);
1185 if(pBuf->nFlags!=1){
1186 fwrite(pBuf->pBuffer, 1, pBuf->nFilledLen, fOut);
1189 pComponent->FillThisBuffer(pHandle, pBuf);
1385 fill_data_fromFile(OMX_BUFFERHEADERTYPE *pBuf, FILE *fIn, OMX_HANDLETYPE pHandle) argument
[all...]
/hardware/ti/omap3/dspbridge/libbridge/
H A DDSPManager.c378 DBAPI DSPManager_GetProcResourceInfo(UINT *pBuf, UINT *pSize) argument
385 if (pBuf == NULL)
390 tempStruct.ARGS_PROC_GETTRACE.pBuf = (BYTE *)pBuf;
H A DDSPStrm.c116 PVOID pBuf = NULL; local
162 pBuf = MEM_Alloc(uSize, MEM_NONPAGED);
163 if (!pBuf) {
168 apBuffer[i] = pBuf;
/hardware/intel/common/utils/ISV/profile/
H A Disv_profile.cpp303 void *pBuf = NULL; local
320 pBuf = malloc(mBufSize);
321 if (NULL == pBuf) {
327 int len = (int)::fread(pBuf, 1, mBufSize, fp);
335 if (XML_Parse(parser, (const char *)pBuf, len, done) == XML_STATUS_ERROR) {
344 if (pBuf)
345 free(pBuf);
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_enc/tests/
H A DG722EncTest.c121 int fill_data (OMX_BUFFERHEADERTYPE *pBuf, FILE *fIn);
1089 OMX_BUFFERHEADERTYPE* pBuf = NULL; local
1090 read(OpBuf_Pipe[0], &pBuf, sizeof(pBuf));
1092 if (pBuf->nAllocLen != pBuf->nFilledLen) {
1093 APP_DPRINT("%d :: WARNING: Different Size, %ld\n", __LINE__, pBuf->nFilledLen);
1096 fwrite(pBuf->pBuffer, 1, pBuf->nFilledLen, fOut);
1100 OMX_FillThisBuffer(pHandle, pBuf);
1381 fill_data(OMX_BUFFERHEADERTYPE *pBuf,FILE *fIn) argument
[all...]
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/tests/
H A DG711DecTest.c206 OMX_S16 fill_data (OMX_BUFFERHEADERTYPE *pBuf, FILE *fIn);
471 OMX_BUFFERHEADERTYPE* pBuf = NULL; local
1412 read(OpBuf_Pipe[0], &pBuf, sizeof(pBuf));
1413 if (OUTPUT_G711DEC_BUFFER_SIZE != pBuf->nFilledLen ) {
1414 APP_DPRINT ("%d : WARNING: Different Size, %d\n",__LINE__,(int)pBuf->nFilledLen);
1416 if ((state != OMX_StateExecuting) && (pBuf->nFilledLen > 0))
1418 fwrite(pBuf->pBuffer, 1, pBuf->nFilledLen, fOut);
1421 OMX_FillThisBuffer(pHandle, pBuf);
1607 fill_data(OMX_BUFFERHEADERTYPE *pBuf, FILE *fIn) argument
[all...]
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/tests/
H A DJPEGTest.c480 int fill_data (OMX_BUFFERHEADERTYPE *pBuf, argument
483 int fill_data (OMX_BUFFERHEADERTYPE *pBuf,
489 PRINT(" checking buf address %x\n", (unsigned int)pBuf->pBuffer);
501 ReadFile(fIn, pBuf->pBuffer, lBuffUsed, &nRead, NULL);
503 nRead = fread(pBuf->pBuffer,1, lBuffUsed, fIn);
509 pBuf->nFilledLen = nRead;
1371 OMX_BUFFERHEADERTYPE* pBuf; local
1377 read(OpBuf_Pipe[0], &pBuf, sizeof(pBuf));
1379 PRINT("%d ::App: Read from OpBuf_Pipe OutBufHeader %p, nFilledLen = %d\n", __LINE__, pBuf, (in
[all...]
/hardware/samsung_slsi/exynos5/libcamera/
H A DExynosCameraHWInterface.h197 bool m_checkVideoStartMarker(unsigned char *pBuf);
198 bool m_checkEOIMarker(unsigned char *pBuf);
199 bool m_findEOIMarkerInJPEG(unsigned char *pBuf,
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_dec/tests/
H A DWBAmrDecTest.c235 int fill_data (OMX_U8 *pBuf, int mode, FILE *fIn);
497 OMX_BUFFERHEADERTYPE* pBuf; local
1465 read(OpBuf_Pipe[0], &pBuf, sizeof(pBuf));
1466 if(pBuf->nFlags == OMX_BUFFERFLAG_EOS){
1468 pBuf->nFlags = 0;
1471 /**/fwrite(pBuf->pBuffer, 1, pBuf->nFilledLen, fOut);
1474 pComponent->FillThisBuffer(pHandle, pBuf);
1866 int fill_data (OMX_U8 *pBuf, in argument
[all...]
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_dec/tests/
H A DG722DecTest.c1500 OMX_BUFFERHEADERTYPE* pBuf = NULL; local
1501 read(OpBuf_Pipe[0], &pBuf, sizeof(pBuf));
1502 if(pBuf->nFlags == OMX_BUFFERFLAG_EOS){
1504 pBuf->nFlags = 0;
1508 if(pBuf->nFilledLen == 0) {
1509 APP_DPRINT("%d :: APP: output buffer received, filled length = %d, totalfilled = %d\n",__LINE__,(int)pBuf->nFilledLen,totalFilled);
1511 APP_DPRINT("%d :: APP: output buffer received, filled length = %d, totalfilled = %d\n",__LINE__,(int)pBuf->nFilledLen,totalFilled);
1512 fwrite(pBuf->pBuffer, 1, pBuf
[all...]
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_enc/tests/
H A DG729EncTest.c1265 OMX_BUFFERHEADERTYPE* pBuf = NULL; local
1266 read(OpBuf_Pipe[0], &pBuf, sizeof(pBuf));
1267 APP_DPRINT("%d :: App: pBuf->nFilledLen = %ld\n",__LINE__, pBuf->nFilledLen);
1268 nFrameLen = pBuf->nFilledLen;
1271 char* temp = (char *)pBuf->pBuffer;
1306 OMX_FillThisBuffer(pHandle, pBuf);
1307 APP_DPRINT("%d :: App: pBuf->nFlags = %ld\n",__LINE__, pBuf
[all...]
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/tests/
H A DG726EncTest.c1239 OMX_BUFFERHEADERTYPE* pBuf = NULL; local
1240 read(OpBuf_Pipe[0], &pBuf, sizeof(pBuf));
1241 APP_DPRINT("%d :: App: pBuf->nFilledLen = %ld\n",__LINE__, pBuf->nFilledLen);
1242 nFrameLen = pBuf->nFilledLen;
1247 fwrite(pBuf->pBuffer, 1, nFrameLen, fOut);
1251 APP_DPRINT("%d :: App: pBuf->nFlags = %ld\n",__LINE__, pBuf->nFlags);
1253 if(pBuf
[all...]
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/test/
H A DJPEGTestEnc.c808 int fill_data (OMX_BUFFERHEADERTYPE *pBuf, FILE *fIn, int buffSize)
816 ReadFile(fIn, pBuf->pBuffer, lSize, &nRead, NULL);
818 nRead = fread(pBuf->pBuffer,1, buffSize , fIn);
822 pBuf->nFilledLen = nRead;
826 pBuf->nFlags = OMX_BUFFERFLAG_ENDOFFRAME;
1110 OMX_BUFFERHEADERTYPE* pBuf; local
1920 read(OpBuf_Pipe[0], &pBuf, sizeof(pBuf));
1924 WriteFile(fOut, pBuf->pBuffer, pBuf
[all...]
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/tests/
H A DG711EncTest.c1222 OMX_BUFFERHEADERTYPE* pBuf; local
1223 read(OpBuf_Pipe[0], &pBuf, sizeof(pBuf));
1224 APP_DPRINT("%d [TEST APP] pBuf->nFilledLen = %ld\n",__LINE__, pBuf->nFilledLen);
1225 nFrameLen = pBuf->nFilledLen;
1228 fwrite(pBuf->pBuffer, 1, pBuf->nFilledLen, fOut);
1233 OMX_FillThisBuffer(pHandle, pBuf);
1234 APP_DPRINT("%d [TEST APP] pBuf
[all...]
/hardware/intel/img/psb_video/src/
H A Dpsb_buffer.c473 unsigned int *pBuf = NULL; local
477 pBuf = (unsigned int *)(vaCodedBufSeg[uiPipeIndex].buf);
478 pBuf -= 16;
481 drv_debug_msg(VIDEO_DEBUG_GENERAL, "%s: 0x%08x\n", __FUNCTION__, pBuf[(i*4) + j]);
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/
H A DExynos_OSAL_Android.cpp195 OMX_PTR pBuf; local
197 ret = Exynos_OSAL_GetInfoFromMetaData((OMX_BYTE)pBuffer, &pBuf);
199 ret = Exynos_OSAL_LockANBHandle((OMX_U32)pBuf, width, height, format, pStride, planes);
213 OMX_PTR pBuf; local
215 ret = Exynos_OSAL_GetInfoFromMetaData((OMX_BYTE)pBuffer, &pBuf);
217 ret = Exynos_OSAL_UnlockANBHandle((OMX_U32)pBuf);
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_enc/tests/
H A DAmrEncTest.c1394 OMX_BUFFERHEADERTYPE* pBuf; local
1395 read(OpBuf_Pipe[0], &pBuf, sizeof(pBuf));
1396 APP_DPRINT("%d :: App: pBuf->nFilledLen = %ld\n",__LINE__, pBuf->nFilledLen);
1397 nFrameLen = pBuf->nFilledLen;
1410 fwrite(pBuf->pBuffer, 1, nFrameLen, fOut);
1413 if(pBuf->nFlags == OMX_BUFFERFLAG_EOS) {
1417 pBuf->nFlags = 0;
1422 pComponent->FillThisBuffer(pHandle, pBuf);
[all...]

Completed in 983 milliseconds

123