/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/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/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/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/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/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/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/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 …]
|
D | OMX_VideoDecoder.c | 275 OMX_ERRORTYPE eError = OMX_ErrorNone; in OMX_ComponentInit() local 293 eError = OMX_ErrorInsufficientResources; in OMX_ComponentInit() 328 eError = OMX_ErrorUndefined; in OMX_ComponentInit() 329 return eError; in OMX_ComponentInit() 332 eError = OMX_ErrorUndefined; in OMX_ComponentInit() 333 return eError; in OMX_ComponentInit() 336 eError = OMX_ErrorUndefined; in OMX_ComponentInit() 337 return eError; in OMX_ComponentInit() 340 eError = OMX_ErrorUndefined; in OMX_ComponentInit() 341 return eError; in OMX_ComponentInit() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_enc/src/ |
D | OMX_G729Encoder.c | 198 OMX_ERRORTYPE eError = OMX_ErrorNone; in OMX_ComponentInit() local 388 eError = OMX_ErrorInsufficientResources; in OMX_ComponentInit() 432 eError = RMProxy_NewInitalize(); in OMX_ComponentInit() 433 if (eError != OMX_ErrorNone) in OMX_ComponentInit() 440 eError = G729ENC_StartComponentThread(pHandle); in OMX_ComponentInit() 441 if (eError != OMX_ErrorNone) in OMX_ComponentInit() 463 G729ENC_DPRINT("Exiting. Returning = 0x%x\n", eError); in OMX_ComponentInit() 464 return eError; in OMX_ComponentInit() 489 OMX_ERRORTYPE eError = OMX_ErrorNone; in SetCallbacks() local 497 eError = OMX_ErrorBadParameter; in SetCallbacks() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/src/ |
D | OMX_G711Encoder.c | 184 OMX_ERRORTYPE eError = OMX_ErrorNone; in OMX_ComponentInit() local 409 eError = RMProxy_NewInitalize(); in OMX_ComponentInit() 411 if (eError != OMX_ErrorNone) { in OMX_ComponentInit() 417 eError = G711ENC_StartComponentThread(pHandle); in OMX_ComponentInit() 419 if (eError != OMX_ErrorNone) { in OMX_ComponentInit() 438 G711ENC_DPRINT("%d :: Returning = 0x%x\n",__LINE__,eError); in OMX_ComponentInit() 439 return eError; in OMX_ComponentInit() 464 OMX_ERRORTYPE eError = OMX_ErrorNone; in SetCallbacks() local 472 eError = OMX_ErrorBadParameter; in SetCallbacks() 487 G711ENC_DPRINT("%d :: Returning = 0x%x\n",__LINE__,eError); in SetCallbacks() [all …]
|
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/src/ |
D | OMX_VPP.c | 230 OMX_ERRORTYPE eError = OMX_ErrorNone; in VPP_AllocateBuffer() local 253 eError = OMX_ErrorBadParameter; in VPP_AllocateBuffer() 348 if(eError != OMX_ErrorNone){ in VPP_AllocateBuffer() 351 return eError; in VPP_AllocateBuffer() 372 OMX_ERRORTYPE eError = OMX_ErrorNone; in VPP_FreeBuffer() local 384 OMX_SET_ERROR_BAIL(eError, OMX_ErrorBadParameter); in VPP_FreeBuffer() 389 eError = VPP_IsValidBuffer(pBufHeader, pMyData, nPortIndex, &nCount); in VPP_FreeBuffer() 390 if(eError != OMX_ErrorNone){ in VPP_FreeBuffer() 483 return eError; in VPP_FreeBuffer() 511 OMX_ERRORTYPE eError = OMX_ErrorNone; in VPP_UseBuffer() local [all …]
|
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/src/ |
D | OMX_JpegDec_Utils.c | 111 OMX_ERRORTYPE eError = OMX_ErrorNone; in GetLCMLHandleJpegDec() local 127 eError = OMX_ErrorComponentNotFound; in GetLCMLHandleJpegDec() 135 eError = OMX_ErrorInvalidComponent; in GetLCMLHandleJpegDec() 141 eError = (*fpGetHandle)(&LCML_pHandle); in GetLCMLHandleJpegDec() 144 eError = OMX_ErrorInvalidComponent; in GetLCMLHandleJpegDec() 147 if (eError != OMX_ErrorNone) { in GetLCMLHandleJpegDec() 148 eError = OMX_ErrorUndefined; in GetLCMLHandleJpegDec() 169 eError = OMX_ErrorComponentNotFound; in GetLCMLHandleJpegDec() 177 eError = OMX_ErrorComponentNotFound; in GetLCMLHandleJpegDec() 181 eError = fpGetHandle1(&LCML_pHandle); in GetLCMLHandleJpegDec() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_enc/src/ |
D | OMX_G722Enc_Utils.c | 110 OMX_ERRORTYPE eError = OMX_ErrorNone; in ComponentThread() local 167 eError = OMX_ErrorInsufficientResources; in ComponentThread() 176 if(eError != OMX_ErrorNone) { in ComponentThread() 212 eError = G722ENC_HandleDataBuf_FromApp (pBufHeader,pComponentPrivate); in ComponentThread() 213 if (eError != OMX_ErrorNone) { in ComponentThread() 221 return (void*)eError; in ComponentThread() 244 OMX_ERRORTYPE eError = OMX_ErrorNone; in G722ENC_Fill_LCMLInitParams() local 301 eError = OMX_ErrorInsufficientResources; in G722ENC_Fill_LCMLInitParams() 312 eError = OMX_ErrorInsufficientResources; in G722ENC_Fill_LCMLInitParams() 346 eError = OMX_ErrorInsufficientResources; in G722ENC_Fill_LCMLInitParams() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/src/ |
D | OMX_WbAmrEncoder.c | 194 OMX_ERRORTYPE eError = OMX_ErrorNone; in OMX_ComponentInit() local 484 eError = RMProxy_NewInitalize(); in OMX_ComponentInit() 487 if (eError != OMX_ErrorNone) { in OMX_ComponentInit() 489 eError); in OMX_ComponentInit() 495 eError = WBAMRENC_StartComponentThread(pHandle); in OMX_ComponentInit() 498 if (eError != OMX_ErrorNone) { in OMX_ComponentInit() 500 ComponentThread %d", eError); in OMX_ComponentInit() 532 OMX_PRINT1(pComponentPrivate->dbg, "Exit Returning = 0x%x", eError); in OMX_ComponentInit() 533 return eError; in OMX_ComponentInit() 557 OMX_ERRORTYPE eError = OMX_ErrorNone; in SetCallbacks() local [all …]
|
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/tests/ |
D | JPEGTest.c | 599 OMX_ERRORTYPE eError = OMX_ErrorNone; local 776 eError = TIOMX_Init(); 777 if ( eError != OMX_ErrorNone ) { 829 eError = TIOMX_GetHandle(&pHandle,StrJpegDecoder, (void *)&AppData, &JPEGCaBa); 830 if ( (eError != OMX_ErrorNone) || (pHandle == NULL) ) { 835 eError = OMX_GetParameter(pHandle, OMX_IndexParamImageInit, pPortType); 836 if ( eError != OMX_ErrorNone ) { 851 eError = OMX_SetConfig (pHandle, OMX_IndexConfigCommonScale, pScaleFactor); 852 if ( eError != OMX_ErrorNone ) { 856 eError = OMX_GetParameter (pHandle, OMX_IndexParamPortDefinition, pInPortDef); [all …]
|