Home
last modified time | relevance | path

Searched refs:fIn (Results 1 – 17 of 17) sorted by relevance

/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);
232 int unParse_Header (OMX_U8* pBuffer, FILE *fIn, int * payload);
239 OMX_ERRORTYPE send_input_buffer (OMX_HANDLETYPE pHandle, OMX_BUFFERHEADERTYPE* pBuffer, FILE *fIn);
240 …ERRORTYPE send_input_buffer_tc7 (OMX_HANDLETYPE pHandle, OMX_BUFFERHEADERTYPE* pBuffer, FILE *fIn);
242 float calc_buff_size(FILE *fIn);
247 FILE* fIn, FILE* fOut);
254 FILE* fIn, FILE* fOut);
480 FILE *fOut = NULL, *fIn = NULL; in main() local
574 fIn = fopen(argv[1], "r"); in main()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_dec/tests/
DWBAmrDecTest.c235 int fill_data (OMX_U8 *pBuf, int mode, FILE *fIn);
242 FILE* fIn, FILE* fOut);
248 FILE* fIn, FILE* fOut);
263 OMX_ERRORTYPE send_input_buffer (OMX_HANDLETYPE pHandle, OMX_BUFFERHEADERTYPE* pBuffer, FILE *fIn);
501 FILE* fIn = fopen(argv[1], "r"); local
597 if( fIn == NULL ) {
605 APP_DPRINT("file is %x\n",fIn);
767 APP_DPRINT("file is %x\n",fIn);
780 fIn = fopen(argv[1], "r");
781 if( fIn == NULL ) {
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/tests/
DG726DecTest.c135 int fill_data (OMX_BUFFERHEADERTYPE *pBuf, FILE *fIn);
143 OMX_ERRORTYPE send_input_buffer (OMX_HANDLETYPE pHandle, OMX_BUFFERHEADERTYPE* pBuffer, FILE *fIn);
376 FILE* fIn = NULL; in main() local
864 fIn = fopen(argv[1], "r"); in main()
865 if(fIn == NULL) { in main()
913 error = send_input_buffer (*pHandle, pInputBufferHeader[k], fIn); in main()
960 … error = send_input_buffer (*pHandle, pBuffer, fIn); in main()
986 error = send_input_buffer (*pHandle, pBuffer, fIn); in main()
1031 fseek(fIn, 0L, SEEK_SET); in main()
1037 error = send_input_buffer (*pHandle, pInputBufferHeader[k], fIn); in main()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_dec/tests/
DG722DecTest.c199 FILE* fIn = NULL; in main() local
385 fIn = fopen(argv[1], "r"); in main()
386 if(fIn == NULL) { in main()
423 …fFillOutBuff (pHandle, nIpBuffs, nOpBuffs, gDasfMode, pInputBufferHeader, fIn, pOutputBufferHeade… in main()
434 …error = testCases (pHandle, &rfds, tcID, fIn, fOut, &frmCnt, &totalFilled, &tv, gDasfMode, nIpBuff… in main()
446 fclose(fIn); in main()
849 …ERRORTYPE send_input_buffer(OMX_HANDLETYPE pHandle, OMX_BUFFERHEADERTYPE* pBufferHeader, FILE *fIn) in send_input_buffer() argument
859 nRead = fread(pBufferHeader->pBuffer, 1, pBufferHeader->nAllocLen , fIn); in send_input_buffer()
1326 OMX_ERRORTYPE testCases (OMX_HANDLETYPE *pHandle, fd_set *rfds, int tcID, FILE *fIn, FILE *fOut, in… in testCases() argument
1363 error = send_input_buffer (*pHandle, pBuffer, fIn); in testCases()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_enc/tests/
DG722EncTest.c79 FILE *fOut= NULL, *fIn = NULL; variable
121 int fill_data (OMX_BUFFERHEADERTYPE *pBuf, FILE *fIn);
130 OMX_ERRORTYPE send_input_buffer (OMX_HANDLETYPE pHandle, OMX_BUFFERHEADERTYPE* pBuffer, FILE *fIn);
725 fIn = fopen(argv[1], "r");
726 if(fIn == NULL) {
770 send_input_buffer(pHandle, pInputBufferHeader, fIn);
826 error = send_input_buffer (pHandle, pBuffer, fIn);
891 error = send_input_buffer (pHandle, pBuffer, fIn);
994 error = send_input_buffer (pHandle, pBuffer, fIn);
1151 rewind(fIn);
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/tests/
DG711DecTest.c206 OMX_S16 fill_data (OMX_BUFFERHEADERTYPE *pBuf, FILE *fIn);
207 OMX_ERRORTYPE send_input_buffer (OMX_HANDLETYPE pHandle, OMX_BUFFERHEADERTYPE* pBuffer, FILE *fIn);
544 FILE* fIn = fopen(argv[1], "r"); in main() local
545 if( fIn == NULL ) { in main()
698 fIn = fopen(argv[1], "r"); in main()
699 if( fIn == NULL ) { in main()
1123 fIn = fopen(argv[1], "r"); in main()
1124 if(fIn == NULL) in main()
1170 error = send_input_buffer (pHandle, pInputBufferHeader[k], fIn); in main()
1224 error = send_input_buffer (pHandle, pBuffer, fIn); in main()
[all …]
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/test/
DJPEGTestEnc.c806 int fill_data (OMX_BUFFERHEADERTYPE *pBufferPrivate, HANDLE fIn, int buffSize) in fill_data() argument
808 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()
824 oneByte = fgetc(fIn); in fill_data()
825 if (feof(fIn)){ in fill_data()
828 rewind(fIn); in fill_data()
831 ungetc(oneByte, fIn); in fill_data()
1091 HANDLE fIn = NULL; in _tmain() local
1098 FILE* fIn = NULL; in _tmain() local
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_enc/tests/
DAacEncTest.c196 FILE* fIn, FILE* fOut,
204 FILE* fIn, FILE* fOut,
563 FILE* fIn = NULL; /* input File pointer */ local
690 fIn = fopen(argv[1], "r");
691 if(fIn == NULL)
706 APP_DPRINT("%d :: APP: AAC Encoding Test --- fIn = [%p]\n", __LINE__, fIn);
790 if(fIn == NULL)
792 fIn = fopen(argv[1], "r");
793 if( fIn == NULL )
1367 fIn = fopen(argv[1], "r");
[all …]
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/tests/
DJPEGTest.c481 HANDLE fIn, long lBuffUsed) argument
484 FILE *fIn, int lBuffUsed)
492 lSize = GetFileSize(fIn, NULL );
493 SetFilePointer(fIn, 0, NULL, FILE_BEGIN);
501 ReadFile(fIn, pBuf->pBuffer, lBuffUsed, &nRead, NULL);
503 nRead = fread(pBuf->pBuffer,1, lBuffUsed, fIn);
631 HANDLE fIn = NULL; local
637 FILE* fIn = NULL; local
800 fIn = CreateFile(szInFile, GENERIC_READ, 0,
802 if (INVALID_HANDLE_VALUE == fIn) {
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/tests/
DG726EncTest.c269 OMX_ERRORTYPE send_input_buffer(OMX_HANDLETYPE pHandle, OMX_BUFFERHEADERTYPE* pBuffer, FILE *fIn);
468 FILE* fIn = NULL; local
525 fIn = fopen(argv[1], "r");
526 if( fIn == NULL ) {
646 fIn = fopen(argv[1], "r");
647 if( fIn == NULL ) {
1023 fIn = fopen(argv[1], "r");
1024 if(fIn == NULL) {
1075 eError = send_input_buffer(pHandle, pBuffer, fIn);
1175 eError = send_input_buffer(pHandle, pBuffer, fIn);
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_enc/tests/
DAmrEncTest.c316 OMX_ERRORTYPE send_input_buffer(OMX_HANDLETYPE pHandle, OMX_BUFFERHEADERTYPE* pBuffer, FILE *fIn);
336 FILE* fIn, FILE* fOut);
342 FILE* fIn, FILE* fOut);
533 FILE* fIn = NULL; local
591 fIn = fopen(argv[1], "r");
592 if( fIn == NULL ) {
723 fIn = fopen(argv[1], "r");
724 if( fIn == NULL ) {
1212 fIn = fopen(argv[1], "r");
1213 if(fIn == NULL) {
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/tests/
DWbAmrEncTest.c300 OMX_ERRORTYPE send_input_buffer(OMX_HANDLETYPE pHandle, OMX_BUFFERHEADERTYPE* pBuffer, FILE *fIn);
321 FILE* fIn, FILE* fOut);
327 FILE* fIn, FILE* fOut);
511 FILE* fIn = NULL; local
573 fIn = fopen(argv[1], "r");
575 if ( fIn == NULL ) {
710 fIn = fopen(argv[1], "r");
712 if ( fIn == NULL ) {
1224 fIn = fopen(argv[1], "r");
1226 if (fIn == NULL) {
[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);
182 OMX_ERRORTYPE send_input_buffer (OMX_HANDLETYPE pHandle, OMX_BUFFERHEADERTYPE* pBuffer, FILE *fIn);
496 FILE* fIn = fopen(argv[1], "r"); in main() local
498 if( fIn == NULL ) { in main()
650 fIn = fopen(argv[1], "r"); in main()
652 if( fIn == NULL ) { in main()
993 fIn = fopen(argv[1], "r"); in main()
995 if(fIn == NULL) { in main()
1045 error = send_input_buffer (pHandle, pInputBufferHeader[k], fIn); in main()
1109 error = send_input_buffer (pHandle, pBuffer, fIn); in main()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/tests/
DG711EncTest.c227 FILE *fIn);
419 FILE* fIn = NULL; in main() local
934 fIn = fopen(argv[1], "r"); in main()
935 if( fIn == NULL ) { in main()
974 send_input_buffer(pHandle,pInputBufferHeader[k],fIn); in main()
1023 send_input_buffer(pHandle,pBuffer,fIn); in main()
1079 send_input_buffer(pHandle,pBuffer,fIn); in main()
1170 send_input_buffer(pHandle,pBuffer,fIn); in main()
1263 fclose(fIn); in main()
1449 FILE *fIn) in send_input_buffer() argument
[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);
461 HANDLE fIn = NULL; in _tmain() local
472 FILE* fIn = NULL; in _tmain() local
1323 fIn = CreateFile(argv[1], GENERIC_READ, 0, in _tmain()
1325 if (INVALID_HANDLE_VALUE == fIn){ in _tmain()
1357 fIn = fopen(argv[1], "r"); in _tmain()
1358 if( fIn == NULL ){ in _tmain()
1528 nRead = fill_data (InputBufHeader[nCounter],fIn); in _tmain()
1728 nRead = fill_data (pBuffer,fIn); in _tmain()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_enc/tests/
DG729EncTest.c381 FILE* fIn = NULL; in main() local
447 fIn = fopen(argv[1], "r"); in main()
448 if( fIn == NULL ) { in main()
531 fIn = fopen(argv[1], "r"); in main()
532 if( fIn == NULL ) { in main()
889 fIn = fopen(argv[1], "r"); in main()
890 if(fIn == NULL) { in main()
935 nRead = fread(pBuffer->pBuffer, 1, pBuffer->nAllocLen, fIn); in main()
1009 nRead = fread(pBuffer->pBuffer, 1, pBuffer->nAllocLen, fIn); in main()
1067 nRead = fread(pBuffer->pBuffer, 1, pBuffer->nAllocLen, fIn); in main()
[all …]
/hardware/ti/omap3/omx/video/src/openmax_il/video_encode/test/
DVideoEncTest.c325 FILE* fIn; member
635 int VIDENCTEST_fill_data(OMX_BUFFERHEADERTYPE *pBuf, FILE *fIn, int buffersize) in VIDENCTEST_fill_data() argument
641 nRead = fread(pBuf->pBuffer,1, buffersize, fIn); in VIDENCTEST_fill_data()
645 nError = ferror(fIn); in VIDENCTEST_fill_data()
649 nError = feof(fIn); in VIDENCTEST_fill_data()
655 if (feof(fIn)) { in VIDENCTEST_fill_data()
726 fclose(pAppData->fIn); in VIDENCTEST_HandleError()
767 pAppData->fIn = NULL; in VIDENCTEST_HandleError()
1660 …->nFilledLen = VIDENCTEST_fill_data(pAppData->pInBuff[nCounter], pAppData->fIn , pAppData->pInPort… in VIDENCTEST_Starting()
1712 fclose(pAppData->fIn); in VIDENCTEST_DeInit()
[all …]