Lines Matching refs:WaitForState
121 static OMX_ERRORTYPE WaitForState (OMX_HANDLETYPE *, OMX_STATETYPE);
367 APP_DPRINT("%d :: App :: About to call WaitForState to change to Idle\n",__LINE__);
368 error = WaitForState(pHandle, OMX_StateIdle);
371 APP_DPRINT( "Error: hAmrEncoder->WaitForState reports an error %X\n", error);
411 APP_DPRINT("%d :: App :: About to call WaitForState to change to Executing\n",__LINE__);
412 error = WaitForState(pHandle, OMX_StateExecuting);
418 APP_DPRINT( "Error: WaitForState reports an error %X\n", error);
485 error = WaitForState(pHandle, OMX_StateLoaded);
502 error = WaitForState(pHandle, OMX_StateWaitForResources);
640 * @fn WaitForState() Waits for the state to change.
655 static OMX_ERRORTYPE WaitForState(OMX_HANDLETYPE* pHandle, OMX_STATETYPE DesiredState)
1527 WaitForState(pHandle,OMX_StateIdle);
1567 WaitForState(pHandle, OMX_StateIdle/*OMX_StateLoaded*/);
1570 WaitForState(pHandle,OMX_StateWaitForResources);
1585 WaitForState(pHandle,OMX_StateIdle);
1587 WaitForState(pHandle,OMX_StateExecuting);
1600 error = WaitForState(pHandle, OMX_StateIdle);
1605 printf("\nError: WaitForState reports an error %X!!!!!!!\n", error);
1618 error = WaitForState(pHandle, OMX_StateLoaded);
1620 APP_DPRINT( "%d :: G722DecTest.c :: Error: WaitForState reports an error %X\n",__LINE__, error);
1657 error = WaitForState(pHandle, OMX_StateIdle);
1659 fprintf(stderr, "Error: WaitForState reports an error %X\n", error);
1680 error = WaitForState(pHandle, OMX_StateExecuting);
1686 fprintf(stderr, "Error: WaitForState reports an error %X\n", error);
1727 error = WaitForState (pHandle, OMX_StatePause);
1730 fprintf(stderr, "Error: WaitForState reports an error %X\n", error);
1754 error = WaitForState (pHandle, OMX_StateExecuting);
1756 fprintf(stderr, "Error: WaitForState