Lines Matching refs:pCompPrivate
597 WBAMR_DEC_COMPONENT_PRIVATE *pCompPrivate =
600 OMX_PRINT1(pCompPrivate->dbg, "Inside SendCommand\n");
602 OMX_PRDSP2(pCompPrivate->dbg, "phandle = %p\n",phandle);
603 OMX_PRDSP1(pCompPrivate->dbg, "pCompPrivate = %p\n",pCompPrivate);
605 pCompPrivate->pHandle = phandle;
608 if (pCompPrivate->curState == OMX_StateInvalid){
613 if(pCompPrivate->curState == OMX_StateInvalid){
614 OMX_PRINT1(pCompPrivate->dbg, "Inside SendCommand\n");
616 OMX_ERROR4(pCompPrivate->dbg, "Error NotIfication \
618 pCompPrivate->cbInfo.EventHandler (pHandle,
628 PERF_SendingCommand(pCompPrivate->pPERF, Cmd,
635 OMX_PRINT1(pCompPrivate->dbg, "Inside SendCommand\n");
636 OMX_PRSTATE1(pCompPrivate->dbg, "pCompPrivate->curState = %d\n",pCompPrivate->curState);
638 pCompPrivate->bLoadedCommandPending = OMX_TRUE;
640 if(pCompPrivate->curState == OMX_StateLoaded) {
642 pCompPrivate->cbInfo.EventHandler (
653 OMX_PRINT1(pCompPrivate->dbg, "Inside SendCommand\n");
654 pCompPrivate->curState = OMX_StateInvalid;
655 pCompPrivate->cbInfo.EventHandler (
667 OMX_PRINT1(pCompPrivate->dbg, "Inside SendCommand\n");
675 OMX_PRINT1(pCompPrivate->dbg, "Inside SendCommand\n");
678 OMX_PRINT1(pCompPrivate->dbg, "Inside SendCommand\n");
681 OMX_PRINT1(pCompPrivate->dbg, "Inside SendCommand\n");
688 OMX_ERROR2(pCompPrivate->dbg, "Command Received Default \
690 pCompPrivate->cbInfo.EventHandler (pHandle,
700 OMX_PRINT1(pCompPrivate->dbg, "Inside SendCommand\n");
701 nRet = write (pCompPrivate->cmdPipe[1], &Cmd, sizeof(Cmd));
703 OMX_PRINT1(pCompPrivate->dbg, "Inside SendCommand\n");
709 nRet = write(pCompPrivate->cmdDataPipe[1], &pCmdData,
713 nRet = write(pCompPrivate->cmdDataPipe[1], &nParam,
717 OMX_PRINT1(pCompPrivate->dbg, "Inside SendCommand\n");
718 OMX_PRINT2(pCompPrivate->dbg, "nRet = %d\n",nRet);
720 OMX_PRINT1(pCompPrivate->dbg, "Inside SendCommand\n");
733 if((write(pCompPrivate->fdwrite, &cmd_data, sizeof(cmd_data)))<0) {