Home
last modified time | relevance | path

Searched refs:pBuf (Results 1 – 25 of 53) sorted by relevance

123

/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/tests/
DG726DecTest.c135 int fill_data (OMX_BUFFERHEADERTYPE *pBuf, FILE *fIn);
1172 OMX_BUFFERHEADERTYPE* pBuf = NULL; in main() local
1173 read(OpBuf_Pipe[0], &pBuf, sizeof(pBuf)); in main()
1174 if(pBuf->nFilledLen == 0){ in main()
1175 …ut buffer received, filled length = %d, totalfilled = %d\n",__LINE__,(int)pBuf->nFilledLen,totalFi… in main()
1177 …ut buffer received, filled length = %d, totalfilled = %d\n",__LINE__,(int)pBuf->nFilledLen,totalFi… in main()
1178 fwrite(pBuf->pBuffer, 1, pBuf->nFilledLen, fOut); in main()
1181 APP_DPRINT("Output time stamp = %d\n", (int)pBuf->nTimeStamp); in main()
1182 APP_DPRINT("Output tick count = %ld\n", pBuf->nTickCount); in main()
1189 OMX_FillThisBuffer(*pHandle, pBuf); in main()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/tests/
DWmaDecTest.c230 int fill_data (OMX_BUFFERHEADERTYPE *pBuf, FILE *fIn);
231 int fill_data_tc7 (OMX_BUFFERHEADERTYPE *pBuf, FILE *fIn);
1358 OMX_BUFFERHEADERTYPE* pBuf; in main() local
1359 read(OpBuf_Pipe[0], &pBuf, sizeof(pBuf)); in main()
1360 fwrite(pBuf->pBuffer, 1, pBuf->nFilledLen, fOut); in main()
1362 APP_DPRINT("Writing %d bytes to file\n",pBuf->nFilledLen); in main()
1365 pComponent->FillThisBuffer(pHandle, pBuf); in main()
1368 pComponent->FillThisBuffer(pHandle, pBuf); in main()
1371 if(pBuf->nFlags == OMX_BUFFERFLAG_EOS){ in main()
1373 pBuf->nFlags = 0; in main()
[all …]
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/tests/
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*/ in _tmain() local
1790 read(OpRGBBuf_Pipe[0], &pBuf, sizeof(pBuf)); in _tmain()
1791 … APP_DPRINT("%d ::App: Read from OpBuf_Pipe OutBufHeader %p\n", __LINE__,pBuf); in _tmain()
1793 if (pBuf->nAllocLen != pBuf->nFilledLen ) { in _tmain()
1794 … if(pBuf->nFilledLen==0) printf("* WARNING: Frame has been lost (pBuf->nFilledLen is 0)\n"); in _tmain()
1795 … APP_DPRINT("%d : WARNING: Different Size, %ld\n",__LINE__, pBuf->nFilledLen); in _tmain()
1799 WriteFile(fOut, pBuf->pBuffer, pBuf->nFilledLen, &dwWritten, NULL); in _tmain()
1801 fwrite(pBuf->pBuffer, 1, pBuf->nFilledLen, fOut); in _tmain()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_dec/tests/
DG729DecTest.c180 OMX_S16 fill_data_fromFile (OMX_BUFFERHEADERTYPE *pBuf, FILE *fIn, OMX_HANDLETYPE pHandle);
407 OMX_BUFFERHEADERTYPE* pBuf = NULL; in main() local
1178 read(OpBuf_Pipe[0], &pBuf, sizeof(pBuf)); in main()
1181 if ((state != OMX_StateExecuting) && (pBuf->nFilledLen > 0)){ in main()
1184 APP_DPRINT ("FWRITE output buffer of size %d\n",pBuf->nFilledLen); in main()
1185 if(pBuf->nFlags!=1){ in main()
1186 fwrite(pBuf->pBuffer, 1, pBuf->nFilledLen, fOut); in main()
1189 … pComponent->FillThisBuffer(pHandle, pBuf); in main()
1195 pBuf->nFlags = 0; in main()
1385 OMX_S16 fill_data_fromFile (OMX_BUFFERHEADERTYPE *pBuf, FILE *fIn, OMX_HANDLETYPE pHandle) in fill_data_fromFile() argument
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/tests/
DG711DecTest.c206 OMX_S16 fill_data (OMX_BUFFERHEADERTYPE *pBuf, FILE *fIn);
471 OMX_BUFFERHEADERTYPE* pBuf = NULL; in main() local
1412 read(OpBuf_Pipe[0], &pBuf, sizeof(pBuf)); in main()
1413 if (OUTPUT_G711DEC_BUFFER_SIZE != pBuf->nFilledLen ) { in main()
1414 … APP_DPRINT ("%d : WARNING: Different Size, %d\n",__LINE__,(int)pBuf->nFilledLen); in main()
1416 if ((state != OMX_StateExecuting) && (pBuf->nFilledLen > 0)) in main()
1418 fwrite(pBuf->pBuffer, 1, pBuf->nFilledLen, fOut); in main()
1421 OMX_FillThisBuffer(pHandle, pBuf); in main()
1607 OMX_S16 fill_data (OMX_BUFFERHEADERTYPE *pBuf, FILE *fIn) in fill_data() argument
1619 numRead = 2*pBuf->nAllocLen; in fill_data()
[all …]
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/tests/
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 …: Read from OpBuf_Pipe OutBufHeader %p, nFilledLen = %d\n", __LINE__, pBuf, (int)pBuf->nFilledLen);
1382 WriteFile(fOut, pBuf->pBuffer, pBuf->nFilledLen, &dwWritten, NULL);
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_enc/tests/
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 int fill_data (OMX_BUFFERHEADERTYPE *pBuf,FILE *fIn) argument
1386 nRead = fread(pBuf->pBuffer, 1, pBuf->nAllocLen , fIn);
1388 pBuf->nFilledLen = nRead;
/hardware/ti/omap3/dspbridge/libbridge/
DDSPManager.c378 DBAPI DSPManager_GetProcResourceInfo(UINT *pBuf, UINT *pSize) in DSPManager_GetProcResourceInfo() argument
385 if (pBuf == NULL) in DSPManager_GetProcResourceInfo()
390 tempStruct.ARGS_PROC_GETTRACE.pBuf = (BYTE *)pBuf; in DSPManager_GetProcResourceInfo()
DDSPStrm.c116 PVOID pBuf = NULL; in DSPStream_AllocateBuffers() local
162 pBuf = MEM_Alloc(uSize, MEM_NONPAGED); in DSPStream_AllocateBuffers()
163 if (!pBuf) { in DSPStream_AllocateBuffers()
168 apBuffer[i] = pBuf; in DSPStream_AllocateBuffers()
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_dec/tests/
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, int mode, FILE *fIn) argument
1899 nBytesRead = fread(pBuf, 1, numRead , fIn);
1932 *((OMX_S8*)(pBuf)) = first_char;
[all …]
/hardware/ti/omap4-aah/domx/omx_core/inc/
DOMX_TI_Common.h256 OMX_PTR pBuf[3]; member
312 OMX_PTR pBuf[3]; member
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/test/
DJPEGTestEnc.c808 int fill_data (OMX_BUFFERHEADERTYPE *pBuf, FILE *fIn, int buffSize) in fill_data()
816 ReadFile(fIn, pBuf->pBuffer, lSize, &nRead, NULL); in fill_data()
818 nRead = fread(pBuf->pBuffer,1, buffSize , fIn); in fill_data()
822 pBuf->nFilledLen = nRead; in fill_data()
826 pBuf->nFlags = OMX_BUFFERFLAG_ENDOFFRAME; in fill_data()
1110 OMX_BUFFERHEADERTYPE* pBuf; in _tmain() local
1920 read(OpBuf_Pipe[0], &pBuf, sizeof(pBuf)); in _tmain()
1924 WriteFile(fOut, pBuf->pBuffer, pBuf->nFilledLen, &dwWritten, NULL); in _tmain()
1926 printf("APP:: Write into file %lu bytes (%d)\n",pBuf->nFilledLen, nframerecieved); in _tmain()
1927 fwrite(pBuf->pBuffer, 1, (int)pBuf->nFilledLen, fOut); in _tmain()
[all …]
/hardware/samsung_slsi/exynos5/libcamera/
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/g722_dec/tests/
DG722DecTest.c1500 OMX_BUFFERHEADERTYPE* pBuf = NULL; in testCases() local
1501 read(OpBuf_Pipe[0], &pBuf, sizeof(pBuf)); in testCases()
1502 if(pBuf->nFlags == OMX_BUFFERFLAG_EOS){ in testCases()
1504 pBuf->nFlags = 0; in testCases()
1508 if(pBuf->nFilledLen == 0) { in testCases()
1509 …ut buffer received, filled length = %d, totalfilled = %d\n",__LINE__,(int)pBuf->nFilledLen,totalFi… in testCases()
1511 …ut buffer received, filled length = %d, totalfilled = %d\n",__LINE__,(int)pBuf->nFilledLen,totalFi… in testCases()
1512 fwrite(pBuf->pBuffer, 1, pBuf->nFilledLen, fOut); in testCases()
1514 totalFilled += pBuf->nFilledLen; in testCases()
1516 OMX_FillThisBuffer(*pHandle, pBuf); in testCases()
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_enc/tests/
DG729EncTest.c1265 OMX_BUFFERHEADERTYPE* pBuf = NULL; in main() local
1266 read(OpBuf_Pipe[0], &pBuf, sizeof(pBuf)); in main()
1267 APP_DPRINT("%d :: App: pBuf->nFilledLen = %ld\n",__LINE__, pBuf->nFilledLen); in main()
1268 nFrameLen = pBuf->nFilledLen; in main()
1271 char* temp = (char *)pBuf->pBuffer; in main()
1306 OMX_FillThisBuffer(pHandle, pBuf); in main()
1307 APP_DPRINT("%d :: App: pBuf->nFlags = %ld\n",__LINE__, pBuf->nFlags); in main()
1310 APP_DPRINT("Output time stamp = %ld\n",(long int) pBuf->nTimeStamp); in main()
1311 … APP_DPRINT("Output tick count = %ld\n", pBuf->nTickCount); in main()
1316 if(pBuf->nFlags == 1) { in main()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/tests/
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->nFlags == OMX_BUFFERFLAG_EOS) {
1257 pBuf->nFlags = 0;
1261 OMX_FillThisBuffer(pComponent, pBuf);
1262 APP_DPRINT("%d :: App: pBuf->nFlags = %ld\n",__LINE__, pBuf->nFlags);
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/tests/
DG711EncTest.c1222 OMX_BUFFERHEADERTYPE* pBuf; in main() local
1223 read(OpBuf_Pipe[0], &pBuf, sizeof(pBuf)); in main()
1224 APP_DPRINT("%d [TEST APP] pBuf->nFilledLen = %ld\n",__LINE__, pBuf->nFilledLen); in main()
1225 nFrameLen = pBuf->nFilledLen; in main()
1228 fwrite(pBuf->pBuffer, 1, pBuf->nFilledLen, fOut); in main()
1233 OMX_FillThisBuffer(pHandle, pBuf); in main()
1234 APP_DPRINT("%d [TEST APP] pBuf->nFlags = %ld\n",__LINE__, pBuf->nFlags); in main()
/hardware/ti/omap3/dspbridge/inc/
DDSPManager.h207 extern DBAPI DSPManager_GetProcResourceInfo(UINT *pBuf, UINT *pSize);
Dnldrdefs.h96 ULONG ulDspAddr, PVOID pBuf,
/hardware/ti/omap3/dspbridge/libbridge/inc/
DDSPManager.h207 extern DBAPI DSPManager_GetProcResourceInfo(UINT *pBuf, UINT *pSize);
Dnldrdefs.h96 ULONG ulDspAddr, PVOID pBuf,
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/
DExynos_OSAL_Android.cpp195 OMX_PTR pBuf; in Exynos_OSAL_LockMetaData() local
197 ret = Exynos_OSAL_GetInfoFromMetaData((OMX_BYTE)pBuffer, &pBuf); in Exynos_OSAL_LockMetaData()
199 ret = Exynos_OSAL_LockANBHandle((OMX_U32)pBuf, width, height, format, pStride, planes); in Exynos_OSAL_LockMetaData()
213 OMX_PTR pBuf; in Exynos_OSAL_UnlockMetaData() local
215 ret = Exynos_OSAL_GetInfoFromMetaData((OMX_BYTE)pBuffer, &pBuf); in Exynos_OSAL_UnlockMetaData()
217 ret = Exynos_OSAL_UnlockANBHandle((OMX_U32)pBuf); in Exynos_OSAL_UnlockMetaData()
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/tests/
DWbAmrEncTest.c1431 OMX_BUFFERHEADERTYPE* pBuf; local
1432 read(OpBuf_Pipe[0], &pBuf, sizeof(pBuf));
1433 … APP_DPRINT("%d :: App: pBuf->nFilledLen = %ld\n", __LINE__, pBuf->nFilledLen);
1434 nFrameLen = pBuf->nFilledLen;
1449 fwrite(pBuf->pBuffer, 1, nFrameLen, fOut);
1453 if (pBuf->nFlags == OMX_BUFFERFLAG_EOS) {
1457 pBuf->nFlags = 0;
1461 pComponent->FillThisBuffer(pHandle, pBuf);
1462 APP_DPRINT("%d :: App: pBuf->nFlags = %ld\n", __LINE__, pBuf->nFlags);
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_enc/tests/
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);
1423 APP_DPRINT("%d :: App: pBuf->nFlags = %ld\n",__LINE__, pBuf->nFlags);
/hardware/intel/img/psb_video/src/
Dpsb_buffer.c473 unsigned int *pBuf = NULL; in psb__trace_coded() local
477 pBuf = (unsigned int *)(vaCodedBufSeg[uiPipeIndex].buf); in psb__trace_coded()
478 pBuf -= 16; in psb__trace_coded()
481 drv_debug_msg(VIDEO_DEBUG_GENERAL, "%s: 0x%08x\n", __FUNCTION__, pBuf[(i*4) + j]); in psb__trace_coded()

123