/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/src/ |
D | OMX_JpegEnc_Thread.c | 101 OMX_U32 nParam1; in OMX_JpegEnc_Thread() local 184 read (pComponentPrivate->nCmdDataPipe[0], &nParam1, sizeof (nParam1)); 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() 195 if ( (int)nParam1 != -1 ){ in OMX_JpegEnc_Thread() 196 if(nParam1 == OMX_StateInvalid){ in OMX_JpegEnc_Thread() 199 eError = HandleJpegEncCommand (pComponentPrivate, nParam1); in OMX_JpegEnc_Thread() 213 … OMX_PRBUFFER2(pComponentPrivate->dbg, "Before Disable Port function Port %d\n",(int)nParam1); in OMX_JpegEnc_Thread() 214 eError = JpegEncDisablePort(pComponentPrivate, nParam1); in OMX_JpegEnc_Thread() 221 eError = JpegEncEnablePort(pComponentPrivate, nParam1); in OMX_JpegEnc_Thread() [all …]
|
D | OMX_JpegEnc_Utils.c | 98 …RRORTYPE HandleJpegEncInternalFlush(JPEGENC_COMPONENT_PRIVATE *pComponentPrivate, OMX_U32 nParam1); 221 OMX_ERRORTYPE JpegEncDisablePort (JPEGENC_COMPONENT_PRIVATE* pComponentPrivate, OMX_U32 nParam1) in JpegEncDisablePort() argument 229 nParam1, in JpegEncDisablePort() 236 if ((nParam1 == JPEGENC_INP_PORT) || (nParam1 == JPEGENC_OUT_PORT) || ((int)nParam1 == -1)) { in JpegEncDisablePort() 237 eError = HandleJpegEncInternalFlush(pComponentPrivate, nParam1); in JpegEncDisablePort() 261 OMX_ERRORTYPE JpegEncEnablePort (JPEGENC_COMPONENT_PRIVATE* pComponentPrivate, OMX_U32 nParam1) in JpegEncEnablePort() argument 269 if (nParam1 == 0) { in JpegEncEnablePort() 284 } else if (nParam1 == 1) { in JpegEncEnablePort() 299 } else if ((int)nParam1 == -1) { in JpegEncEnablePort() 770 …ERRORTYPE HandleJpegEncInternalFlush(JPEGENC_COMPONENT_PRIVATE *pComponentPrivate, OMX_U32 nParam1) in HandleJpegEncInternalFlush() argument [all …]
|
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/src/ |
D | OMX_JpegDec_Thread.c | 78 OMX_U32 nParam1; in OMX_JpegDec_Thread() local 142 read (pComponentPrivate->nCmdDataPipe[0], &nParam1, sizeof (nParam1)); in OMX_JpegDec_Thread() 143 OMX_PRCOMM1(pComponentPrivate->dbg, "read nParam1 %lu\n", nParam1); in OMX_JpegDec_Thread() 147 eCmd, nParam1, PERF_ModuleLLMM); in OMX_JpegDec_Thread() 152 if ((int)nParam1 != -1) { in OMX_JpegDec_Thread() 153 OMX_PRINT2(pComponentPrivate->dbg, "calling handlecommand from JPEGDEC (%lu)\n", nParam1); in OMX_JpegDec_Thread() 154 if(nParam1 == OMX_StateInvalid){ in OMX_JpegDec_Thread() 157 error = HandleCommandJpegDec (pComponentPrivate, nParam1); in OMX_JpegDec_Thread() 173 error = DisablePortJpegDec(pComponentPrivate, nParam1); in OMX_JpegDec_Thread() 185 error = EnablePortJpegDec(pComponentPrivate, nParam1); in OMX_JpegDec_Thread() [all …]
|
D | OMX_JpegDec_Utils.c | 210 OMX_U32 nParam1) in DisablePortJpegDec() argument 217 OMX_PRINT1(pComponentPrivate->dbg, "In DisablePortJpegDec %lu\n", nParam1); in DisablePortJpegDec() 220 if ((nParam1 == 0) || (nParam1 == 1) || ((int)nParam1 == -1)) { in DisablePortJpegDec() 221 eError = HandleInternalFlush(pComponentPrivate, nParam1); in DisablePortJpegDec() 242 OMX_U32 nParam1) in EnablePortJpegDec() argument 250 if ((nParam1 == 0x0) && in EnablePortJpegDec() 262 else if ((nParam1 == 0x1) && in EnablePortJpegDec() 274 else if (((int)nParam1 == -1) && in EnablePortJpegDec() 782 OMX_ERRORTYPE HandleInternalFlush(JPEGDEC_COMPONENT_PRIVATE *pComponentPrivate, OMX_U32 nParam1) in HandleInternalFlush() argument 795 if ( nParam1 == 0x0 || (int)nParam1 == -1 ) { in HandleInternalFlush() [all …]
|
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/src/ |
D | OMX_VPP_CompThread.c | 105 OMX_U32 nParam1; in VPP_ComponentThreadFunc() local 199 nRet = read(pComponentPrivate->nCmdDataPipe[0], &nParam1, sizeof(nParam1)); in VPP_ComponentThreadFunc() 210 (eCmd == OMX_CommandMarkBuffer) ? ((OMX_U32) pCmdData) : nParam1, in VPP_ComponentThreadFunc() 217 VPP_DisablePort(pComponentPrivate, nParam1); in VPP_ComponentThreadFunc() 221 eError = VPP_HandleCommand(pComponentPrivate, nParam1); in VPP_ComponentThreadFunc() 234 VPP_DPRINT("return from StateSet %d\n", nParam1); in VPP_ComponentThreadFunc() 238 VPP_EnablePort(pComponentPrivate, nParam1); in VPP_ComponentThreadFunc() 246 VPP_HandleCommandFlush(pComponentPrivate, nParam1, OMX_TRUE); in VPP_ComponentThreadFunc()
|
D | OMX_VPP_Utils.c | 699 OMX_ERRORTYPE VPP_DisablePort (VPP_COMPONENT_PRIVATE* pComponentPrivate, OMX_U32 nParam1) in VPP_DisablePort() argument 712 if (((nParam1 >= 0) && (nParam1 < 4)) || (nParam1 == -1)) { in VPP_DisablePort() 713 eError = VPP_HandleCommandFlush(pComponentPrivate, nParam1, OMX_FALSE); in VPP_DisablePort() 737 OMX_ERRORTYPE VPP_EnablePort (VPP_COMPONENT_PRIVATE* pComponentPrivate, OMX_U32 nParam1) in VPP_EnablePort() argument 744 VPP_DPRINT("VPP: Enable port index=%ld",nParam1); in VPP_EnablePort() 752 if (nParam1 >= 0 && nParam1 < NUM_OF_VPP_PORTS ){ in VPP_EnablePort() 754 pComponentPrivate->sCompPorts[nParam1].pPortDef.bEnabled = OMX_TRUE; in VPP_EnablePort() 757 if ( nParam1 == -1) { in VPP_EnablePort() 767 if ((nParam1 >= 0 && nParam1 < NUM_OF_VPP_PORTS) && in VPP_EnablePort() 769 pComponentPrivate->sCompPorts[nParam1].pPortDef.bPopulated)) { in VPP_EnablePort() [all …]
|
/hardware/ti/omap3/omx/video/src/openmax_il/video_decode/src/ |
D | OMX_VideoDec_Thread.c | 82 extern OMX_ERRORTYPE VIDDEC_HandleCommand (OMX_HANDLETYPE pHandle, OMX_U32 nParam1); 83 …ern OMX_ERRORTYPE VIDDEC_DisablePort(VIDDEC_COMPONENT_PRIVATE *pComponentPrivate, OMX_U32 nParam1); 84 extern OMX_ERRORTYPE VIDDEC_EnablePort(VIDDEC_COMPONENT_PRIVATE *pComponentPrivate, OMX_U32 nParam1… 91 …leCommandMarkBuffer(VIDDEC_COMPONENT_PRIVATE *pComponentPrivate, OMX_U32 nParam1, OMX_PTR pCmdData… 92 …C_HandleCommandFlush(VIDDEC_COMPONENT_PRIVATE *pComponentPrivate, OMX_U32 nParam1, OMX_BOOL bPass); 118 OMX_U32 nParam1; in OMX_VidDec_Thread() local 204 read(pComponentPrivate->cmdDataPipe[VIDDEC_PIPE_READ], &nParam1, sizeof(nParam1)); in OMX_VidDec_Thread() 208 eCmd, nParam1, PERF_ModuleLLMM); in OMX_VidDec_Thread() 211 if ((OMX_S32)nParam1 < -2) { in OMX_VidDec_Thread() 214 if ((OMX_S32)nParam1 != -1 && (OMX_S32)nParam1 != -2) { in OMX_VidDec_Thread() [all …]
|
D | OMX_VideoDecoder.c | 190 OMX_U32 nParam1, 613 OMX_U32 nParam1, in VIDDEC_SendCommand() argument 632 Cmd, (Cmd == OMX_CommandMarkBuffer) ? (OMX_U32) pCmdData : nParam1, in VIDDEC_SendCommand() 638 … ALOGD("VIDDEC_SendCommand: Received request from omx client to change state to %d", nParam1); in VIDDEC_SendCommand() 643 pComponentPrivate->eIdleToLoad = nParam1; in VIDDEC_SendCommand() 644 pComponentPrivate->eExecuteToIdle = nParam1; in VIDDEC_SendCommand() 652 … nRet = write(pComponentPrivate->cmdDataPipe[VIDDEC_PIPE_WRITE], &nParam1, sizeof(nParam1)); in VIDDEC_SendCommand() 661 if (nParam1 == VIDDEC_INPUT_PORT) { in VIDDEC_SendCommand() 666 else if (nParam1 == VIDDEC_OUTPUT_PORT) { in VIDDEC_SendCommand() 671 else if (nParam1 == OMX_ALL) { in VIDDEC_SendCommand() [all …]
|
D | OMX_VideoDec_Utils.c | 1698 OMX_ERRORTYPE VIDDEC_DisablePort (VIDDEC_COMPONENT_PRIVATE* pComponentPrivate, OMX_U32 nParam1) in VIDDEC_DisablePort() argument 1703 …RINT1(pComponentPrivate->dbg, "pComponentPrivate 0x%p nParam1 0x%lx\n",pComponentPrivate, nParam1); in VIDDEC_DisablePort() 1721 if (nParam1 == VIDDEC_INPUT_PORT && !pComponentPrivate->pInPortDef->bPopulated) { in VIDDEC_DisablePort() 1732 else if (nParam1 == VIDDEC_OUTPUT_PORT && !pComponentPrivate->pOutPortDef->bPopulated) { in VIDDEC_DisablePort() 1743 else if (nParam1 == VIDDEC_BOTH_PORT && !pComponentPrivate->pInPortDef->bPopulated && in VIDDEC_DisablePort() 1762 else if (nParam1 == VIDDEC_BOTH_PORT && !pComponentPrivate->pInPortDef->bPopulated && in VIDDEC_DisablePort() 1777 if (nParam1 == VIDDEC_INPUT_PORT) { in VIDDEC_DisablePort() 1792 else if (nParam1 == VIDDEC_OUTPUT_PORT) { in VIDDEC_DisablePort() 1808 else if (nParam1 == OMX_ALL) { in VIDDEC_DisablePort() 1934 OMX_ERRORTYPE VIDDEC_ReturnBuffers (VIDDEC_COMPONENT_PRIVATE* pComponentPrivate, OMX_U32 nParam1, O… in VIDDEC_ReturnBuffers() argument [all …]
|
/hardware/ti/omap3/omx/video/src/openmax_il/video_encode/src/ |
D | OMX_VideoEnc_Thread.c | 118 OMX_U32 nParam1; in OMX_VIDENC_Thread() local 228 &nParam1, in OMX_VIDENC_Thread() 229 sizeof(nParam1)); in OMX_VIDENC_Thread() 242 … (eCmd == OMX_CommandMarkBuffer) ? ((OMX_U32) pCmdData) : nParam1, in OMX_VIDENC_Thread() 251 nParam1); in OMX_VIDENC_Thread() 258 nParam1, in OMX_VIDENC_Thread() 266 nParam1); in OMX_VIDENC_Thread() 273 nParam1); in OMX_VIDENC_Thread()
|
D | OMX_VideoEncoder.c | 212 OMX_IN OMX_U32 nParam1, 1168 OMX_IN OMX_U32 nParam1, in SendCommand() argument 1200 (Cmd == OMX_CommandMarkBuffer) ? ((OMX_U32) pCmdData) : nParam1, in SendCommand() 1213 if(nParam1 == OMX_StateLoaded && in SendCommand() 1228 &nParam1, in SendCommand() 1229 sizeof(nParam1)); in SendCommand() 1238 if (nParam1 > 1 && nParam1 != (OMX_U32)-1) in SendCommand() 1242 "Invalid flush nParam1 (%lu).\n", nParam1); in SendCommand() 1252 &nParam1, in SendCommand() 1253 sizeof(nParam1)); in SendCommand() [all …]
|
D | OMX_VideoEnc_Utils.c | 565 OMX_U32 nParam1) in OMX_VIDENC_HandleCommandDisablePort() argument 588 if (nParam1 == VIDENC_INPUT_PORT || nParam1 == (OMX_U32)-1) in OMX_VIDENC_HandleCommandDisablePort() 653 if (nParam1 == VIDENC_OUTPUT_PORT || nParam1 == (OMX_U32)-1) in OMX_VIDENC_HandleCommandDisablePort() 732 if (nParam1 == VIDENC_INPUT_PORT) in OMX_VIDENC_HandleCommandDisablePort() 754 else if (nParam1 == VIDENC_OUTPUT_PORT) in OMX_VIDENC_HandleCommandDisablePort() 776 else if (nParam1 == (OMX_U32)-1) in OMX_VIDENC_HandleCommandDisablePort() 823 OMX_U32 nParam1) in OMX_VIDENC_HandleCommandEnablePort() argument 842 if(nParam1 == VIDENC_INPUT_PORT) in OMX_VIDENC_HandleCommandEnablePort() 866 else if(nParam1 == VIDENC_OUTPUT_PORT) in OMX_VIDENC_HandleCommandEnablePort() 890 else if(nParam1 == (OMX_U32)-1) in OMX_VIDENC_HandleCommandEnablePort() [all …]
|
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/inc/ |
D | OMX_JpegDec_Utils.h | 553 OMX_U32 HandleCommandJpegDec(JPEGDEC_COMPONENT_PRIVATE *pComponentPrivate, OMX_U32 nParam1); 554 OMX_U32 HandleCommandFlush(JPEGDEC_COMPONENT_PRIVATE *pComponentPrivate, OMX_U32 nParam1); 555 OMX_ERRORTYPE DisablePortJpegDec(JPEGDEC_COMPONENT_PRIVATE *pComponentPrivate, OMX_U32 nParam1); 556 OMX_ERRORTYPE EnablePortJpegDec(JPEGDEC_COMPONENT_PRIVATE *pComponentPrivate, OMX_U32 nParam1); 567 OMX_ERRORTYPE HandleInternalFlush(JPEGDEC_COMPONENT_PRIVATE *pComponentPrivate, OMX_U32 nParam1);
|
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/inc/ |
D | OMX_VPP_Utils.h | 476 OMX_ERRORTYPE VPP_HandleCommand (VPP_COMPONENT_PRIVATE *pComponentPrivate, OMX_U32 nParam1); 510 OMX_ERRORTYPE VPP_DisablePort (VPP_COMPONENT_PRIVATE* pComponentPrivate, OMX_U32 nParam1); 512 OMX_ERRORTYPE VPP_EnablePort (VPP_COMPONENT_PRIVATE* pComponentPrivate, OMX_U32 nParam1); 514 OMX_ERRORTYPE VPP_HandleCommandFlush (VPP_COMPONENT_PRIVATE* pComponentPrivate, OMX_U32 nParam1, OM…
|
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/inc/ |
D | OMX_JpegEnc_Utils.h | 482 OMX_ERRORTYPE HandleJpegEncCommand (JPEGENC_COMPONENT_PRIVATE *pComponentPrivate, OMX_U32 nParam1); 483 OMX_ERRORTYPE JpegEncDisablePort(JPEGENC_COMPONENT_PRIVATE *pComponentPrivate, OMX_U32 nParam1); 484 OMX_ERRORTYPE JpegEncEnablePort(JPEGENC_COMPONENT_PRIVATE *pComponentPrivate, OMX_U32 nParam1); 485 …ERRORTYPE HandleJpegEncCommandFlush(JPEGENC_COMPONENT_PRIVATE *pComponentPrivate, OMX_U32 nParam1);
|
/hardware/ti/omap3/omx/video/src/openmax_il/video_encode/inc/ |
D | OMX_VideoEnc_Utils.h | 720 …YPE OMX_VIDENC_HandleCommandStateSet(VIDENC_COMPONENT_PRIVATE* pComponentPrivate, OMX_U32 nParam1); 722 …PE OMX_VIDENC_HandleCommandStateSet (VIDENC_COMPONENT_PRIVATE* pComponentPrivate, OMX_U32 nParam1); 732 …_HandleCommandFlush(VIDENC_COMPONENT_PRIVATE* pComponentPrivate, OMX_U32 nParam1, OMX_BOOL bIntern… 734 … OMX_VIDENC_HandleCommandDisablePort(VIDENC_COMPONENT_PRIVATE* pComponentPrivate, OMX_U32 nParam1); 736 …E OMX_VIDENC_HandleCommandEnablePort(VIDENC_COMPONENT_PRIVATE* pComponentPrivate, OMX_U32 nParam1);
|
/hardware/ti/omap3/omx/video/src/openmax_il/video_decode/inc/ |
D | OMX_VideoDec_Utils.h | 1383 OMX_ERRORTYPE VIDDEC_HandleCommand (OMX_HANDLETYPE pHandle, OMX_U32 nParam1); 1384 OMX_ERRORTYPE VIDDEC_DisablePort (VIDDEC_COMPONENT_PRIVATE* pComponentPrivate, OMX_U32 nParam1); 1385 OMX_ERRORTYPE VIDDEC_EnablePort (VIDDEC_COMPONENT_PRIVATE* pComponentPrivate, OMX_U32 nParam1); 1398 OMX_ERRORTYPE VIDDEC_ReturnBuffers (VIDDEC_COMPONENT_PRIVATE* pComponentPrivate, OMX_U32 nParam1, O… 1399 …leCommandMarkBuffer(VIDDEC_COMPONENT_PRIVATE *pComponentPrivate, OMX_U32 nParam1, OMX_PTR pCmdData… 1400 …C_HandleCommandFlush(VIDDEC_COMPONENT_PRIVATE *pComponentPrivate, OMX_U32 nParam1, OMX_BOOL bPass);
|
/hardware/intel/common/wrs_omxil_core/base/inc/ |
D | componentbase.h | 122 OMX_IN OMX_U32 nParam1, 127 OMX_IN OMX_U32 nParam1,
|
/hardware/intel/common/wrs_omxil_core/base/src/ |
D | componentbase.cpp | 360 OMX_IN OMX_U32 nParam1, in SendCommand() argument 373 return cbase->CBaseSendCommand(hComponent, Cmd, nParam1, pCmdData); in SendCommand() 379 OMX_IN OMX_U32 nParam1, in CBaseSendCommand() argument 395 OMX_U32 port_index = nParam1; in CBaseSendCommand() 403 OMX_U32 port_index = nParam1; in CBaseSendCommand() 412 OMX_U32 port_index = nParam1; in CBaseSendCommand() 439 cmd->param1 = nParam1; in CBaseSendCommand()
|
/hardware/qcom/media/mm-core/omxcore/inc/ |
D | OMX_Component.h | 350 OMX_IN OMX_U32 nParam1,
|
/hardware/qcom/media/mm-core/inc/ |
D | OMX_Component.h | 350 OMX_IN OMX_U32 nParam1,
|
/hardware/ti/omap3/omx/system/src/openmax_il/omx_core/inc/ |
D | OMX_Component.h | 350 OMX_IN OMX_U32 nParam1,
|
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/include/khronos/ |
D | OMX_Component.h | 350 OMX_IN OMX_U32 nParam1,
|
/hardware/ti/omap4xxx/domx/omx_core/inc/ |
D | OMX_Component.h | 350 OMX_IN OMX_U32 nParam1,
|
/hardware/ti/omap4-aah/domx/omx_core/inc/ |
D | OMX_Component.h | 367 OMX_IN OMX_U32 nParam1,
|