Home
last modified time | relevance | path

Searched refs:nParam (Results 1 – 25 of 37) sorted by relevance

12

/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/src/
DOMX_JpegDecoder.c89 OMX_U32 nParam,
960 OMX_U32 nParam, in SendCommand_JPEGDec() argument
980 … OMX_PRINT1(pComponentPrivate->dbg, "Entering funtion SendCommand_JPEGDec %u %lu\n", Cmd, nParam); in SendCommand_JPEGDec()
991 pComponentPrivate->nToState = nParam; in SendCommand_JPEGDec()
996 if ((nParam != JPEGDEC_INPUT_PORT) && in SendCommand_JPEGDec()
997 (nParam != JPEGDEC_OUTPUT_PORT) && in SendCommand_JPEGDec()
998 ((int)nParam != -1)) { in SendCommand_JPEGDec()
1007 OMX_PRBUFFER2(pComponentPrivate->dbg, "Get port disable command %lu\n", nParam); in SendCommand_JPEGDec()
1008 if (nParam == JPEGDEC_INPUT_PORT || (int)nParam == -1) { in SendCommand_JPEGDec()
1013 if (nParam == JPEGDEC_OUTPUT_PORT || (int)nParam == -1) { in SendCommand_JPEGDec()
[all …]
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/src/
DOMX_JpegEncoder.c97 OMX_U32 nParam,
839 OMX_U32 nParam, in JPEGENC_SendCommand() argument
859 OMX_PRINT2(pCompPrivate->dbg, "Print nParam = %d\n", (int)nParam); in JPEGENC_SendCommand()
873 pCompPrivate->nToState = nParam; in JPEGENC_SendCommand()
876 if ((nParam != 0) && (nParam != 1) && ((int)nParam != -1)) { in JPEGENC_SendCommand()
883 if (nParam == JPEGENC_INP_PORT || (int)nParam == -1) { in JPEGENC_SendCommand()
887 if (nParam == JPEGENC_OUT_PORT || (int)nParam == -1) { in JPEGENC_SendCommand()
891 if ((nParam != JPEGENC_INP_PORT) && (nParam != JPEGENC_OUT_PORT) && ((int)nParam != -1)) in JPEGENC_SendCommand()
920 if (nParam == JPEGENC_INP_PORT || (int)nParam == -1) { in JPEGENC_SendCommand()
923 if (nParam == JPEGENC_OUT_PORT || (int)nParam == -1) { in JPEGENC_SendCommand()
[all …]
/hardware/ti/omap4xxx/domx/omx_proxy_component/omx_video_dec/src/
Domx_proxy_videodec.c86 OMX_IN OMX_U32 nParam, OMX_IN OMX_PTR pCmdData);
453 OMX_IN OMX_U32 nParam, OMX_IN OMX_PTR pCmdData) in PROXY_VIDDEC_SendCommand() argument
466 hComponent, pCompPrv, eCmd, nParam, pCmdData); in PROXY_VIDDEC_SendCommand()
471 if((OMX_STATETYPE)nParam == OMX_StateIdle && pCompPrv->IsLoadedState == OMX_TRUE) in PROXY_VIDDEC_SendCommand()
481 if(nParam == OMX_ALL || nParam == OMX_VIDEODECODER_OUTPUT_PORT) in PROXY_VIDDEC_SendCommand()
490 PROXY_SendCommand(hComponent, eCmd, nParam, pCmdData); in PROXY_VIDDEC_SendCommand()
/hardware/ti/omap4-aah/domx/omx_proxy_component/omx_video_dec/src/
Domx_proxy_videodec.c93 OMX_IN OMX_U32 nParam, OMX_IN OMX_PTR pCmdData);
484 OMX_IN OMX_U32 nParam, OMX_IN OMX_PTR pCmdData) in PROXY_VIDDEC_SendCommand() argument
497 hComponent, pCompPrv, eCmd, nParam, pCmdData); in PROXY_VIDDEC_SendCommand()
502 if((OMX_STATETYPE)nParam == OMX_StateIdle && pCompPrv->IsLoadedState == OMX_TRUE) in PROXY_VIDDEC_SendCommand()
512 if(nParam == OMX_ALL || nParam == OMX_VIDEODECODER_OUTPUT_PORT) in PROXY_VIDDEC_SendCommand()
521 PROXY_SendCommand(hComponent, eCmd, nParam, pCmdData); in PROXY_VIDDEC_SendCommand()
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/src/
DOMX_VPP.c149 OMX_IN OMX_U32 nParam,
904 OMX_IN OMX_U32 nParam, in VPP_SendCommand() argument
926 pComponentPrivate->toState = nParam; in VPP_SendCommand()
927 VPP_DPRINT("VPP:: OMX_CommandStateSet: tostate %d\n", nParam); in VPP_SendCommand()
928 if (nParam == OMX_StateIdle && pComponentPrivate->curState == OMX_StateExecuting) { in VPP_SendCommand()
935 if ((nParam >= NUM_OF_VPP_PORTS) && (nParam != OMX_ALL)) { in VPP_SendCommand()
939 …else if(nParam != OMX_ALL) { /*If only one port is requested might come from the application, the… in VPP_SendCommand()
940 VPP_DPRINT("set port %d as diabled\n", nParam); in VPP_SendCommand()
941 pComponentPrivate->sCompPorts[nParam].pPortDef.bEnabled=OMX_FALSE; in VPP_SendCommand()
942 if (pComponentPrivate->sCompPorts[nParam].pPortDef.bPopulated) { in VPP_SendCommand()
[all …]
/hardware/ti/omap4-aah/domx/omx_proxy_component/omx_camera/src/
Domx_proxy_camera.c208 OMX_IN OMX_U32 nParam, OMX_IN OMX_PTR pCmdData) in Camera_SendCommand() argument
224 (nParam == (OMX_STATETYPE) OMX_StateIdle)) in Camera_SendCommand()
250 if (((j == nParam) || (nParam == OMX_ALL)) && in Camera_SendCommand()
263 PROXY_SendCommand(hComponent,eCmd,nParam,pCmdData); in Camera_SendCommand()
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_dec/src/
DOMX_G729Decoder.c121 OMX_U32 nParam, OMX_PTR pCmdData);
574 OMX_U32 nParam,OMX_PTR pCmdData) in SendCommand() argument
586 (Cmd == OMX_CommandMarkBuffer) ? ((OMX_U32) pCmdData) : nParam, in SendCommand()
614 if (nParam == OMX_StateLoaded) { in SendCommand()
618 if((nParam == OMX_StateExecuting) || (nParam == OMX_StatePause)) { in SendCommand()
629 if(nParam == OMX_StateInvalid) { in SendCommand()
645 if(nParam > 1 && nParam != -1) { in SendCommand()
659 if (nParam > 0) { in SendCommand()
689 nRet = write(pCompPrivate->cmdDataPipe[1], &nParam, in SendCommand()
702 if(Cmd == OMX_CommandStateSet && nParam == OMX_StateExecuting) { in SendCommand()
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_enc/src/
DOMX_G722Encoder.c124 OMX_U32 nParam, OMX_PTR pCmdData);
644 OMX_U32 nParam,OMX_PTR pCmdData) in SendCommand() argument
654 G722ENC_DPRINT("nParam = %d\n",nParam); in SendCommand()
663 if (nParam == OMX_StateLoaded) { in SendCommand()
668 if((nParam == OMX_StateExecuting) || (nParam == OMX_StatePause)) in SendCommand()
678 if(nParam == OMX_StateInvalid) in SendCommand()
695 if(nParam > 1 && nParam != -1) { in SendCommand()
711 if(nParam > 0) { in SendCommand()
732 nRet = write (pCompPrivate->cmdDataPipe[1], &nParam, in SendCommand()
733 sizeof(nParam)); in SendCommand()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/src/
DOMX_G711Encoder.c106 OMX_U32 nParam,OMX_PTR pCmdData);
550 OMX_U32 nParam, in SendCommand() argument
568 G711ENC_DPRINT("%d :: OMX_CommandStateSet nparam: %d \n",__LINE__,(int)nParam); in SendCommand()
570 if (nParam == OMX_StateLoaded) { in SendCommand()
574 if((nParam == OMX_StateExecuting) || (nParam == OMX_StatePause)) { in SendCommand()
584 if(nParam == OMX_StateInvalid) { in SendCommand()
599 if(nParam > 1 && nParam != -1) { in SendCommand()
613 if (nParam > 0) { in SendCommand()
641 nRet = write(pCompPrivate->cmdDataPipe[1], &nParam,sizeof(OMX_U32)); in SendCommand()
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/src/
DOMX_G726Decoder.c127 OMX_U32 nParam, OMX_PTR pCmdData);
493 OMX_U32 nParam,OMX_PTR pCmdData) in SendCommand() argument
519 if (nParam == OMX_StateLoaded) { in SendCommand()
524 if((nParam == OMX_StateExecuting) || (nParam == OMX_StatePause)) { in SendCommand()
536 if(nParam == OMX_StateInvalid) { in SendCommand()
551 if(nParam > 1 && nParam != -1) { in SendCommand()
563 if(nParam > 0) { in SendCommand()
590 nRet = write (pCompPrivate->cmdDataPipe[1], &nParam, in SendCommand()
599 if(Cmd == OMX_CommandStateSet && nParam == OMX_StateExecuting){ in SendCommand()
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_dec/src/
DOMX_G722Decoder.c125 OMX_U32 nParam, OMX_PTR pCmdData);
487 OMX_U32 nParam,OMX_PTR pCmdData) in SendCommand() argument
506 if (nParam == OMX_StateLoaded) { in SendCommand()
511 if((nParam == OMX_StateExecuting) || (nParam == OMX_StatePause)) { in SendCommand()
523 if(nParam == OMX_StateInvalid) { in SendCommand()
538 if(nParam > 1 && nParam != -1) { in SendCommand()
550 if(nParam > 0) { in SendCommand()
577 nRet = write (pCompPrivate->cmdDataPipe[1], &nParam, in SendCommand()
586 if(Cmd == OMX_CommandStateSet && nParam == OMX_StateExecuting){ in SendCommand()
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/src/
DOMX_G711Decoder.c122 OMX_U32 nParam, OMX_PTR pCmdData);
570 OMX_U32 nParam,OMX_PTR pCmdData) in SendCommand() argument
603 if (nParam == OMX_StateLoaded) { in SendCommand()
607 if((nParam == OMX_StateExecuting) || (nParam == OMX_StatePause)) { in SendCommand()
616 if(nParam == OMX_StateInvalid) { in SendCommand()
630 if(nParam > 1 && nParam != -1) { in SendCommand()
644 if (nParam > 0) { in SendCommand()
672 nRet = write(pCompPrivate->cmdDataPipe[1], &nParam, sizeof(OMX_U32)); in SendCommand()
684 if(Cmd == OMX_CommandStateSet && nParam == OMX_StateExecuting) in SendCommand()
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/src/
DOMX_WbAmrEncoder.c124 OMX_U32 nParam, OMX_PTR pCmdData);
651 OMX_U32 nParam, in SendCommand() argument
670 (Cmd == OMX_CommandMarkBuffer) ? ((OMX_U32) pCmdData) : nParam, in SendCommand()
676 OMX_PRDSP2(pCompPrivate->dbg, "OMX_CommandStateSet-%ld", nParam); in SendCommand()
678 if (nParam == OMX_StateLoaded) { in SendCommand()
683 if ((nParam == OMX_StateExecuting) || (nParam == OMX_StatePause)) { in SendCommand()
693 if (nParam == OMX_StateInvalid) { in SendCommand()
713 OMX_PRDSP2(pCompPrivate->dbg, "OMX_CommandFlush %ld", nParam); in SendCommand()
715 if (nParam > 1 && nParam != -1) { in SendCommand()
732 if (nParam > 0) { in SendCommand()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_dec/src/
DOMX_WbAmrDecoder.c122 OMX_U32 nParam, OMX_PTR pCmdData);
592 OMX_U32 nParam,OMX_PTR pCmdData) in SendCommand() argument
629 (Cmd == OMX_CommandMarkBuffer) ? ((OMX_U32) pCmdData) : nParam, in SendCommand()
637 if (nParam == OMX_StateLoaded) { in SendCommand()
641 if((nParam == OMX_StateExecuting) || (nParam == OMX_StatePause)) { in SendCommand()
652 if(nParam == OMX_StateInvalid) { in SendCommand()
668 if(nParam > 1 && nParam != -1) { in SendCommand()
682 if (nParam > 0) { in SendCommand()
713 nRet = write(pCompPrivate->cmdDataPipe[1], &nParam, in SendCommand()
726 if(Cmd == OMX_CommandStateSet && nParam == OMX_StateExecuting) { in SendCommand()
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_enc/src/
DOMX_G729Encoder.c122 OMX_U32 nParam,OMX_PTR pCmdData);
582 OMX_U32 nParam, in SendCommand() argument
607 (Cmd == OMX_CommandMarkBuffer) ? ((OMX_U32) pCmdData) : nParam, in SendCommand()
615 if (nParam == OMX_StateLoaded) { in SendCommand()
620 if((nParam == OMX_StateExecuting) || (nParam == OMX_StatePause)) in SendCommand()
630 if(nParam == OMX_StateInvalid) in SendCommand()
646 if(nParam > 1 && nParam != -1) in SendCommand()
661 if (nParam > 0) in SendCommand()
691 nRet = write(pCompPrivate->cmdDataPipe[1], &nParam, sizeof(OMX_U32)); in SendCommand()
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/src/
DOMX_G726Encoder.c116 OMX_U32 nParam,OMX_PTR pCmdData);
516 OMX_U32 nParam, in SendCommand() argument
535 if((nParam == OMX_StateExecuting) || (nParam == OMX_StatePause)) { in SendCommand()
545 if(nParam == OMX_StateInvalid) { in SendCommand()
560 if(nParam > 1 && nParam != -1) { in SendCommand()
574 if (nParam > 0) { in SendCommand()
603 nRet = write(pCompPrivate->cmdDataPipe[1], &nParam, in SendCommand()
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_dec/src/
DOMX_AmrDecoder.c116 OMX_U32 nParam, OMX_PTR pCmdData);
619 OMX_U32 nParam,OMX_PTR pCmdData) in SendCommand() argument
657 (Cmd == OMX_CommandMarkBuffer) ? ((OMX_U32) pCmdData) : nParam, in SendCommand()
666 if (nParam == OMX_StateLoaded) { in SendCommand()
670 if((nParam == OMX_StateExecuting) || (nParam == OMX_StatePause)) { in SendCommand()
681 if(nParam == OMX_StateInvalid) { in SendCommand()
697 if(nParam > 1 && nParam != -1) { in SendCommand()
711 if (nParam > 0) { in SendCommand()
742 nRet = write(pCompPrivate->cmdDataPipe[1], &nParam, in SendCommand()
755 if(Cmd == OMX_CommandStateSet && nParam == OMX_StateExecuting) { in SendCommand()
/hardware/ti/omap3/omx/audio/src/openmax_il/mp3_dec/src/
DOMX_Mp3Decoder.c133 OMX_U32 nParam, OMX_PTR pCmdData);
541 OMX_U32 nParam,OMX_PTR pCmdData) in SendCommand() argument
565 (Cmd == OMX_CommandMarkBuffer) ? ((OMX_U32) pCmdData) : nParam, in SendCommand()
572 if (nParam == OMX_StateLoaded) { in SendCommand()
577 if((nParam == OMX_StateExecuting) || (nParam == OMX_StatePause)) { in SendCommand()
589 if(nParam == OMX_StateInvalid) { in SendCommand()
604 if(nParam > 1 && nParam != -1) { in SendCommand()
616 if(nParam > 0) { in SendCommand()
649 nRet = write (pCompPrivate->cmdDataPipe[1], &nParam, in SendCommand()
659 if(Cmd == OMX_CommandStateSet && nParam == OMX_StateExecuting) { in SendCommand()
/hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/src/
DOMX_WmaDecoder.c117 OMX_U32 nParam, OMX_PTR pCmdData);
627 OMX_U32 nParam,OMX_PTR pCmdData) in SendCommand() argument
659 (Cmd == OMX_CommandMarkBuffer) ? ((OMX_U32) pCmdData) : nParam, in SendCommand()
667 if (nParam == OMX_StateLoaded) { in SendCommand()
671 if((nParam == OMX_StateExecuting) || (nParam == OMX_StatePause)) { in SendCommand()
682 if(nParam == OMX_StateInvalid) { in SendCommand()
697 if(nParam > 1 && nParam != -1) { in SendCommand()
708 if (nParam > 0) { in SendCommand()
737 nRet = write(pCompPrivate->cmdDataPipe[1], &nParam, in SendCommand()
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_dec/src/
DOMX_AacDecoder.c133 OMX_U32 nParam, OMX_PTR pCmdData);
535 OMX_U32 nParam,OMX_PTR pCmdData) in SendCommand() argument
562 (Cmd == OMX_CommandMarkBuffer) ? ((OMX_U32) pCmdData) : nParam, in SendCommand()
567 if (nParam == OMX_StateLoaded) { in SendCommand()
571 if((nParam == OMX_StateExecuting) || (nParam == OMX_StatePause)) { in SendCommand()
582 if(nParam == OMX_StateInvalid) { in SendCommand()
596 if(nParam > 1 && nParam != -1) { in SendCommand()
608 if(nParam > 0) { in SendCommand()
640 nRet = write (pCompPrivate->cmdDataPipe[1], &nParam, in SendCommand()
653 if(Cmd == OMX_CommandStateSet && nParam == OMX_StateExecuting) { in SendCommand()
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_enc/src/
DOMX_AmrEncoder.c130 OMX_U32 nParam,OMX_PTR pCmdData);
678 OMX_U32 nParam, in SendCommand() argument
709 (Cmd == OMX_CommandMarkBuffer) ? ((OMX_U32) pCmdData) : nParam, in SendCommand()
715 if (nParam == OMX_StateLoaded) { in SendCommand()
719 if((nParam == OMX_StateExecuting) || (nParam == OMX_StatePause)) { in SendCommand()
729 if(nParam == OMX_StateInvalid) { in SendCommand()
750 if(nParam > 1 && nParam != -1) { in SendCommand()
764 if (nParam > 0) { in SendCommand()
793 nRet = write(pCompPrivate->cmdDataPipe[1], &nParam, in SendCommand()
811 if(Cmd == OMX_CommandStateSet && nParam == OMX_StateExecuting) { in SendCommand()
/hardware/qcom/media/msm8974/mm-core/inc/
DOMX_Core.h757 nParam, \ argument
762 nParam, \
/hardware/qcom/media/msm8996/mm-core/inc/
DOMX_Core.h757 nParam, \ argument
762 nParam, \
/hardware/ti/omap4xxx/domx/omx_core/inc/
DOMX_Core.h748 nParam, \ argument
753 nParam, \
/hardware/ti/omap4-aah/domx/omx_core/inc/
DOMX_Core.h765 nParam, \ argument
770 nParam, \

12