Lines Matching refs:APP_DPRINT

83         #define APP_DPRINT(...)    fprintf(stderr,__VA_ARGS__)			/* Debug prints */
85 #define APP_DPRINT(...)
289 APP_DPRINT("%d: APP: waiting for %d \n",__LINE__,DesiredState);
301 APP_DPRINT("Now is waiting.... \n");
309 APP_DPRINT("...No need to wait \n");
343 APP_DPRINT( "%d :: App: Entering EventHandler \n", __LINE__);
356 APP_DPRINT("%d :: App: Error returned from GetState\n",__LINE__);
360 APP_DPRINT( "%d :: App: Component eEvent = %d\n", __LINE__,eEvent);
369 APP_DPRINT("App: Mutex signal sent \n");
372 APP_DPRINT ("%d :: App: Component State Changed To %d\n", __LINE__,state);
375 APP_DPRINT( "%d :: App: OMX_EventCmdComplete %d\n", __LINE__,eEvent);
380 APP_DPRINT ("%d:: App: ErrorNotofication Came: \
402 APP_DPRINT( "%d :: App: Component OMX_EventMax = %d\n", __LINE__,eEvent);
405 APP_DPRINT( "%d :: App: Component OMX_EventMark = %d\n", __LINE__,eEvent);
408 APP_DPRINT( "%d :: App: Component OMX_EventPortSettingsChanged = %d\n", __LINE__,eEvent);
411 APP_DPRINT( "%d :: App: Component OMX_EventBufferFlag = %d\n", __LINE__,eEvent);
412 APP_DPRINT( "%d :: App: OMX_EventBufferFlag on port = %d\n", __LINE__, (int)nData1);
417 APP_DPRINT( "%d :: App: Setting flag for playcompleted \n", __LINE__);
427 APP_DPRINT( "%d :: App: Component OMX_EventResourcesAcquired = %d\n", __LINE__,eEvent);
437 APP_DPRINT( "%d :: App: Exiting EventHandler \n", __LINE__);
486 APP_DPRINT("%d:: APP: Inside empty buffer done \n",__LINE__);
705 APP_DPRINT("%d :: APP: AAC Encoding Test --- first create file handle\n",__LINE__);
706 APP_DPRINT("%d :: APP: AAC Encoding Test --- fIn = [%p]\n", __LINE__, fIn);
707 APP_DPRINT("%d :: APP: AAC Encoding Test --- fOut = [%p]\n",__LINE__, fOut);
722 APP_DPRINT("%d :: APP: Error: Invalid Mode Specifier, Check argument 3\n",__LINE__);
746 APP_DPRINT("%d :: APP: - opened WRITE pipe\n",__LINE__);
754 APP_DPRINT("%d :: APP: - opened READ pipe\n",__LINE__);
774 APP_DPRINT( "Error:Empty Data Pipe failed to open\n");
829 APP_DPRINT("%d :: APP: GetHandle Done..........\n",__LINE__);
899 APP_DPRINT("\n%d :: App: numofinbuff = %ld \n",__LINE__, (long int)numofinbuff);
900 APP_DPRINT("\n%d :: App: numofoutbuff = %ld \n",__LINE__, (long int)numofoutbuff);
905 APP_DPRINT("%d :: APP: Malloc Failed\n",__LINE__);
917 APP_DPRINT("%d :: APP: Error getting extension index\n",__LINE__);
925 APP_DPRINT("%d :: APP: Error from OMX_SetConfig() function\n",__LINE__);
930 APP_DPRINT("%d :: APP: Setting input port config\n",__LINE__);
952 APP_DPRINT("%d :: APP: OMX_ErrorBadParameter\n",__LINE__);
957 APP_DPRINT("%d :: APP: Setting output port config\n",__LINE__);
979 APP_DPRINT("%d :: APP: OMX_ErrorBadParameter\n",__LINE__);
995 APP_DPRINT("%d :: APP: Malloc Failed\n",__LINE__);
1015 APP_DPRINT("%d :: APP: OMX_ErrorBadParameter\n",__LINE__);
1132 APP_DPRINT("%d :: APP: OMX_ErrorBadParameter\n",__LINE__);
1185 APP_DPRINT("%d :: APP: Error from OMX_SetConfig() function\n",__LINE__);
1193 APP_DPRINT("APP: datapath: %d \n",dataPath);
1217 APP_DPRINT("%d :: APP: About to call OMX_AllocateBuffer\n",__LINE__);
1221 APP_DPRINT("%d :: APP: About to call OMX_AllocateBuffer for pInputBufferHeader[%d]\n",__LINE__, i);
1229 APP_DPRINT("\n%d :: APP: pCompPrivateStruct->nBufferSize --> %ld \n",__LINE__,
1234 APP_DPRINT("%d :: APP: About to call OMX_AllocateBuffer for pOutputBufferHeader[%d]\n",__LINE__, i);
1246 APP_DPRINT("%d :: APP: pInputBuffer[%d] = %p\n",__LINE__,i,pInputBuffer[i]);
1255 APP_DPRINT("%d :: APP: About to call OMX_UseBuffer\n",__LINE__);
1256 APP_DPRINT("%d :: APP: pInputBufferHeader[%d] = %p\n",__LINE__,i,pInputBufferHeader[i]);
1268 APP_DPRINT("%d :: APP: pOutputBuffer[%d] = %p\n",__LINE__,i,pOutputBuffer[i]);
1278 APP_DPRINT("%d :: APP: About to call OMX_UseBuffer\n",__LINE__);
1279 APP_DPRINT("%d :: APP: pOutputBufferHeader[%d] = %p\n",__LINE__,i,pOutputBufferHeader[i]);
1290 APP_DPRINT ("%d:: APP: Sending OMX_StateIdle Command\n",__LINE__);
1341 APP_DPRINT ("%d :: APP: Test counter = %d \n",__LINE__,kk);
1413 APP_DPRINT ("%d :: APP: Sending OMX_StateExecuting Command\n",__LINE__);
1446 APP_DPRINT("%d :: APP: Reading InputBuffer = %d from the input file nRead = %d\n",__LINE__, nIpBuffs, nRead);
1449 APP_DPRINT("%d :: APP: Sending Last Input Buffer from TestApp(which can be zero or less than Buffer length) ---------- \n",__LINE__);
1452 APP_DPRINT("%d :: APP :: Input Buffer: Calling EmptyThisBuffer: %p\n",__LINE__,pInputBufferHeader[i]);
1468 APP_DPRINT("APP: pInputBufferHeader[%d]->nTimeStamp = %lli\n",i,pInputBufferHeader[i]->nTimeStamp);
1475 APP_DPRINT("%d :: APP: Before Fill this buffer is called = %x\n",__LINE__, (unsigned int)pOutputBufferHeader[k]);
1519 APP_DPRINT("%d :: APP: The current state of the component = %d \n",__LINE__,state);
1520 APP_DPRINT("\n\n\n%d ::!!!!!!! App Timeout !!!!!!!!!!! \n",__LINE__);
1521 APP_DPRINT("%d :: ---------------------------------------\n\n\n",__LINE__);
1531 APP_DPRINT("%d :: APP: AAC ENCODER RUNNING UNDER FILE 2 FILE MODE \n",__LINE__);
1539 APP_DPRINT("%d :: APP: Reading InputBuffer = %d from the input file nRead = %d\n",__LINE__, nIpBuffs, nRead);
1546 APP_DPRINT("%d :: APP :: Input Buffer: Calling EmptyThisBuffer: %p\n",__LINE__,pBuffer);
1558 APP_DPRINT("%d :: APP: AAC ENCODER RUNNING UNDER DASF MODE \n",__LINE__);
1561 APP_DPRINT("%d :: APP: Sending Stop.........From APP \n",__LINE__);
1562 APP_DPRINT("%d :: APP: Shutting down ---------- \n",__LINE__);
1579 APP_DPRINT ( "APP: WaitForState reports an error \n");
1584 APP_DPRINT("%d :: APP: AAC ENCODER READING DATA FROM DASF \n",__LINE__);
1592 APP_DPRINT("%d :: APP: AAC ENCODER RUNNING UNDER FILE 2 FILE MODE \n",__LINE__);
1599 APP_DPRINT("%d :: APP: Reading InputBuffer = %d from the input file nRead = %d\n",__LINE__, nIpBuffs, nRead);
1603 APP_DPRINT("%d :: APP: Sending Stop.........From APP \n",__LINE__);
1604 APP_DPRINT("%d :: APP: Shutting down ---------- \n",__LINE__);
1629 APP_DPRINT("%d :: APP: Sending Last Input Buffer from TestApp(which can be zero or less than Buffer length)\n",__LINE__);
1633 APP_DPRINT("%d :: APP :: Input buffer: Calling EmptyThisBuffer: %p\n",__LINE__,pBuffer);
1644 APP_DPRINT("%d :: APP: AAC ENCODER RUNNING UNDER DASF MODE \n",__LINE__);
1647 APP_DPRINT("%d :: APP: Sending Stop.........From APP \n",__LINE__);
1648 APP_DPRINT("%d :: APP: Shutting down ---------- \n",__LINE__);
1669 APP_DPRINT("%d :: APP: AAC ENCODER READING DATA FROM DASF \n",__LINE__);
1676 APP_DPRINT("%d :: APP: AAC ENCODER RUNNING UNDER FILE 2 FILE MODE \n",__LINE__);
1684 APP_DPRINT("%d :: APP: Reading InputBuffer = %d from the input file nRead = %d\n",__LINE__, nIpBuffs, nRead);
1687 APP_DPRINT("%d :: APP: Sending Last Input Buffer from TestApp(which can be zero or less than Buffer length) ---------- \n",__LINE__);
1691 APP_DPRINT("%d :: APP : Input Buffer- Calling EmptyThisBuffer: %p\n",__LINE__,pBuffer);
1710 APP_DPRINT("%d :: APP: Pause: OpBuffs received = %d\n",__LINE__,nOpBuffs);
1720 APP_DPRINT("%d :: APP: Pause: State paused = %d\n",__LINE__,nOpBuffs);
1722 APP_DPRINT("%d :: APP: Is Sleeping here for %d seconds\n",__LINE__, SLEEP_TIME);
1733 APP_DPRINT("%d :: APP: Resumed: OpBuffs received = %d\n",__LINE__,nOpBuffs);
1740 APP_DPRINT ( "APP: WaitForState reports an error \n");
1747 APP_DPRINT("%d :: APP: AAC ENCODER RUNNING UNDER DASF MODE \n",__LINE__);
1750 APP_DPRINT("%d :: APP: Sending Stop.........From APP \n",__LINE__);
1768 APP_DPRINT ( "APP: WaitForState reports an error \n");
1784 APP_DPRINT("%d :: APP: Pause: OpBuffs received = %d\n",__LINE__,nOpBuffs);
1794 APP_DPRINT("%d :: APP: Pause: State paused = %d\n",__LINE__,nOpBuffs);
1795 APP_DPRINT("%d :: APP: Is Sleeping here for %d seconds\n",__LINE__, SLEEP_TIME);
1806 APP_DPRINT("%d :: APP: Resumed: OpBuffs received = %d\n",__LINE__,nOpBuffs);
1819 APP_DPRINT("%d :: APP: AAC ENCODER READING DATA FROM DASF \n",__LINE__);
1824 APP_DPRINT("%d :: APP: AAC ENCODER RUNNING UNDER FILE 2 FILE MODE \n",__LINE__);
1827 APP_DPRINT("APP: Sending Stop Command after sending 20 frames \n");
1846 APP_DPRINT("%d :: APP: About to call GetState() \n",__LINE__);
1861 APP_DPRINT("%d :: APP: Reading InputBuffer = %d from the input file nRead = %d\n",__LINE__, nIpBuffs, nRead);
1864 APP_DPRINT("%d :: APP: Sending Last Input Buffer from TestApp(which can be zero or less than Buffer length) \n",__LINE__);
1868 APP_DPRINT("%d :: APP: Input Buffer: Calling EmptyThisBuffer: %p\n",__LINE__,pBuffer);
1878 APP_DPRINT("%d :: APP: AAC ENCODER RUNNING UNDER DASF MODE \n",__LINE__);
1881 APP_DPRINT("APP: Sending Stop Command after sending 4 frames \n");
1904 APP_DPRINT("%d :: APP: Sending Stop.........From APP \n",__LINE__);
1905 APP_DPRINT("%d :: APP: Shutting down ---------- \n",__LINE__);
1926 APP_DPRINT("%d :: APP: AAC ENCODER READING DATA FROM DASF \n",__LINE__);
1938 APP_DPRINT("%d :: APP: AAC ENCODER RUNNING UNDER DASF MODE \n",__LINE__);
1942 APP_DPRINT("APP: [AAC encoder] --- will set stream gain to high\n");
1954 APP_DPRINT("APP: [AAC encoder] --- will set stream gain to low\n");
1971 APP_DPRINT ("%d :: APP: Error from SendCommand-Idle(Stop) State function\n",__LINE__);
1984 APP_DPRINT("%d :: APP: Shutting down ---------- \n",__LINE__);
1986 APP_DPRINT("%d :: APP: AAC ENCODER READING DATA FROM DASF \n",__LINE__);
1991 APP_DPRINT("%d :: APP: ### Running Simple DEFAULT Case Here ###\n",__LINE__);
2005 APP_DPRINT("%d :: App: Buffer to write to the file: %p \n",__LINE__,pBuf);
2006 APP_DPRINT("%d :: ------------- App File Write --------------\n",__LINE__);
2007 APP_DPRINT("%d :: App: %ld bytes are being written\n",__LINE__,(pBuf->nFilledLen));
2008 APP_DPRINT("%d :: ------------- App File Write --------------\n\n",__LINE__);
2012 APP_DPRINT("%d :: APP: Sent %p Emptied Output Buffer = %d to Comp\n",__LINE__,pBuf,nFrameCount+1);
2027 APP_DPRINT ("%d :: Error in Free Handle function\n",__LINE__);
2032 APP_DPRINT ("%d:: Error in Free Handle function\n",__LINE__);
2041 APP_DPRINT("%d :: [TESTAPPFREE] pInputBuffer[%d] = %p\n",__LINE__,i,pInputBuffer[i]);
2055 APP_DPRINT("%d :: [TESTAPPFREE] pOutputBuffer[%d] = %p\n",__LINE__,i, pOutputBuffer[i]);
2083 APP_DPRINT("%d :: called OMX_AllocateBuffer\n",__LINE__);
2085 APP_DPRINT("%d :: Error returned by OMX_AllocateBuffer()\n",__LINE__);
2119 APP_DPRINT ("%d :: Error in Free Handle function\n",__LINE__);
2126 APP_DPRINT ("%d:: Error in Free Handle function\n",__LINE__);
2143 APP_DPRINT("%d :: APP: About to call GetState() \n",__LINE__);
2190 APP_DPRINT("%d :: APP: The current state of the component = %d \n",__LINE__,state);
2201 APP_DPRINT("%d:: APP: Error from SendCommand OMX_CommandPortDisable\n",__LINE__);
2208 APP_DPRINT("%d :: APP: About to free pInputBufferHeader[%d]\n",__LINE__, i);
2212 APP_DPRINT("%d:: APP: Error in FreeBuffer function\n",__LINE__);
2218 APP_DPRINT("%d :: APP: About to free pOutputBufferHeader[%d]\n",__LINE__, i);
2222 APP_DPRINT("%d :: APP: Error in Free Buffer function\n",__LINE__);
2233 APP_DPRINT("%d :: [TESTAPPFREE] pInputBuffer[%d] = %p\n",__LINE__,i,pInputBuffer[i]);
2247 APP_DPRINT("%d :: [TESTAPPFREE] pOutputBuffer[%d] = %p\n",__LINE__,i, pOutputBuffer[i]);
2258 APP_DPRINT("%d :: APP: Sending the StateLoaded Command\n",__LINE__);
2279 APP_DPRINT("%d :: APP: State Of Component Is Loaded Now\n",__LINE__);
2285 APP_DPRINT ("%d Error from SendCommand-Idle State function\n",__LINE__);
2307 APP_DPRINT("iAacParam %p \n",iAacParam);
2310 APP_DPRINT("iAacParam %p \n",iAacParam);
2334 APP_DPRINT("%d :: APP: Error while closing IpBuf_Pipe[0]\n",__LINE__);
2341 APP_DPRINT("%d :: APP: Error while closing IpBuf_Pipe[1]\n",__LINE__);
2348 APP_DPRINT("%d :: APP: Error while closing OpBuf_Pipe[0]\n",__LINE__);
2355 APP_DPRINT("%d :: APP: Error while closing OpBuf_Pipe[1]\n",__LINE__);
2362 APP_DPRINT("%d :: Error while closing Event_Pipe[0]\n",__LINE__);
2369 APP_DPRINT("%d :: Error while closing Event_Pipe[1]\n",__LINE__);
2390 APP_DPRINT("%d :: App: pHandle = %p\n",__LINE__,pHandle);
2411 APP_DPRINT("APP: Error in CleanList function\n");
2535 APP_DPRINT("%d:: APP: Freeing all resources by state invalid \n",__LINE__);
2540 APP_DPRINT("%d :: APP: About to free pInputBufferHeader[%d]\n",__LINE__, i);
2544 APP_DPRINT("APP: Error: Freebuffer by MMU_Fault %X\n", eError);
2551 APP_DPRINT("%d :: APP: About to free pOutputBufferHeader[%d]\n",__LINE__, i);
2555 APP_DPRINT("APP: Error: Freebuffer by MMU_Fault %X\n", eError);
2564 APP_DPRINT("APP: Error in CleanList function\n");
2625 APP_DPRINT("%d ::APP: Freeing all resources by state invalid \n",__LINE__);
2633 APP_DPRINT("%d :: [TESTAPPFREE] pInputBuffer[%d] = %p\n",__LINE__,i,(UseInpBuf[i]));
2647 APP_DPRINT("%d :: [TESTAPPFREE] pOutputBuffer[%d] = %p\n",__LINE__,i, UseOutBuf[i]);
2660 APP_DPRINT("APP: Error in CleanList function\n");
2756 APP_DPRINT("Inside validateparameters \n");
2757 APP_DPRINT("sample rate %d \n",(int)SampleRate);
2758 APP_DPRINT("Bit rate %d \n", (int)BitRate);
2764 APP_DPRINT("APP: sample compared %d : %d \n",(int)SampleRate, (int)LimitsHE[i][0]);
2769 APP_DPRINT("APP: channels compared %d : %d \n", (int)numChannels, (int)LimitsHE[i+j][1]);
2799 APP_DPRINT("APP: sample compared %d : %d \n",(int)SampleRate, (int)LimitsHE2[i][0]);
2802 APP_DPRINT("APP: channels compared %d : %d \n", (int)numChannels, (int)LimitsHE2[i+j][1]);
2831 APP_DPRINT("APP: sample compared %d : %d \n",(int)SampleRate, (int)LimitsLC[i][0]);
2836 APP_DPRINT("APP: channels compared %d : %d \n", (int)numChannels, (int)LimitsLC[i+j][1]);
2892 APP_DPRINT("FramePerSec %f \n",FramePerSec);
2894 APP_DPRINT("AvgFrameSize %f \n",AvgFrameSize);
2896 APP_DPRINT("float- size output buffers %f \n",fOutBufSize);
2898 APP_DPRINT("U32- size output buffers %d \n", (int)OutputBufferSize);
2904 APP_DPRINT("(Rounded) size output buffers %d \n",(int)OutputBufferSize);
2941 APP_DPRINT("\nNew Instance created pointer : %p \n",temp);
2943 APP_DPRINT("Header parameter pointer : %p \n",*ListHeader);
2945 APP_DPRINT("Next linked pointer : %p \n",temp->NextListMember);
2947 APP_DPRINT("Instance counter %d \n",temp->ListCounter);
2949 APP_DPRINT("Parameter pointer to save : %p \n",ptr);
2951 APP_DPRINT("New Header pointer : %p \n",*ListHeader);
2979 APP_DPRINT("\nNum Instance to free %d \n",(*ListHeader)->ListCounter);
2983 APP_DPRINT(" Struct to free %p \n",(*ListHeader)->Struct_Ptr);
2989 APP_DPRINT("APP: Warning: Content has alreadey been freed \n");
2992 APP_DPRINT("freeing List Member %p \n",*ListHeader);
2998 APP_DPRINT("%d :: App: Freed the complete list: Header = %p \n",__LINE__,*ListHeader);
3038 APP_DPRINT("Search ends: %p \n",Temp);
3044 APP_DPRINT("About to free Content of List member: %p \n",Temp->Struct_Ptr);
3046 APP_DPRINT("About to free List member: %p Number: %d \n",Temp,Temp->ListCounter);
3051 APP_DPRINT("About to free FIRST List member: %p \n",*ListHeader);
3059 APP_DPRINT("Nothing to free \n");
3064 APP_DPRINT("List is empty \n");