Home
last modified time | relevance | path

Searched refs:eCmd (Results 1 – 20 of 20) sorted by relevance

/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/src/
DOMX_JpegEnc_Thread.c100 OMX_COMMANDTYPE eCmd; in OMX_JpegEnc_Thread() local
183 read (pComponentPrivate->nCmdPipe[0], &eCmd, sizeof (eCmd)); in OMX_JpegEnc_Thread()
188 eCmd, nParam1, in OMX_JpegEnc_Thread()
192 … OMX_PRINT2(pComponentPrivate->dbg, "eCmd %d, nParam1 %d\n", (int)eCmd, (int)nParam1); in OMX_JpegEnc_Thread()
193 if ( eCmd == OMX_CommandStateSet ) { in OMX_JpegEnc_Thread()
212 else if ( eCmd == OMX_CommandPortDisable ) { in OMX_JpegEnc_Thread()
220 else if ( eCmd == OMX_CommandPortEnable ) { /*TODO: Check errors*/ in OMX_JpegEnc_Thread()
227 else if ( eCmd == OMX_CustomCommandStopThread ) { in OMX_JpegEnc_Thread()
231 else if ( eCmd == OMX_CommandFlush ) { in OMX_JpegEnc_Thread()
DOMX_JpegEncoder.c849 OMX_COMMANDTYPE eCmd = -1; in JPEGENC_SendCommand() local
872 eCmd = SetState; in JPEGENC_SendCommand()
880 eCmd = Flush; in JPEGENC_SendCommand()
916 eCmd = OMX_CommandPortDisable; in JPEGENC_SendCommand()
930 eCmd = OMX_CommandPortEnable; in JPEGENC_SendCommand()
950 nRet = write(pCompPrivate->nCmdPipe[1], &eCmd, sizeof(eCmd)); in JPEGENC_SendCommand()
DOMX_JpegEnc_Utils.c429 OMX_COMMANDTYPE eCmd = OMX_CustomCommandStopThread; in JPEGEnc_Free_ComponentResources() local
448 pipeError = write(pComponentPrivate->nCmdPipe[1], &eCmd, sizeof(eCmd)); in JPEGEnc_Free_ComponentResources()
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/src/
DOMX_JpegDec_Thread.c77 OMX_COMMANDTYPE eCmd; in OMX_JpegDec_Thread() local
140 …read (pComponentPrivate->nCmdPipe[0], &eCmd, sizeof (eCmd)); /*Manage error from any read and wr… in OMX_JpegDec_Thread()
141 OMX_PRCOMM1(pComponentPrivate->dbg, "read ecmd %d\n", eCmd); in OMX_JpegDec_Thread()
147 eCmd, nParam1, PERF_ModuleLLMM); in OMX_JpegDec_Thread()
151 if (eCmd == OMX_CommandStateSet) { in OMX_JpegDec_Thread()
171 else if (eCmd == OMX_CommandPortDisable) { in OMX_JpegDec_Thread()
183 else if (eCmd == OMX_CommandPortEnable) { in OMX_JpegDec_Thread()
195 else if (eCmd == OMX_CustomCommandStopThread) { in OMX_JpegDec_Thread()
199 else if (eCmd == OMX_CommandMarkBuffer) { in OMX_JpegDec_Thread()
207 else if (eCmd == OMX_CommandFlush) { in OMX_JpegDec_Thread()
DOMX_JpegDecoder.c969 OMX_COMMANDTYPE eCmd = OMX_CustomCommandStopThread; in SendCommand_JPEGDec() local
990 eCmd = OMX_CommandStateSet; in SendCommand_JPEGDec()
1002 eCmd = OMX_CommandFlush; in SendCommand_JPEGDec()
1045 eCmd = OMX_CommandPortDisable; in SendCommand_JPEGDec()
1059 eCmd = OMX_CommandPortEnable; in SendCommand_JPEGDec()
1064 eCmd = OMX_CommandMarkBuffer; in SendCommand_JPEGDec()
1080 OMX_PRINT1(pComponentPrivate->dbg, "JPEGDEC: eCmd = %d\n",(int)eCmd); in SendCommand_JPEGDec()
1084 eCmd, (eCmd == OMX_CommandMarkBuffer) ? (OMX_U32) pCmdData : nParam, in SendCommand_JPEGDec()
1088 nRet = write(pComponentPrivate->nCmdPipe[1], &eCmd, sizeof(eCmd)); in SendCommand_JPEGDec()
1095 if (eCmd == OMX_CommandMarkBuffer) { in SendCommand_JPEGDec()
DOMX_JpegDec_Utils.c406 OMX_COMMANDTYPE eCmd = OMX_CustomCommandStopThread; in Free_ComponentResourcesJpegDec() local
444 eCmd, 0, PERF_ModuleComponent); in Free_ComponentResourcesJpegDec()
449 nRet = write(pComponentPrivate->nCmdPipe[1], &eCmd, sizeof(eCmd)); in Free_ComponentResourcesJpegDec()
455 nRet = write(pComponentPrivate->nCmdDataPipe[1], &eCmd, sizeof(eCmd)); in Free_ComponentResourcesJpegDec()
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/src/
DOMX_VPP_CompThread.c104 OMX_COMMANDTYPE eCmd = -1; in VPP_ComponentThreadFunc() local
170 nRet = read(pComponentPrivate->cmdPipe[0], &eCmd, sizeof(eCmd)); in VPP_ComponentThreadFunc()
177 if (eCmd == EXIT_COMPONENT_THRD) in VPP_ComponentThreadFunc()
182 eCmd, 0, PERF_ModuleLLMM); in VPP_ComponentThreadFunc()
190 if (eCmd == OMX_CommandMarkBuffer) { in VPP_ComponentThreadFunc()
209 eCmd, in VPP_ComponentThreadFunc()
210 (eCmd == OMX_CommandMarkBuffer) ? ((OMX_U32) pCmdData) : nParam1, in VPP_ComponentThreadFunc()
214 switch (eCmd) in VPP_ComponentThreadFunc()
/hardware/ti/omap3/omx/video/src/openmax_il/video_encode/src/
DOMX_VideoEnc_Thread.c117 OMX_COMMANDTYPE eCmd = -1; in OMX_VIDENC_Thread() local
192 &eCmd, in OMX_VIDENC_Thread()
193 sizeof(eCmd)); in OMX_VIDENC_Thread()
204 eCmd, 0, PERF_ModuleLLMM); in OMX_VIDENC_Thread()
206 if (eCmd == (OMX_COMMANDTYPE)-1) in OMX_VIDENC_Thread()
212 if (eCmd == OMX_CommandMarkBuffer) in OMX_VIDENC_Thread()
241 eCmd, in OMX_VIDENC_Thread()
242 … (eCmd == OMX_CommandMarkBuffer) ? ((OMX_U32) pCmdData) : nParam1, in OMX_VIDENC_Thread()
246 switch (eCmd) in OMX_VIDENC_Thread()
/hardware/ti/omap3/omx/video/src/openmax_il/video_decode/src/
DOMX_VideoDec_Thread.c117 OMX_COMMANDTYPE eCmd; in OMX_VidDec_Thread() local
203 read(pComponentPrivate->cmdPipe[VIDDEC_PIPE_READ], &eCmd, sizeof(eCmd)); in OMX_VidDec_Thread()
208 eCmd, nParam1, PERF_ModuleLLMM); in OMX_VidDec_Thread()
210 if (eCmd == OMX_CommandStateSet) { in OMX_VidDec_Thread()
234 else if (eCmd == OMX_CommandPortDisable) { in OMX_VidDec_Thread()
245 else if (eCmd == OMX_CommandPortEnable) { in OMX_VidDec_Thread()
255 } else if (eCmd == OMX_CommandFlush) { in OMX_VidDec_Thread()
258 else if (eCmd == OMX_CommandMarkBuffer) { in OMX_VidDec_Thread()
/hardware/ti/omap4xxx/domx/omx_proxy_component/omx_video_dec/src/
Domx_proxy_videodec.c85 OMX_IN OMX_COMMANDTYPE eCmd,
452 OMX_IN OMX_COMMANDTYPE eCmd, in PROXY_VIDDEC_SendCommand() argument
466 hComponent, pCompPrv, eCmd, nParam, pCmdData); in PROXY_VIDDEC_SendCommand()
468 if(eCmd == OMX_CommandStateSet) in PROXY_VIDDEC_SendCommand()
479 else if(eCmd == OMX_CommandPortEnable) 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.c92 OMX_IN OMX_COMMANDTYPE eCmd,
483 OMX_IN OMX_COMMANDTYPE eCmd, in PROXY_VIDDEC_SendCommand() argument
497 hComponent, pCompPrv, eCmd, nParam, pCmdData); in PROXY_VIDDEC_SendCommand()
499 if(eCmd == OMX_CommandStateSet) in PROXY_VIDDEC_SendCommand()
510 else if(eCmd == OMX_CommandPortEnable) in PROXY_VIDDEC_SendCommand()
521 PROXY_SendCommand(hComponent, eCmd, nParam, pCmdData); in PROXY_VIDDEC_SendCommand()
/hardware/ti/omap4-aah/domx/omx_proxy_component/omx_camera/src/
Domx_proxy_camera.c207 OMX_IN OMX_COMMANDTYPE eCmd, in Camera_SendCommand() argument
223 if ((eCmd == OMX_CommandStateSet) && in Camera_SendCommand()
246 } else if (eCmd == OMX_CommandPortDisable) { in Camera_SendCommand()
263 PROXY_SendCommand(hComponent,eCmd,nParam,pCmdData); in Camera_SendCommand()
/hardware/ti/omap4-aah/domx/domx/omx_rpc/inc/
Domx_rpc_stub.h111 OMX_COMMANDTYPE eCmd, OMX_U32 nParam, OMX_PTR pCmdData,
/hardware/ti/omap4xxx/domx/domx/omx_rpc/inc/
Domx_rpc_stub.h111 OMX_COMMANDTYPE eCmd, OMX_U32 nParam, OMX_PTR pCmdData,
/hardware/ti/omap4xxx/domx/domx/
Domx_proxy_common.h244 OMX_IN OMX_COMMANDTYPE eCmd,
/hardware/ti/omap4-aah/domx/domx/
Domx_proxy_common.h316 OMX_IN OMX_COMMANDTYPE eCmd,
/hardware/ti/omap4-aah/domx/domx/omx_proxy_common/src/
Domx_proxy_common.c1766 OMX_IN OMX_COMMANDTYPE eCmd, in PROXY_SendCommand() argument
1785 hComponent, pCompPrv, eCmd, nParam, pCmdData); in PROXY_SendCommand()
1787 if (eCmd == OMX_CommandMarkBuffer) in PROXY_SendCommand()
1830 RPC_SendCommand(pCompPrv->hRemoteComp, eCmd, nParam, pCmdData, in PROXY_SendCommand()
1833 if (eCmd == OMX_CommandMarkBuffer && bIsProxy) in PROXY_SendCommand()
/hardware/ti/omap4xxx/domx/domx/omx_proxy_common/src/
Domx_proxy_common.c1621 OMX_IN OMX_COMMANDTYPE eCmd, in PROXY_SendCommand() argument
1640 hComponent, pCompPrv, eCmd, nParam, pCmdData); in PROXY_SendCommand()
1642 if (eCmd == OMX_CommandMarkBuffer) in PROXY_SendCommand()
1685 RPC_SendCommand(pCompPrv->hRemoteComp, eCmd, nParam, pCmdData, in PROXY_SendCommand()
1688 if (eCmd == OMX_CommandMarkBuffer && bIsProxy) in PROXY_SendCommand()
/hardware/ti/omap4xxx/domx/domx/omx_rpc/src/
Domx_rpc_stub.c595 OMX_COMMANDTYPE eCmd, OMX_U32 nParam, OMX_PTR pCmdData, in RPC_SendCommand() argument
622 RPC_SETFIELDVALUE(pData, nPos, eCmd, OMX_COMMANDTYPE); in RPC_SendCommand()
625 if (pCmdData != NULL && eCmd == OMX_CommandMarkBuffer) in RPC_SendCommand()
/hardware/ti/omap4-aah/domx/domx/omx_rpc/src/
Domx_rpc_stub.c608 OMX_COMMANDTYPE eCmd, OMX_U32 nParam, OMX_PTR pCmdData, in RPC_SendCommand() argument
635 RPC_SETFIELDVALUE(pData, nPos, eCmd, OMX_COMMANDTYPE); in RPC_SendCommand()
638 if (pCmdData != NULL && eCmd == OMX_CommandMarkBuffer) in RPC_SendCommand()