/hardware/ti/omap3/omx/audio/src/openmax_il/aac_enc/src/ |
D | OMX_AacEncoder.c | 619 AACENC_COMPONENT_PRIVATE *pCompPrivate = NULL; in SendCommand() local 624 pCompPrivate = (AACENC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate; in SendCommand() 627 if (pCompPrivate->curState == OMX_StateInvalid) in SendCommand() 633 OMX_PRINT1(pCompPrivate->dbg, "%d :: AACENC: Entering SendCommand()\n", __LINE__); in SendCommand() 634 if(pCompPrivate->curState == OMX_StateInvalid) in SendCommand() 636 OMX_PRINT1(pCompPrivate->dbg, "%d :: AACENC: Inside SendCommand\n",__LINE__); in SendCommand() 638 OMX_ERROR4(pCompPrivate->dbg, "%d :: Error Notofication Sent to App\n",__LINE__); in SendCommand() 639 pCompPrivate->cbInfo.EventHandler(pHandle, pHandle->pApplicationPrivate, in SendCommand() 649 PERF_SendingCommand(pCompPrivate->pPERF,Cmd, in SendCommand() 659 pCompPrivate->bLoadedCommandPending = OMX_TRUE; in SendCommand() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_dec/src/ |
D | OMX_WbAmrDecoder.c | 597 WBAMR_DEC_COMPONENT_PRIVATE *pCompPrivate = in SendCommand() local 600 OMX_PRINT1(pCompPrivate->dbg, "Inside SendCommand\n"); in SendCommand() 602 OMX_PRDSP2(pCompPrivate->dbg, "phandle = %p\n",phandle); in SendCommand() 603 OMX_PRDSP1(pCompPrivate->dbg, "pCompPrivate = %p\n",pCompPrivate); in SendCommand() 605 pCompPrivate->pHandle = phandle; in SendCommand() 608 if (pCompPrivate->curState == OMX_StateInvalid){ in SendCommand() 613 if(pCompPrivate->curState == OMX_StateInvalid){ in SendCommand() 614 OMX_PRINT1(pCompPrivate->dbg, "Inside SendCommand\n"); in SendCommand() 616 OMX_ERROR4(pCompPrivate->dbg, "Error NotIfication \ in SendCommand() 618 pCompPrivate->cbInfo.EventHandler (pHandle, in SendCommand() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_enc/src/ |
D | OMX_AmrEncoder.c | 683 AMRENC_COMPONENT_PRIVATE *pCompPrivate = in SendCommand() local 688 if (pCompPrivate->curState == OMX_StateInvalid){ in SendCommand() 693 OMX_PRINT1(pCompPrivate->dbg, "%d :: Entering SendCommand()\n", __LINE__); in SendCommand() 694 if(pCompPrivate->curState == OMX_StateInvalid) { in SendCommand() 696 OMX_ERROR4(pCompPrivate->dbg, "%d :: Error OMX_ErrorInvalidState Sent to App\n",__LINE__); in SendCommand() 697 pCompPrivate->cbInfo.EventHandler (pHandle, in SendCommand() 707 PERF_SendingCommand(pCompPrivate->pPERF, in SendCommand() 714 OMX_PRINT1(pCompPrivate->dbg, "%d :: OMX_CommandStateSet SendCommand\n",__LINE__); in SendCommand() 716 pCompPrivate->bLoadedCommandPending = OMX_TRUE; in SendCommand() 718 if(pCompPrivate->curState == OMX_StateLoaded) { in SendCommand() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_dec/src/ |
D | OMX_AmrDecoder.c | 624 AMRDEC_COMPONENT_PRIVATE *pCompPrivate = in SendCommand() local 627 OMX_PRINT1(pCompPrivate->dbg, "%d ::OMX_AmrDecoder.c ::Inside SendCommand\n",__LINE__); in SendCommand() 629 OMX_PRDSP1(pCompPrivate->dbg, "%d ::OMX_AmrDecoder.c ::phandle = %p\n",__LINE__,phandle); in SendCommand() 630 …OMX_PRINT2(pCompPrivate->dbg, "%d ::OMX_AmrDecoder.c ::pCompPrivate = %p\n",__LINE__,pCompPrivate); in SendCommand() 632 pCompPrivate->pHandle = phandle; in SendCommand() 635 if (pCompPrivate->curState == OMX_StateInvalid){ in SendCommand() 640 if(pCompPrivate->curState == OMX_StateInvalid){ in SendCommand() 641 OMX_PRCOMM2(pCompPrivate->dbg, "%d ::OMX_AmrDecoder.c ::Inside SendCommand\n",__LINE__); in SendCommand() 643 OMX_ERROR4(pCompPrivate->dbg, "%d ::OMX_AmrDecoder.c :: AMRDEC: Error Notofication \ in SendCommand() 645 pCompPrivate->cbInfo.EventHandler (pHandle, in SendCommand() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/src/ |
D | OMX_WmaDecoder.c | 633 WMADEC_COMPONENT_PRIVATE *pCompPrivate = in SendCommand() local 637 if (pCompPrivate->curState == OMX_StateInvalid){ in SendCommand() 642 OMX_PRINT1(pCompPrivate->dbg, "%d:::Inside SendCommand\n",__LINE__); in SendCommand() 643 if(pCompPrivate->curState == OMX_StateInvalid){ in SendCommand() 645 OMX_ERROR4(pCompPrivate->dbg, "%d :: WMADEC: Error Notofication Sent to App\n",__LINE__); in SendCommand() 646 pCompPrivate->cbInfo.EventHandler ( in SendCommand() 656 OMX_PRDSP1(pCompPrivate->dbg, "PERF %d :: OMX_WmaDecoder.c\n",__LINE__); in SendCommand() 657 PERF_SendingCommand(pCompPrivate->pPERF, in SendCommand() 665 OMX_PRINT1(pCompPrivate->dbg, "%d:::Inside SendCommand\n",__LINE__); in SendCommand() 666 …OMX_PRSTATE2(pCompPrivate->dbg, "%d:::pCompPrivate->curState = %d\n",__LINE__,pCompPrivate->curSta… in SendCommand() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/src/ |
D | OMX_WbAmrEncoder.c | 655 WBAMRENC_COMPONENT_PRIVATE *pCompPrivate = in SendCommand() local 659 OMX_PRINT1(pCompPrivate->dbg, "Entering"); in SendCommand() 661 if (pCompPrivate->curState == OMX_StateInvalid) { in SendCommand() 663 OMX_ERROR4(pCompPrivate->dbg, "OMX_ErrorInvalidState!"); in SendCommand() 668 PERF_SendingCommand(pCompPrivate->pPERF, in SendCommand() 676 OMX_PRDSP2(pCompPrivate->dbg, "OMX_CommandStateSet-%ld", nParam); in SendCommand() 679 pCompPrivate->bLoadedCommandPending = OMX_TRUE; in SendCommand() 682 if (pCompPrivate->curState == OMX_StateLoaded) { in SendCommand() 684 pCompPrivate->cbInfo.EventHandler ( pHandle, in SendCommand() 694 OMX_PRDSP2(pCompPrivate->dbg, "nParam = OMX_StateInvalid!"); in SendCommand() [all …]
|
D | OMX_WbAmrEnc_Utils.c | 3337 WBAMRENC_COMPONENT_PRIVATE *pCompPrivate = NULL; in WBAMRENC_ResourceManagerCallback() local 3339 pCompPrivate = (WBAMRENC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate; in WBAMRENC_ResourceManagerCallback() 3342 if (pCompPrivate->curState == OMX_StateExecuting || in WBAMRENC_ResourceManagerCallback() 3343 pCompPrivate->curState == OMX_StatePause) { in WBAMRENC_ResourceManagerCallback() 3344 write (pCompPrivate->cmdPipe[1], &Cmd, sizeof(Cmd)); in WBAMRENC_ResourceManagerCallback() 3345 write (pCompPrivate->cmdDataPipe[1], &state , sizeof(OMX_U32)); in WBAMRENC_ResourceManagerCallback() 3347 pCompPrivate->bPreempted = 1; in WBAMRENC_ResourceManagerCallback() 3350 pCompPrivate->cbInfo.EventHandler ( in WBAMRENC_ResourceManagerCallback()
|
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/src/ |
D | OMX_JpegEncoder.c | 845 JPEGENC_COMPONENT_PRIVATE *pCompPrivate = NULL; in JPEGENC_SendCommand() local 855 pCompPrivate = (JPEGENC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate; in JPEGENC_SendCommand() 856 pPortDefIn = pCompPrivate->pCompPort[JPEGENC_INP_PORT]->pPortDef; in JPEGENC_SendCommand() 857 pPortDefOut = pCompPrivate->pCompPort[JPEGENC_OUT_PORT]->pPortDef; in JPEGENC_SendCommand() 859 OMX_PRINT2(pCompPrivate->dbg, "Print nParam = %d\n", (int)nParam); in JPEGENC_SendCommand() 861 if ( pCompPrivate->nCurState == OMX_StateInvalid ) { in JPEGENC_SendCommand() 869 if(AddStateTransition(pCompPrivate) != OMX_ErrorNone) { in JPEGENC_SendCommand() 873 pCompPrivate->nToState = nParam; in JPEGENC_SendCommand() 885 pCompPrivate->bInportDisableIncomplete = OMX_FALSE; in JPEGENC_SendCommand() 889 pCompPrivate->bOutportDisableIncomplete = OMX_FALSE; in JPEGENC_SendCommand() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_dec/src/ |
D | OMX_AacDecoder.c | 540 AACDEC_COMPONENT_PRIVATE *pCompPrivate = NULL; in SendCommand() local 543 pCompPrivate = (AACDEC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate; in SendCommand() 546 if (pCompPrivate->curState == OMX_StateInvalid){ in SendCommand() 548 OMX_ERROR4(pCompPrivate->dbg, "%d ::Error returned from the Component\n", in SendCommand() 553 if(pCompPrivate->curState == OMX_StateInvalid){ in SendCommand() 554 OMX_ERROR4(pCompPrivate->dbg, "%d ::Error returned from the Component\n", in SendCommand() 560 PERF_SendingCommand(pCompPrivate->pPERF, in SendCommand() 568 pCompPrivate->bLoadedCommandPending = OMX_TRUE; in SendCommand() 570 if(pCompPrivate->curState == OMX_StateLoaded) { in SendCommand() 572 pCompPrivate->cbInfo.EventHandler (pHandle, in SendCommand() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/mp3_dec/src/ |
D | OMX_Mp3Decoder.c | 546 MP3DEC_COMPONENT_PRIVATE *pCompPrivate = NULL; in SendCommand() local 549 pCompPrivate = (MP3DEC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate; in SendCommand() 552 if (pCompPrivate->curState == OMX_StateInvalid){ in SendCommand() 557 OMX_PRINT1(pCompPrivate->dbg, ":: MP3DEC: Entered SendCommand\n"); in SendCommand() 558 if(pCompPrivate->curState == OMX_StateInvalid){ in SendCommand() 563 PERF_SendingCommand(pCompPrivate->pPERF, in SendCommand() 571 OMX_PRSTATE2(pCompPrivate->dbg, " MP3DEC: Entered switch - Command State Set\n"); in SendCommand() 573 pCompPrivate->bLoadedCommandPending = OMX_TRUE; in SendCommand() 575 if(pCompPrivate->curState == OMX_StateLoaded) { in SendCommand() 576 … OMX_PRSTATE2(pCompPrivate->dbg, " MP3DEC: Entered switch - curState == OMX_StateLoaded\n"); in SendCommand() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_dec/src/ |
D | OMX_G729Decoder.c | 579 G729DEC_COMPONENT_PRIVATE *pCompPrivate = in SendCommand() local 584 PERF_SendingCommand(pCompPrivate->pPERF, in SendCommand() 591 G729DEC_DPRINT("pCompPrivate = %p\n",pCompPrivate); in SendCommand() 593 pCompPrivate->pHandle = phandle; in SendCommand() 596 if(pCompPrivate->curState == OMX_StateInvalid){ in SendCommand() 601 pCompPrivate->cbInfo.EventHandler ( in SendCommand() 613 G729DEC_DPRINT ("%d:::pCompPrivate->curState = %d\n",__LINE__,pCompPrivate->curState); in SendCommand() 615 pCompPrivate->bLoadedCommandPending = OMX_TRUE; in SendCommand() 617 if(pCompPrivate->curState == OMX_StateLoaded) { in SendCommand() 619 pCompPrivate->cbInfo.EventHandler ( in SendCommand() [all …]
|
D | OMX_G729Dec_Utils.c | 2509 G729DEC_COMPONENT_PRIVATE *pCompPrivate = NULL; in G729DEC_ResourceManagerCallback() local 2511 pCompPrivate = (G729DEC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate; in G729DEC_ResourceManagerCallback() 2514 if (pCompPrivate->curState == OMX_StateExecuting || in G729DEC_ResourceManagerCallback() 2515 pCompPrivate->curState == OMX_StatePause) { in G729DEC_ResourceManagerCallback() 2517 write (pCompPrivate->cmdPipe[1], &Cmd, sizeof(Cmd)); in G729DEC_ResourceManagerCallback() 2518 write (pCompPrivate->cmdDataPipe[1], &state ,sizeof(OMX_U32)); in G729DEC_ResourceManagerCallback() 2520 pCompPrivate->bPreempted = 1; in G729DEC_ResourceManagerCallback() 2524 pCompPrivate->cbInfo.EventHandler ( pHandle, in G729DEC_ResourceManagerCallback()
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/src/ |
D | OMX_G711Decoder.c | 575 G711DEC_COMPONENT_PRIVATE *pCompPrivate = in SendCommand() local 581 G711DEC_DPRINT("pCompPrivate = %p\n", pCompPrivate); in SendCommand() 583 pCompPrivate->pHandle = phandle; in SendCommand() 585 if(pCompPrivate->curState == OMX_StateInvalid){ in SendCommand() 590 pCompPrivate->cbInfo.EventHandler (pHandle, pHandle->pApplicationPrivate, in SendCommand() 602 __LINE__,pCompPrivate->curState); in SendCommand() 604 pCompPrivate->bLoadedCommandPending = OMX_TRUE; in SendCommand() 606 if(pCompPrivate->curState == OMX_StateLoaded) { in SendCommand() 608 pCompPrivate->cbInfo.EventHandler (pHandle, in SendCommand() 618 pCompPrivate->curState = OMX_StateInvalid; in SendCommand() [all …]
|
D | OMX_G711Dec_Utils.c | 2824 G711DEC_COMPONENT_PRIVATE *pCompPrivate = NULL; in G711DEC_ResourceManagerCallback() local 2826 pCompPrivate = (G711DEC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate; in G711DEC_ResourceManagerCallback() 2829 if (pCompPrivate->curState == OMX_StateExecuting || in G711DEC_ResourceManagerCallback() 2830 pCompPrivate->curState == OMX_StatePause) { in G711DEC_ResourceManagerCallback() 2832 write (pCompPrivate->cmdPipe[1], &Cmd, sizeof(Cmd)); in G711DEC_ResourceManagerCallback() 2833 write (pCompPrivate->cmdDataPipe[1], &state ,sizeof(OMX_U32)); in G711DEC_ResourceManagerCallback() 2835 pCompPrivate->bPreempted = 1; in G711DEC_ResourceManagerCallback() 2839 pCompPrivate->cbInfo.EventHandler ( pHandle, in G711DEC_ResourceManagerCallback()
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/src/ |
D | OMX_G726Decoder.c | 498 G726DEC_COMPONENT_PRIVATE *pCompPrivate = NULL; in SendCommand() local 501 pCompPrivate = (G726DEC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate; in SendCommand() 504 if(pCompPrivate->curState == OMX_StateInvalid){ in SendCommand() 507 pCompPrivate->cbInfo.EventHandler (pHandle, in SendCommand() 520 pCompPrivate->bLoadedCommandPending = OMX_TRUE; in SendCommand() 522 if(pCompPrivate->curState == OMX_StateLoaded) { in SendCommand() 527 pCompPrivate->cbInfo.EventHandler (pHandle, in SendCommand() 537 pCompPrivate->curState = OMX_StateInvalid; in SendCommand() 538 pCompPrivate->cbInfo.EventHandler (pHandle, in SendCommand() 569 pCompPrivate->cbInfo.EventHandler(pHandle, pHandle->pApplicationPrivate, in SendCommand() [all …]
|
D | OMX_G726Dec_Utils.c | 2562 G726DEC_COMPONENT_PRIVATE *pCompPrivate = NULL; in G726DEC_ResourceManagerCallback() local 2564 pCompPrivate = (G726DEC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate; in G726DEC_ResourceManagerCallback() 2567 if (pCompPrivate->curState == OMX_StateExecuting || in G726DEC_ResourceManagerCallback() 2568 pCompPrivate->curState == OMX_StatePause) { in G726DEC_ResourceManagerCallback() 2570 write (pCompPrivate->cmdPipe[1], &Cmd, sizeof(Cmd)); in G726DEC_ResourceManagerCallback() 2571 write (pCompPrivate->cmdDataPipe[1], &state ,sizeof(OMX_U32)); in G726DEC_ResourceManagerCallback() 2573 pCompPrivate->bPreempted = 1; in G726DEC_ResourceManagerCallback() 2577 pCompPrivate->cbInfo.EventHandler ( pHandle, in G726DEC_ResourceManagerCallback()
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_dec/src/ |
D | OMX_G722Decoder.c | 492 G722DEC_COMPONENT_PRIVATE *pCompPrivate = NULL; in SendCommand() local 495 pCompPrivate = (G722DEC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate; in SendCommand() 498 if(pCompPrivate->curState == OMX_StateInvalid){ in SendCommand() 507 pCompPrivate->bLoadedCommandPending = OMX_TRUE; in SendCommand() 509 if(pCompPrivate->curState == OMX_StateLoaded) { in SendCommand() 514 pCompPrivate->cbInfo.EventHandler (pHandle, in SendCommand() 524 pCompPrivate->curState = OMX_StateInvalid; in SendCommand() 525 pCompPrivate->cbInfo.EventHandler (pHandle, in SendCommand() 556 pCompPrivate->cbInfo.EventHandler(pHandle, pHandle->pApplicationPrivate, in SendCommand() 564 nRet = write (pCompPrivate->cmdPipe[1], &Cmd, sizeof(Cmd)); in SendCommand() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_enc/src/ |
D | OMX_G729Encoder.c | 587 G729ENC_COMPONENT_PRIVATE *pCompPrivate = in SendCommand() local 592 if (pCompPrivate->curState == OMX_StateInvalid) in SendCommand() 598 if(pCompPrivate->curState == OMX_StateInvalid) in SendCommand() 605 PERF_SendingCommand(pCompPrivate->pPERF, in SendCommand() 616 pCompPrivate->bLoadedCommandPending = OMX_TRUE; in SendCommand() 618 if(pCompPrivate->curState == OMX_StateLoaded) in SendCommand() 622 pCompPrivate->cbInfo.EventHandler ( pHandle, in SendCommand() 633 pCompPrivate->curState = OMX_StateInvalid; in SendCommand() 634 pCompPrivate->cbInfo.EventHandler ( pHandle, in SendCommand() 670 pCompPrivate->cbInfo.EventHandler ( pHandle, in SendCommand() [all …]
|
D | OMX_G729Enc_Utils.c | 2721 G729ENC_COMPONENT_PRIVATE *pCompPrivate = NULL; in G729ENC_ResourceManagerCallback() local 2723 pCompPrivate = (G729ENC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate; in G729ENC_ResourceManagerCallback() 2726 if (pCompPrivate->curState == OMX_StateExecuting || in G729ENC_ResourceManagerCallback() 2727 pCompPrivate->curState == OMX_StatePause) { in G729ENC_ResourceManagerCallback() 2729 write (pCompPrivate->cmdPipe[1], &Cmd, sizeof(Cmd)); in G729ENC_ResourceManagerCallback() 2730 write (pCompPrivate->cmdDataPipe[1], &state ,sizeof(OMX_U32)); in G729ENC_ResourceManagerCallback() 2732 pCompPrivate->bPreempted = 1; in G729ENC_ResourceManagerCallback() 2736 pCompPrivate->cbInfo.EventHandler ( pHandle, in G729ENC_ResourceManagerCallback()
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_enc/src/ |
D | OMX_G722Encoder.c | 649 G722ENC_COMPONENT_PRIVATE *pCompPrivate = in SendCommand() local 656 if(pCompPrivate->curState == OMX_StateInvalid){ in SendCommand() 664 pCompPrivate->bLoadedCommandPending = OMX_TRUE; in SendCommand() 666 if(pCompPrivate->curState == OMX_StateLoaded) in SendCommand() 670 pCompPrivate->cbInfo.EventHandler ( pHandle, in SendCommand() 681 pCompPrivate->curState = OMX_StateInvalid; in SendCommand() 682 pCompPrivate->cbInfo.EventHandler ( pHandle, in SendCommand() 723 nRet = write (pCompPrivate->cmdPipe[1], &Cmd,sizeof(Cmd)); in SendCommand() 729 nRet = write (pCompPrivate->cmdDataPipe[1], &pCmdData,sizeof(OMX_PTR)); in SendCommand() 732 nRet = write (pCompPrivate->cmdDataPipe[1], &nParam, in SendCommand() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/src/ |
D | OMX_G711Encoder.c | 555 G711ENC_COMPONENT_PRIVATE *pCompPrivate = in SendCommand() local 559 if(pCompPrivate->curState == OMX_StateInvalid) { in SendCommand() 571 pCompPrivate->bLoadedCommandPending = OMX_TRUE; in SendCommand() 573 if(pCompPrivate->curState == OMX_StateLoaded) { in SendCommand() 575 pCompPrivate->cbInfo.EventHandler ( pHandle, in SendCommand() 586 pCompPrivate->curState = OMX_StateInvalid; in SendCommand() 587 pCompPrivate->cbInfo.EventHandler ( pHandle, in SendCommand() 621 pCompPrivate->cbInfo.EventHandler ( pHandle, in SendCommand() 631 nRet = write (pCompPrivate->cmdPipe[1], &Cmd, sizeof(Cmd)); in SendCommand() 639 nRet = write(pCompPrivate->cmdDataPipe[1], &pCmdData,sizeof(OMX_PTR)); in SendCommand() [all …]
|
D | OMX_G711Enc_Utils.c | 2661 G711ENC_COMPONENT_PRIVATE *pCompPrivate = NULL; in G711ENC_ResourceManagerCallback() local 2663 pCompPrivate = (G711ENC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate; in G711ENC_ResourceManagerCallback() 2666 if (pCompPrivate->curState == OMX_StateExecuting || in G711ENC_ResourceManagerCallback() 2667 pCompPrivate->curState == OMX_StatePause) { in G711ENC_ResourceManagerCallback() 2669 write (pCompPrivate->cmdPipe[1], &Cmd, sizeof(Cmd)); in G711ENC_ResourceManagerCallback() 2670 write (pCompPrivate->cmdDataPipe[1], &state ,sizeof(OMX_U32)); in G711ENC_ResourceManagerCallback() 2672 pCompPrivate->bPreempted = 1; in G711ENC_ResourceManagerCallback() 2676 pCompPrivate->cbInfo.EventHandler ( pHandle, in G711ENC_ResourceManagerCallback()
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/src/ |
D | OMX_G726Encoder.c | 521 G726ENC_COMPONENT_PRIVATE *pCompPrivate = in SendCommand() local 525 if(pCompPrivate->curState == OMX_StateInvalid) { in SendCommand() 534 if(pCompPrivate->curState == OMX_StateLoaded) { in SendCommand() 536 pCompPrivate->cbInfo.EventHandler ( pHandle, in SendCommand() 547 pCompPrivate->curState = OMX_StateInvalid; in SendCommand() 548 pCompPrivate->cbInfo.EventHandler ( pHandle, in SendCommand() 582 pCompPrivate->cbInfo.EventHandler ( pHandle, in SendCommand() 592 nRet = write (pCompPrivate->cmdPipe[1], &Cmd, sizeof(Cmd)); in SendCommand() 600 nRet = write(pCompPrivate->cmdDataPipe[1], &pCmdData, in SendCommand() 603 nRet = write(pCompPrivate->cmdDataPipe[1], &nParam, in SendCommand()
|
D | OMX_G726Enc_Utils.c | 2261 G726ENC_COMPONENT_PRIVATE *pCompPrivate = NULL; in G726ENC_ResourceManagerCallback() local 2263 pCompPrivate = (G726ENC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate; in G726ENC_ResourceManagerCallback() 2266 if (pCompPrivate->curState == OMX_StateExecuting || in G726ENC_ResourceManagerCallback() 2267 pCompPrivate->curState == OMX_StatePause) { in G726ENC_ResourceManagerCallback() 2269 write (pCompPrivate->cmdPipe[1], &Cmd, sizeof(Cmd)); in G726ENC_ResourceManagerCallback() 2270 write (pCompPrivate->cmdDataPipe[1], &state ,sizeof(OMX_U32)); in G726ENC_ResourceManagerCallback() 2272 pCompPrivate->bPreempted = 1; in G726ENC_ResourceManagerCallback() 2276 pCompPrivate->cbInfo.EventHandler ( pHandle, in G726ENC_ResourceManagerCallback()
|
/hardware/ti/omap3/omx/video/src/openmax_il/video_encode/src/ |
D | OMX_VideoEnc_Utils.c | 4128 VIDENC_COMPONENT_PRIVATE *pCompPrivate = NULL; in OMX_VIDENC_ResourceManagerCallBack() local 4130 pCompPrivate = (VIDENC_COMPONENT_PRIVATE*)pHandle->pComponentPrivate; in OMX_VIDENC_ResourceManagerCallBack() 4131 OMX_PRMGR2(pCompPrivate->dbg, "OMX_VIDENC_ResourceManagerCallBack\n"); in OMX_VIDENC_ResourceManagerCallBack() 4132 …OMX_PRMGR2(pCompPrivate->dbg, "Arguments:\ncbData.RM_Error = %dcbData.RM_Cmd = %d\n", *(cbData.RM_… in OMX_VIDENC_ResourceManagerCallBack() 4135 if (pCompPrivate->eState== OMX_StateExecuting || in OMX_VIDENC_ResourceManagerCallBack() 4136 pCompPrivate->eState == OMX_StatePause) in OMX_VIDENC_ResourceManagerCallBack() 4139 pCompPrivate->sCbData.EventHandler ( in OMX_VIDENC_ResourceManagerCallBack() 4145 OMX_PRSTATE2(pCompPrivate->dbg, "Send command to Idle from RM CallBack\n"); in OMX_VIDENC_ResourceManagerCallBack() 4147 pCompPrivate->bPreempted = 1; in OMX_VIDENC_ResourceManagerCallBack() 4153 pCompPrivate->sCbData.EventHandler ( in OMX_VIDENC_ResourceManagerCallBack() [all …]
|