/hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/tests/ |
H A D | WmaDecTest.c | 1566 int nRead = fill_data (pBuffer, fIn); local 1569 if(nRead <= 0) { 1572 pBuffer->nFilledLen = nRead; 1573 APP_DPRINT("nRead = %d\n",nRead); 1579 APP_DPRINT("Send input buffer nRead = %d\n",nRead); 1580 pBuffer->nFilledLen = nRead; 1600 int nRead = fill_data_tc7 (pBuffer, fIn); local 1601 if(nRead < pBuffe 1629 int nRead; local 1697 int nRead; local 1730 int nRead; local [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_enc/tests/ |
H A D | G729EncTest.c | 391 int nRead = 0; local 935 nRead = fread(pBuffer->pBuffer, 1, pBuffer->nAllocLen, fIn); 936 APP_DPRINT("%d :: App :: Reading InputBuffer = %d from the input file nRead = %d\n",__LINE__,nIpBuff,nRead); 937 pBuffer->nFilledLen = nRead; 941 if((nRead == 0) && (done == 0)) { 1009 nRead = fread(pBuffer->pBuffer, 1, pBuffer->nAllocLen, fIn); 1010 APP_DPRINT("%d :: App :: Reading InputBuffer = %d from the input file nRead = %d\n",__LINE__,nIpBuff,nRead); 1011 pBuffer->nFilledLen = nRead; [all...] |
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/tests/ |
H A D | VPPTest.c | 504 int nRead = 0; local 1528 nRead = fill_data (InputBufHeader[nCounter],fIn); 1529 if(nRead == 0){ 1554 nRead = fill_data (OvlyBufHeader[nCounter],fInOvelay); 1555 if (nRead < (DEFAULT_WIDTH * DEFAULT_HEIGHT)* 3){ 1588 nRead = 0; 1728 nRead = fill_data (pBuffer,fIn); 1730 pBuffer->nAllocLen,nRead); 1731 if((nRead < pBuffer->nAllocLen) && (done == 0)){ 1745 pBuffer->nFilledLen = nRead; [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/tests/ |
H A D | G726DecTest.c | 1368 int nRead = 0; local 1370 nRead = fill_data (pBuffer, fIn); 1378 if(nRead < nIpBufSize) 1411 int nRead = 0; local 1420 nRead = fread(pBuf->pBuffer, 1, pBuf->nAllocLen , fIn); 1422 if (nRead != 0) { 1423 totalRead += nRead; 1424 pBuf->nFilledLen = nRead; 1429 APP_DPRINT ("%d :: App:: pBuf->pBuffer = %p pBuf->nAllocLen = * %ld, nRead = %d, totalread = %d\n", 1430 __LINE__, pBuf->pBuffer, pBuf->nAllocLen, nRead, totalRea [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_enc/tests/ |
H A D | G722EncTest.c | 1351 int nRead = fill_data (pBuffer, fIn); local 1352 if((nRead == 0) && (done == 0)){ 1355 pBuffer->nFilledLen = nRead; 1363 pBuffer->nFilledLen = nRead; 1383 int nRead = 0; local 1386 nRead = fread(pBuf->pBuffer, 1, pBuf->nAllocLen , fIn); 1387 totalRead += nRead; 1388 pBuf->nFilledLen = nRead; 1389 return nRead;
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/tests/ |
H A D | G726EncTest.c | 286 int nRead = 0; variable 1600 nRead = fread(pBuffer->pBuffer, 1, G726ENC_INPUT_BUFFER_SIZE*2, fIn); 1603 nRead = fread(NextBuffer, 1, G726ENC_INPUT_BUFFER_SIZE/2, fIn); 1606 nRead = fread(pBuffer->pBuffer, 1, G726ENC_INPUT_BUFFER_SIZE, fIn); 1608 pBuffer->nFilledLen = nRead; 1611 memcpy(pBuffer->pBuffer, NextBuffer,nRead); 1612 pBuffer->nFilledLen = nRead; 1616 nRead = fread(NextBuffer, 1, G726ENC_INPUT_BUFFER_SIZE*2, fIn); 1619 nRead = fread(NextBuffer, 1, G726ENC_INPUT_BUFFER_SIZE/2, fIn); 1622 nRead [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_enc/tests/ |
H A D | AacEncTest.c | 527 int nRead = 0; local 1445 nRead = fread(pInputBufferHeader[i]->pBuffer, 1, pInputBufferHeader[i]->nAllocLen, fIn); 1446 APP_DPRINT("%d :: APP: Reading InputBuffer = %d from the input file nRead = %d\n",__LINE__, nIpBuffs, nRead); 1447 if((nRead < pInputBufferHeader[i]->nAllocLen) && (done == 0)) 1453 pInputBufferHeader[i]->nFilledLen = nRead; 1538 nRead = fread(pBuffer->pBuffer, 1, pBuffer->nAllocLen, fIn); 1539 APP_DPRINT("%d :: APP: Reading InputBuffer = %d from the input file nRead = %d\n",__LINE__, nIpBuffs, nRead); 1540 if((nRead < pBuffe [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/tests/ |
H A D | G711DecTest.c | 1564 OMX_S16 nRead = fill_data (pBuffer, fIn); local 1567 APP_DPRINT ("%d :: pBuffer = %p nRead = %d\n",__LINE__,pBuffer,nRead); 1570 if((nRead < numRead) && (done == 0)) { 1590 pBuffer->nFilledLen = nRead; 1591 for (i=0; i < nRead; i++) { 1609 OMX_S16 nRead = 0; local 1637 nRead = fread(pBuf->pBuffer, 1, numRead , fIn); 1638 totalRead += nRead; 1640 pBuf->nFilledLen = nRead; [all...] |
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/tests/ |
H A D | JPEGTest.c | 487 int nRead; local 501 ReadFile(fIn, pBuf->pBuffer, lBuffUsed, &nRead, NULL); 503 nRead = fread(pBuf->pBuffer,1, lBuffUsed, fIn); 507 PRINT( "Read %d bytes from file\n", nRead); 509 pBuf->nFilledLen = nRead; 510 return nRead; 654 int nRead; local 1276 nRead = fill_data(pInBuffHead[0], fIn, lBuffused); 1284 pInBuffHead[0]->nFilledLen = nRead; 1364 pInBuffHead[0]->nFilledLen = nRead; [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_dec/tests/ |
H A D | G722DecTest.c | 852 int nRead = 0; local 859 nRead = fread(pBufferHeader->pBuffer, 1, pBufferHeader->nAllocLen , fIn); 861 if (nRead != 0) { 862 totalRead += nRead; 863 pBufferHeader->nFilledLen = nRead; 867 APP_DPRINT ("%d :: App:: pBuffer->pBuffer = %p pBuffer->nAllocLen = * %ld, nRead = %d, totalread = %d\n", 868 __LINE__, pBufferHeader->pBuffer, pBufferHeader->nAllocLen, nRead, totalRead); 879 if(nRead < pBufferHeader->nAllocLen) { 885 pBufferHeader->nFilledLen = nRead;
|
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_dec/tests/ |
H A D | WBAmrDecTest.c | 227 int nRead=0; variable 1806 APP_DPRINT ("%d :: pBuffer = %p nRead = %d\n",__LINE__,pBuffer,nRead); 1811 nRead = fill_data (pBuffer->pBuffer, WBAmrFrameFormat, fIn); 1812 pBuffer->nFilledLen = nRead; 1816 memcpy(pBuffer->pBuffer, NextBuffer,nRead); 1817 pBuffer->nFilledLen = nRead; 1820 nRead = fill_data (NextBuffer, WBAmrFrameFormat, fIn); 1824 if( nRead<numRead ) 1832 if( 0 == nRead ) [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_enc/tests/ |
H A D | AmrEncTest.c | 323 int nRead; variable 1793 nRead = fread(pBuffer->pBuffer, 1, NBAPP_INPUT_BUFFER_SIZE*2, fIn); 1796 nRead = fread(pBuffer->pBuffer, 1, NBAPP_INPUT_BUFFER_SIZE, fIn); 1798 pBuffer->nFilledLen = nRead; 1801 memcpy(pBuffer->pBuffer, NextBuffer,nRead); 1802 pBuffer->nFilledLen = nRead; 1806 nRead = fread(NextBuffer, 1, NBAPP_INPUT_BUFFER_SIZE*2, fIn); 1809 nRead = fread(NextBuffer, 1, NBAPP_INPUT_BUFFER_SIZE, fIn); 1812 if(nRead < NBAPP_INPUT_BUFFER_SIZE && !DasfMode){
|
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/tests/ |
H A D | WbAmrEncTest.c | 307 int nRead; variable 1886 nRead = fread(pBuffer->pBuffer, 1, WBAPP_INPUT_BUFFER_SIZE * 2, fIn); 1888 nRead = fread(pBuffer->pBuffer, 1, WBAPP_INPUT_BUFFER_SIZE, fIn); 1891 pBuffer->nFilledLen = nRead; 1893 memcpy(pBuffer->pBuffer, NextBuffer, nRead); 1894 pBuffer->nFilledLen = nRead; 1898 nRead = fread(NextBuffer, 1, WBAPP_INPUT_BUFFER_SIZE * 2, fIn); 1900 nRead = fread(NextBuffer, 1, WBAPP_INPUT_BUFFER_SIZE, fIn); 1903 if (nRead < WBAPP_INPUT_BUFFER_SIZE && !DasfMode) {
|
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/test/ |
H A D | JPEGTestEnc.c | 811 int nRead; local 816 ReadFile(fIn, pBuf->pBuffer, lSize, &nRead, NULL); 818 nRead = fread(pBuf->pBuffer,1, buffSize , fIn); 821 printf ("Buffer Size = %d. Read %d bytes from file. \n", (int) buffSize, (int)nRead); 822 pBuf->nFilledLen = nRead; 834 return nRead; 1111 int nRead; local 1817 nRead = fill_data(pInBuff[nCounter], fIn,pInPortDef->nBufferSize); 1902 nRead = fill_data(pBuffer, fIn,pInPortDef->nBufferSize);
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_dec/tests/ |
H A D | G729DecTest.c | 1387 OMX_S16 nRead = 0; local 1413 nRead = fread(serial, sizeof(OMX_S16), 2 , fIn); 1414 if(nRead != 0){
|
/hardware/ti/omap3/omx/video/src/openmax_il/video_encode/test/ |
H A D | VideoEncTest.c | 637 int nRead = -1; local 641 nRead = fread(pBuf->pBuffer,1, buffersize, fIn); 642 if (nRead == -1) { 654 pBuf->nFilledLen = nRead; 659 return nRead;
|