/hardware/ti/omap3/dspbridge/inc/ |
H A D | DSPManager.h | 201 * pBuf: Pointer to information buffer. 207 extern DBAPI DSPManager_GetProcResourceInfo(UINT *pBuf, UINT *pSize);
|
H A D | nldrdefs.h | 86 * pBuf: Code or data to be written 96 ULONG ulDspAddr, PVOID pBuf,
|
/hardware/ti/omap3/dspbridge/libbridge/inc/ |
H A D | DSPManager.h | 201 * pBuf: Pointer to information buffer. 207 extern DBAPI DSPManager_GetProcResourceInfo(UINT *pBuf, UINT *pSize);
|
H A D | nldrdefs.h | 86 * pBuf: Code or data to be written 96 ULONG ulDspAddr, PVOID pBuf,
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/tests/ |
H A D | G726DecTest.c | 135 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 D | VPPTest.c | 72 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 D | WmaDecTest.c | 230 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 D | G729DecTest.c | 180 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 D | DSPManager.c | 378 DBAPI DSPManager_GetProcResourceInfo(UINT *pBuf, UINT *pSize) argument 385 if (pBuf == NULL) 390 tempStruct.ARGS_PROC_GETTRACE.pBuf = (BYTE *)pBuf;
|
H A D | DSPStrm.c | 116 PVOID pBuf = NULL; local 162 pBuf = MEM_Alloc(uSize, MEM_NONPAGED); 163 if (!pBuf) { 168 apBuffer[i] = pBuf;
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_enc/tests/ |
H A D | G722EncTest.c | 121 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 D | G711DecTest.c | 206 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 D | JPEGTest.c | 480 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 D | ExynosCameraHWInterface.h | 197 bool m_checkVideoStartMarker(unsigned char *pBuf); 198 bool m_checkEOIMarker(unsigned char *pBuf); 199 bool m_findEOIMarkerInJPEG(unsigned char *pBuf,
|
H A D | ExynosCameraHWInterface.cpp | 3572 bool ExynosCameraHWInterface::m_checkVideoStartMarker(unsigned char *pBuf) argument 3574 if (!pBuf) { 3575 ALOGE("m_checkVideoStartMarker() => pBuf is NULL"); 3579 if (HIBYTE(VIDEO_COMMENT_MARKER_H) == * pBuf && LOBYTE(VIDEO_COMMENT_MARKER_H) == *(pBuf + 1) && 3580 HIBYTE(VIDEO_COMMENT_MARKER_L) == *(pBuf + 2) && LOBYTE(VIDEO_COMMENT_MARKER_L) == *(pBuf + 3)) 3586 bool ExynosCameraHWInterface::m_checkEOIMarker(unsigned char *pBuf) argument 3588 if (!pBuf) { 3589 ALOGE("m_checkEOIMarker() => pBuf i 3600 m_findEOIMarkerInJPEG(unsigned char *pBuf, int dwBufSize, int *pnJPEGsize) argument [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_dec/tests/ |
H A D | WBAmrDecTest.c | 235 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 D | G722DecTest.c | 1500 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 D | G729EncTest.c | 1265 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 D | G726EncTest.c | 1239 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 D | JPEGTestEnc.c | 808 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/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/ |
H A D | Exynos_OSAL_Android.cpp | 229 OMX_PTR pBuf; local 231 ret = Exynos_OSAL_GetInfoFromMetaData((OMX_BYTE)pBuffer, &pBuf); 233 ret = Exynos_OSAL_LockANBHandle((OMX_U32)pBuf, width, height, format, planes); 234 *pStride = Exynos_OSAL_GetANBStride((OMX_U32)pBuf); 248 OMX_PTR pBuf; local 250 ret = Exynos_OSAL_GetInfoFromMetaData((OMX_BYTE)pBuffer, &pBuf); 252 ret = Exynos_OSAL_UnlockANBHandle((OMX_U32)pBuf);
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/tests/ |
H A D | G711EncTest.c | 1222 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/ti/omap3/omx/audio/src/openmax_il/nbamr_enc/tests/ |
H A D | AmrEncTest.c | 1394 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...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/tests/ |
H A D | WbAmrEncTest.c | 1431 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); [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_enc/tests/ |
H A D | AacEncTest.c | 1997 OMX_BUFFERHEADERTYPE* pBuf; local 1998 read(OpBuf_Pipe[0], &pBuf, sizeof(pBuf)); 2001 memset(pBuf->pBuffer, 0x0, pBuf->nAllocLen); 2002 pBuf->nFilledLen=0; 2005 APP_DPRINT("%d :: App: Buffer to write to the file: %p \n",__LINE__,pBuf); 2007 APP_DPRINT("%d :: App: %ld bytes are being written\n",__LINE__,(pBuf->nFilledLen)); 2010 fwrite (pBuf->pBuffer, 1, (pBuf [all...] |