/hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/tests/ |
D | G711EncTest.c | 133 OMX_ERRORTYPE eError = OMX_ErrorNone; variable 177 eError = OMX_ErrorInsufficientResources; \ 240 OMX_ERRORTYPE eError = OMX_ErrorNone; in WaitForState() local 242 eError = OMX_GetState(pHandle, &CurState); in WaitForState() 243 if(eError != OMX_ErrorNone) { in WaitForState() 245 return eError; in WaitForState() 257 return eError; in WaitForState() 404 OMX_ERRORTYPE eError = OMX_ErrorNone; in main() local 541 eError = TIOMX_Init(); in main() 542 if(eError != OMX_ErrorNone) { in main() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_enc/tests/ |
D | G729EncTest.c | 138 OMX_ERRORTYPE eError = OMX_ErrorNone; variable 179 eError = OMX_ErrorInsufficientResources; \ 254 OMX_ERRORTYPE eError = OMX_ErrorNone; in WaitForState() local 258 eError = pComponent->GetState(pHandle, &CurState); in WaitForState() 259 if(eError != OMX_ErrorNone) { in WaitForState() 263 while( (eError == OMX_ErrorNone) && (CurState != DesiredState) ) { in WaitForState() 268 eError = pComponent->GetState(pHandle, &CurState); in WaitForState() 269 if(eError != OMX_ErrorNone) { in WaitForState() 275 return eError; in WaitForState() 287 OMX_ERRORTYPE eError = OMX_ErrorNone; in EventHandler() local [all …]
|
/hardware/ti/omap3/omx/video/src/openmax_il/video_encode/test/ |
D | VideoEncTest.c | 92 eError = OMX_ErrorInsufficientResources; \ 99 eError = OMX_ErrorUndefined; \ 102 eError = VIDENCTEST_ListAdd(_h_, _p_); \ 103 if (eError == OMX_ErrorInsufficientResources) { \ 409 OMX_ERRORTYPE eError = OMX_ErrorNone; in VIDENCTEST_ListCreate() local 414 eError = OMX_ErrorInsufficientResources; in VIDENCTEST_ListCreate() 422 return eError; in VIDENCTEST_ListCreate() 441 OMX_ERRORTYPE eError = OMX_ErrorNone; in VIDENCTEST_ListAdd() local 448 eError = OMX_ErrorInsufficientResources; in VIDENCTEST_ListAdd() 465 return eError; in VIDENCTEST_ListAdd() [all …]
|
/hardware/ti/omap4xxx/domx/omx_proxy_component/omx_video_dec/src/ |
D | omx_proxy_videodec.c | 122 OMX_ERRORTYPE eError = OMX_ErrorNone; in OMX_ComponentInit() local 154 eError = OMX_ProxyViddecInit(hComponent); in OMX_ComponentInit() 157 return eError; in OMX_ComponentInit() 162 OMX_ERRORTYPE eError = OMX_ErrorNone; in OMX_ProxyViddecInit() local 186 eError = OMX_ProxyCommonInit(hComponent); // Calling Proxy Common Init() in OMX_ProxyViddecInit() 187 PROXY_assert(eError == OMX_ErrorNone, eError, "Proxy common init returned error"); in OMX_ProxyViddecInit() 213 eError = OMX_ErrorInsufficientResources; in OMX_ProxyViddecInit() 214 return eError; in OMX_ProxyViddecInit() 229 eError = PROXY_SetParameter(hComponent,(OMX_INDEXTYPE)OMX_TI_IndexParamUseEnhancedPortReconfig, in OMX_ProxyViddecInit() 231 PROXY_assert(eError == OMX_ErrorNone, in OMX_ProxyViddecInit() [all …]
|
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/ |
D | OMXAlgo.cpp | 294 OMX_ERRORTYPE eError = OMX_ErrorNone; in getAutoConvergence() local 303 eError = OMX_GetConfig(mCameraAdapterParameters.mHandleComp, in getAutoConvergence() 306 if ( eError != OMX_ErrorNone ) in getAutoConvergence() 308 CAMHAL_LOGEB("Error while getting AutoConvergence 0x%x", eError); in getAutoConvergence() 328 OMX_ERRORTYPE eError = OMX_ErrorNone; in setAutoConvergence() local 338 eError = OMX_SetConfig(mCameraAdapterParameters.mHandleComp, in setAutoConvergence() 341 if ( eError != OMX_ErrorNone ) in setAutoConvergence() 343 CAMHAL_LOGEB("Error while setting AutoConvergence 0x%x", eError); in setAutoConvergence() 359 OMX_ERRORTYPE eError = OMX_ErrorNone; in enableVideoNoiseFilter() local 380 eError = OMX_SetParameter(mCameraAdapterParameters.mHandleComp, in enableVideoNoiseFilter() [all …]
|
D | OMX3A.cpp | 427 OMX_ERRORTYPE eError = OMX_ErrorNone; in setExposureMode() local 442 eError = OMX_SetConfig(mCameraAdapterParameters.mHandleComp, in setExposureMode() 445 if ( OMX_ErrorNone != eError ) in setExposureMode() 447 CAMHAL_LOGEB("Error while configuring exposure mode 0x%x", eError); in setExposureMode() 456 return ErrorUtils::omxToAndroidError(eError); in setExposureMode() 484 OMX_ERRORTYPE eError = OMX_ErrorNone; in setFlashMode() local 506 eError = OMX_SetConfig(mCameraAdapterParameters.mHandleComp, in setFlashMode() 509 if ( OMX_ErrorNone != eError ) in setFlashMode() 511 CAMHAL_LOGEB("Error while configuring flash mode 0x%x", eError); in setFlashMode() 518 if ( OMX_ErrorNone == eError ) in setFlashMode() [all …]
|
D | OMXCameraAdapter.cpp | 64 OMX_ERRORTYPE eError = OMX_ErrorNone; in initialize() local 91 eError = OMX_Init(); in initialize() 92 if (eError != OMX_ErrorNone) { in initialize() 93 CAMHAL_LOGEB("OMX_Init() failed, error: 0x%x", eError); in initialize() 94 return ErrorUtils::omxToAndroidError(eError); in initialize() 99 …eError = OMXCameraAdapter::OMXCameraGetHandle(&mCameraAdapterParameters.mHandleComp, (OMX_PTR)this… in initialize() 100 if(eError != OMX_ErrorNone) { in initialize() 101 CAMHAL_LOGEB("OMX_GetHandle -0x%x", eError); in initialize() 103 GOTO_EXIT_IF((eError != OMX_ErrorNone), eError); in initialize() 107 CAMHAL_LOGVB("OMX_GetHandle -0x%x sensor_index = %lu", eError, mSensorIndex); in initialize() [all …]
|
/hardware/ti/omap4-aah/domx/omx_proxy_component/omx_video_dec/src/ |
D | omx_proxy_videodec.c | 137 OMX_ERRORTYPE eError = OMX_ErrorNone; in OMX_ComponentInit() local 169 eError = OMX_ProxyViddecInit(hComponent); in OMX_ComponentInit() 172 if (eError == OMX_ErrorNone) in OMX_ComponentInit() 183 if (eError != OMX_ErrorNone) in OMX_ComponentInit() 197 return eError; in OMX_ComponentInit() 202 OMX_ERRORTYPE eError = OMX_ErrorNone; in OMX_ProxyViddecInit() local 226 eError = OMX_ProxyCommonInit(hComponent); // Calling Proxy Common Init() in OMX_ProxyViddecInit() 227 PROXY_assert(eError == OMX_ErrorNone, eError, "Proxy common init returned error"); in OMX_ProxyViddecInit() 253 eError = OMX_ErrorInsufficientResources; in OMX_ProxyViddecInit() 254 return eError; in OMX_ProxyViddecInit() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/tests/ |
D | G726EncTest.c | 141 OMX_ERRORTYPE eError = OMX_ErrorNone; variable 237 eError = OMX_ErrorInsufficientResources; \ 311 OMX_ERRORTYPE eError = OMX_ErrorNone; in WaitForState() local 313 eError = OMX_GetState(pComponent, &CurState); in WaitForState() 316 eError = OMX_ErrorInvalidState; in WaitForState() 325 return eError; in WaitForState() 337 OMX_ERRORTYPE eError = OMX_ErrorNone; in EventHandler() local 342 eError = OMX_GetState(pComponent, &state); in EventHandler() 343 if(eError != OMX_ErrorNone) { in EventHandler() 419 return eError; in EventHandler() [all …]
|
/hardware/ti/omap4-aah/domx/test/sample_proxy/ |
D | test_sample_proxy.c | 143 if(OMX_ErrorNone != (eError = _eError)){ \ 149 eError = _eCode; \ 245 OMX_STRING OMX_TEST_ErrorToString(OMX_ERRORTYPE eError) in OMX_TEST_ErrorToString() argument 250 switch (eError) in OMX_TEST_ErrorToString() 579 OMX_ERRORTYPE eError = OMX_ErrorNone; in SampleTest_WriteInBuffers() local 625 eError = OMX_EmptyThisBuffer(pContext->hComp, pBufHeader); in SampleTest_WriteInBuffers() 627 OMX_TEST_BAIL_IF_ERROR(eError); in SampleTest_WriteInBuffers() 631 return eError; in SampleTest_WriteInBuffers() 642 OMX_ERRORTYPE eError = OMX_ErrorNone; in SampleTest_ReadOutBuffers() local 653 eError = OMX_FillThisBuffer(pContext->hComp, pBufHeader); in SampleTest_ReadOutBuffers() [all …]
|
/hardware/ti/omap4xxx/domx/test/sample_proxy/ |
D | test_sample_proxy.c | 143 if(OMX_ErrorNone != (eError = _eError)){ \ 149 eError = _eCode; \ 245 OMX_STRING OMX_TEST_ErrorToString(OMX_ERRORTYPE eError) in OMX_TEST_ErrorToString() argument 250 switch (eError) in OMX_TEST_ErrorToString() 579 OMX_ERRORTYPE eError = OMX_ErrorNone; in SampleTest_WriteInBuffers() local 625 eError = OMX_EmptyThisBuffer(pContext->hComp, pBufHeader); in SampleTest_WriteInBuffers() 627 OMX_TEST_BAIL_IF_ERROR(eError); in SampleTest_WriteInBuffers() 631 return eError; in SampleTest_WriteInBuffers() 642 OMX_ERRORTYPE eError = OMX_ErrorNone; in SampleTest_ReadOutBuffers() local 653 eError = OMX_FillThisBuffer(pContext->hComp, pBufHeader); in SampleTest_ReadOutBuffers() [all …]
|
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/ |
D | OMX3A.cpp | 555 OMX_ERRORTYPE eError = OMX_ErrorNone; in setExposureMode() local 570 eError = OMX_SetConfig(mCameraAdapterParameters.mHandleComp, in setExposureMode() 573 if ( OMX_ErrorNone != eError ) in setExposureMode() 575 CAMHAL_LOGEB("Error while configuring exposure mode 0x%x", eError); in setExposureMode() 584 return Utils::ErrorUtils::omxToAndroidError(eError); in setExposureMode() 610 OMX_ERRORTYPE eError = OMX_ErrorNone; in setManualExposureVal() local 626 eError = OMX_GetConfig(mCameraAdapterParameters.mHandleComp, in setManualExposureVal() 629 if ( OMX_ErrorNone == eError ) { in setManualExposureVal() 630 eError = OMX_GetConfig(mCameraAdapterParameters.mHandleComp, in setManualExposureVal() 634 if ( OMX_ErrorNone != eError ) { in setManualExposureVal() [all …]
|
D | OMXAlgo.cpp | 267 OMX_ERRORTYPE eError = OMX_ErrorNone; in setAutoConvergence() local 370 eError = OMX_SetConfig(mCameraAdapterParameters.mHandleComp, in setAutoConvergence() 374 if ( eError != OMX_ErrorNone ) { in setAutoConvergence() 375 CAMHAL_LOGEB("Error while setting AutoConvergence 0x%x", eError); in setAutoConvergence() 389 OMX_ERRORTYPE eError = OMX_ErrorNone; in enableVideoNoiseFilter() local 410 eError = OMX_SetParameter(mCameraAdapterParameters.mHandleComp, in enableVideoNoiseFilter() 413 if ( OMX_ErrorNone != eError ) in enableVideoNoiseFilter() 415 CAMHAL_LOGEB("Error while configuring video noise filter 0x%x", eError); in enableVideoNoiseFilter() 432 OMX_ERRORTYPE eError = OMX_ErrorNone; in enableVideoStabilization() local 451 eError = OMX_SetParameter(mCameraAdapterParameters.mHandleComp, in enableVideoStabilization() [all …]
|
D | OMXReprocess.cpp | 100 OMX_ERRORTYPE eError = OMX_ErrorNone; in startReprocess() local 121 eError = OMX_EmptyThisBuffer(mCameraAdapterParameters.mHandleComp, in startReprocess() 123 GOTO_EXIT_IF((eError!=OMX_ErrorNone), eError); in startReprocess() 131 return (ret | Utils::ErrorUtils::omxToAndroidError(eError)); in startReprocess() 134 CAMHAL_LOGEB("Exiting function %s because of ret %d eError=%x", __FUNCTION__, ret, eError); in startReprocess() 137 return (ret | Utils::ErrorUtils::omxToAndroidError(eError)); in startReprocess() 145 OMX_ERRORTYPE eError = OMX_ErrorNone; in stopReprocess() local 160 eError = OMX_SendCommand(mCameraAdapterParameters.mHandleComp, in stopReprocess() 169 eError = OMX_FreeBuffer(mCameraAdapterParameters.mHandleComp, in stopReprocess() 172 GOTO_EXIT_IF((eError!=OMX_ErrorNone), eError); in stopReprocess() [all …]
|
D | OMXCapture.cpp | 361 OMX_ERRORTYPE eError = OMX_ErrorNone; in getPictureBufferSize() local 540 OMX_ERRORTYPE eError = OMX_ErrorNone; in setVectorStop() local 555 eError = OMX_SetConfig(mCameraAdapterParameters.mHandleComp, in setVectorStop() 558 if (OMX_ErrorNone != eError) { in setVectorStop() 559 CAMHAL_LOGEB("Error while configuring bracket shot 0x%x", eError); in setVectorStop() 566 return (ret | Utils::ErrorUtils::omxToAndroidError(eError)); in setVectorStop() 572 OMX_ERRORTYPE eError = OMX_ErrorNone; in initVectorShot() local 584 eError = OMX_SetConfig(mCameraAdapterParameters.mHandleComp, in initVectorShot() 587 if (OMX_ErrorNone != eError) { in initVectorShot() 588 CAMHAL_LOGEB("Error while configuring capture mode 0x%x", eError); in initVectorShot() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/tests/ |
D | WbAmrEncTest.c | 165 OMX_ERRORTYPE eError = OMX_ErrorNone; variable 259 eError = OMX_ErrorInsufficientResources; \ 350 OMX_ERRORTYPE eError = OMX_ErrorNone; in WaitForState() local 353 eError = pComponent->GetState(pHandle, &CurState); in WaitForState() 356 eError = OMX_ErrorInvalidState; in WaitForState() 367 return eError; in WaitForState() 379 OMX_ERRORTYPE eError = OMX_ErrorNone; in EventHandler() local 385 eError = pComponent->GetState (hComponent, &state); in EventHandler() 387 if (eError != OMX_ErrorNone) { in EventHandler() 463 return eError; in EventHandler() [all …]
|
/hardware/ti/omap3/omx/video/src/openmax_il/video_encode/src/ |
D | OMX_VideoEnc_Thread.c | 116 OMX_ERRORTYPE eError = OMX_ErrorNone; in OMX_VIDENC_Thread() local 127 eError = OMX_ErrorBadParameter; in OMX_VIDENC_Thread() 183 eError = OMX_ErrorHardware; in OMX_VIDENC_Thread() 184 OMX_ERROR5(pComponentPrivate->dbg, "*Fatal Error : %x\n", eError); in OMX_VIDENC_Thread() 185 OMX_VIDENC_HandleError(pComponentPrivate, eError); in OMX_VIDENC_Thread() 197 OMX_VIDENC_SET_ERROR_BAIL(eError, in OMX_VIDENC_Thread() 209 OMX_CONF_SET_ERROR_BAIL(eError, OMX_ErrorNone); in OMX_VIDENC_Thread() 220 OMX_VIDENC_SET_ERROR_BAIL(eError, in OMX_VIDENC_Thread() 233 OMX_VIDENC_SET_ERROR_BAIL(eError, in OMX_VIDENC_Thread() 250 eError = OMX_VIDENC_HandleCommandStateSet(pComponentPrivate, in OMX_VIDENC_Thread() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_enc/tests/ |
D | AmrEncTest.c | 173 OMX_ERRORTYPE eError = OMX_ErrorNone; variable 273 eError = OMX_ErrorInsufficientResources; \ 368 OMX_ERRORTYPE eError = OMX_ErrorNone; in WaitForState() local 372 eError = pComponent->GetState(pHandle, &CurState); in WaitForState() 375 eError = OMX_ErrorInvalidState; in WaitForState() 378 eError = OMX_GetState(pHandle, &CurState); in WaitForState() 380 eError = OMX_ErrorInvalidState; in WaitForState() 390 return eError; in WaitForState() 402 OMX_ERRORTYPE eError = OMX_ErrorNone; in EventHandler() local 408 eError = pComponent->GetState (hComponent, &state); in EventHandler() [all …]
|
/hardware/ti/omap4xxx/domx/omx_core/src/ |
D | OMX_Core.c | 114 if (!(C)) { eError = V;\ 135 OMX_ERRORTYPE eError = OMX_ErrorNone; in OMX_Init() local 147 eError = OMX_BuildComponentTable(); in OMX_Init() 154 return eError; in OMX_Init() 188 OMX_ERRORTYPE eError = OMX_ErrorNone; in OMX_GetHandle() local 258 eError = OMX_ErrorComponentNotFound; in OMX_GetHandle() 268 if(eError == OMX_ErrorComponentNotFound) in OMX_GetHandle() 280 eError = OMX_ErrorComponentNotFound; in OMX_GetHandle() 308 eError = (*pComponentInit) (*pHandle); in OMX_GetHandle() 310 if (OMX_ErrorNone == eError) in OMX_GetHandle() [all …]
|
/hardware/ti/omap4-aah/domx/omx_core/src/ |
D | OMX_Core.c | 121 if (!(C)) { eError = V;\ 142 OMX_ERRORTYPE eError = OMX_ErrorNone; in OMX_Init() local 154 eError = OMX_BuildComponentTable(); in OMX_Init() 161 return eError; in OMX_Init() 195 OMX_ERRORTYPE eError = OMX_ErrorNone; in OMX_GetHandle() local 268 eError = OMX_ErrorComponentNotFound; in OMX_GetHandle() 280 if (eError == OMX_ErrorComponentNotFound) in OMX_GetHandle() 293 eError = OMX_ErrorComponentNotFound; in OMX_GetHandle() 321 eError = (*pComponentInit) (*pHandle); in OMX_GetHandle() 323 if (OMX_ErrorNone == eError) in OMX_GetHandle() [all …]
|
/hardware/ti/omap4xxx/domx/omx_proxy_component/omx_camera/src/ |
D | omx_proxy_camera.c | 148 OMX_ERRORTYPE eError = OMX_ErrorNone; in ComponentPrivateDeInit() local 167 eError = PROXY_ComponentDeInit(hComponent); in ComponentPrivateDeInit() 170 return eError; in ComponentPrivateDeInit() 187 OMX_ERRORTYPE eError = OMX_ErrorNone; in CameraGetConfig() local 208 eError = __PROXY_GetConfig(hComponent, in CameraGetConfig() 213 PROXY_assert((eError == OMX_ErrorNone), eError, in CameraGetConfig() 230 return eError; in CameraGetConfig() 248 OMX_ERRORTYPE eError = OMX_ErrorNone; in CameraSetConfig() local 270 eError = __PROXY_SetConfig(hComponent, in CameraSetConfig() 275 PROXY_assert((eError == OMX_ErrorNone), eError, in CameraSetConfig() [all …]
|
/hardware/ti/omap4xxx/domx/domx/omx_proxy_common/src/ |
D | omx_proxy_common.c | 154 eError = eCompReturn; \ 155 …PROXY_assert((eError == OMX_ErrorNone) || (eError == OMX_ErrorNoMore), eError, "Error returned fro… 162 eError = OMX_ErrorHardware; \ 165 eError = OMX_ErrorInsufficientResources; \ 168 eError = OMX_ErrorBadParameter; \ 171 eError = OMX_ErrorUnsupportedIndex; \ 174 eError = OMX_ErrorTimeout; \ 177 eError = OMX_ErrorUndefined; \ 240 OMX_ERRORTYPE eError = OMX_ErrorNone; in PROXY_EventHandler() local 303 if (eError == OMX_ErrorNone) in PROXY_EventHandler() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/src/ |
D | OMX_G726Encoder.c | 190 OMX_ERRORTYPE eError = OMX_ErrorNone; in OMX_ComponentInit() local 366 eError = OMX_ErrorInsufficientResources; in OMX_ComponentInit() 386 eError = G726ENC_StartComponentThread(pHandle); in OMX_ComponentInit() 388 if (eError != OMX_ErrorNone) { in OMX_ComponentInit() 394 eError = RMProxy_NewInitalize(); in OMX_ComponentInit() 396 if (eError != OMX_ErrorNone) { in OMX_ComponentInit() 404 G726ENC_DPRINT("%d :: Returning = 0x%x\n",__LINE__,eError); in OMX_ComponentInit() 405 return eError; in OMX_ComponentInit() 430 OMX_ERRORTYPE eError = OMX_ErrorNone; in SetCallbacks() local 438 eError = OMX_ErrorBadParameter; in SetCallbacks() [all …]
|
/hardware/ti/omap3/omx/video/src/openmax_il/video_decode/src/ |
D | OMX_VideoDec_Thread.c | 116 OMX_ERRORTYPE eError = OMX_ErrorNone; in OMX_VidDec_Thread() local 193 eError = OMX_ErrorInsufficientResources; in OMX_VidDec_Thread() 215 eError = VIDDEC_HandleCommand(pComponentPrivate, nParam1); in OMX_VidDec_Thread() 216 if (eError != OMX_ErrorNone) { in OMX_VidDec_Thread() 235 eError = VIDDEC_DisablePort(pComponentPrivate, nParam1); in OMX_VidDec_Thread() 236 if (eError != OMX_ErrorNone) { in OMX_VidDec_Thread() 240 eError, in OMX_VidDec_Thread() 246 eError = VIDDEC_EnablePort(pComponentPrivate, nParam1); in OMX_VidDec_Thread() 247 if (eError != OMX_ErrorNone) { in OMX_VidDec_Thread() 251 eError, in OMX_VidDec_Thread() [all …]
|
/hardware/ti/omap4-aah/domx/omx_proxy_component/omx_camera/src/ |
D | omx_proxy_camera.c | 156 OMX_ERRORTYPE eError = OMX_ErrorNone; in ComponentPrivateDeInit() local 200 eError = PROXY_ComponentDeInit(hComponent); in ComponentPrivateDeInit() 203 return eError; in ComponentPrivateDeInit() 211 OMX_ERRORTYPE eError = OMX_ErrorNone, eCompReturn; in Camera_SendCommand() local 262 eError = in Camera_SendCommand() 268 DOMX_EXIT("eError: %d", eError); in Camera_SendCommand() 269 return eError; in Camera_SendCommand() 287 OMX_ERRORTYPE eError = OMX_ErrorNone; in CameraGetConfig() local 308 eError = __PROXY_GetConfig(hComponent, in CameraGetConfig() 313 PROXY_assert((eError == OMX_ErrorNone), eError, in CameraGetConfig() [all …]
|