Lines Matching refs:fIn
188 /*FILE *fIn=NULL;
230 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 OMX_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;
574 fIn = fopen(argv[1], "r");
575 if( fIn == NULL ) {
733 fIn = fopen(argv[1], "r");
734 if( fIn == NULL ) {
819 outBuffSize = calc_buff_size(fIn);
821 fclose(fIn);
822 fIn = fopen(argv[1], "r");
823 if(fIn == NULL) {
871 outBuffSize = calc_buff_size(fIn);
873 fclose(fIn);
874 fIn = fopen(argv[1], "r");
875 if(fIn == NULL) {
1054 fIn = fopen(argv[1], "r");
1055 if(fIn == NULL) {
1119 error = send_input_buffer_tc7 (pHandle, pInputBufferHeader[k], fIn);
1131 error = send_input_buffer (pHandle, pInputBufferHeader[k], fIn);
1196 APP_DPRINT("APP:: %d send_input_buffer (pHandle, pBuffer, fIn)\n", __LINE__);
1197 error = send_input_buffer (pHandle, pBuffer, fIn);
1211 error = send_input_buffer_tc7 (pHandle, pBuffer, fIn);
1240 error = send_input_buffer (pHandle, pBuffer, fIn);
1272 error = send_input_buffer (pHandle, pBuffer, fIn);
1330 error = send_input_buffer (pHandle, pBuffer, fIn);
1344 error = send_input_buffer (pHandle, pBuffer, fIn);
1404 fclose(fIn);
1535 fIn,fOut);
1542 fIn,fOut);
1561 OMX_ERRORTYPE send_input_buffer(OMX_HANDLETYPE pHandle, OMX_BUFFERHEADERTYPE* pBuffer, FILE *fIn)
1566 int nRead = fill_data (pBuffer, fIn);
1596 OMX_ERRORTYPE send_input_buffer_tc7(OMX_HANDLETYPE pHandle, OMX_BUFFERHEADERTYPE* pBuffer, FILE *fIn)
1600 int nRead = fill_data_tc7 (pBuffer, fIn);
1627 int fill_data (OMX_BUFFERHEADERTYPE *pBuf,FILE *fIn)
1646 nRead = fread(pBuf->pBuffer, 1, 70, fIn);
1651 nRead += fread(pBuf->pBuffer + byteOffset, 1, 5, fIn);
1656 nRead += fread(pBuf->pBuffer + byteOffset, 1, packetSize, fIn);
1662 fread(&temp,5,1,fIn); // moving file 5 bytes
1665 nRead = fread(pBuf->pBuffer, 1, payload, fIn);
1672 nRead = unParse_Header(pBuf->pBuffer,fIn, &payload);
1695 int fill_data_tc7 (OMX_BUFFERHEADERTYPE *pBuf,FILE *fIn)
1705 nRead = fread(pBuf->pBuffer, 1,75 , fIn);
1707 fread(tempBuffer, 1, 19500, fIn);
1711 nRead += fread(pBufferOffset, 1, pBuf->nAllocLen-75, fIn);
1715 nRead = fread(pBuf->pBuffer, 1, pBuf->nAllocLen , fIn);
1728 float calc_buff_size(FILE *fIn)
1741 nRead = fread(pBuffer, 1, 70, fIn);
1938 FILE* fIn, FILE* fOut)
1976 if(fIn != NULL)
1977 { fclose(fIn);
1978 fIn=NULL;
1999 FILE* fIn, FILE* fOut)
2039 if (fIn != NULL)
2040 { fclose(fIn);
2041 fIn=NULL;
2056 int unParse_Header (OMX_U8* pBuffer, FILE *fIn, int * payload){
2061 fread(tempBuffer,75,1,fIn);