Lines Matching refs:eError
64 OMX_ERRORTYPE eError = OMX_ErrorNone;
91 eError = OMX_Init();
92 if (eError != OMX_ErrorNone) {
93 CAMHAL_LOGEB("OMX_Init() failed, error: 0x%x", eError);
94 return ErrorUtils::omxToAndroidError(eError);
99 eError = OMXCameraAdapter::OMXCameraGetHandle(&mCameraAdapterParameters.mHandleComp, (OMX_PTR)this);
100 if(eError != OMX_ErrorNone) {
101 CAMHAL_LOGEB("OMX_GetHandle -0x%x", eError);
103 GOTO_EXIT_IF((eError != OMX_ErrorNone), eError);
107 CAMHAL_LOGVB("OMX_GetHandle -0x%x sensor_index = %lu", eError, mSensorIndex);
108 eError = OMX_SendCommand(mCameraAdapterParameters.mHandleComp,
113 if(eError != OMX_ErrorNone) {
114 CAMHAL_LOGEB("OMX_SendCommand(OMX_CommandPortDisable) -0x%x", eError);
116 GOTO_EXIT_IF((eError != OMX_ErrorNone), eError);
130 eError = OMX_SendCommand(mCameraAdapterParameters.mHandleComp,
134 if(eError != OMX_ErrorNone) {
135 CAMHAL_LOGEB("OMX_SendCommand(OMX_CommandPortEnable) -0x%x", eError);
137 GOTO_EXIT_IF((eError!=OMX_ErrorNone), eError);
157 eError = OMX_SetConfig(mCameraAdapterParameters.mHandleComp, ( OMX_INDEXTYPE ) OMX_TI_IndexConfigSensorSelect, &sensorSelect);
158 if ( OMX_ErrorNone != eError ) {
159 CAMHAL_LOGEB("Error while selecting the sensor index as %d - 0x%x", mSensorIndex, eError);
296 return ErrorUtils::omxToAndroidError(eError);
300 CAMHAL_LOGDB("Exiting function %s because of ret %d eError=%x", __FUNCTION__, ret, eError);
303 return ErrorUtils::omxToAndroidError(eError);
349 OMX_ERRORTYPE eError = OMX_ErrorNone;
391 eError = OMX_FillThisBuffer(mCameraAdapterParameters.mHandleComp, port->mBufferHeader[i]);
392 if ( eError != OMX_ErrorNone )
394 CAMHAL_LOGEB("OMX_FillThisBuffer 0x%x", eError);
408 CAMHAL_LOGEB("Exiting function %s because of ret %d eError=%x", __FUNCTION__, ret, eError);
413 return (ret | ErrorUtils::omxToAndroidError(eError));
637 OMX_ERRORTYPE eError = OMX_ErrorNone;
697 eError = OMX_GetConfig(mCameraAdapterParameters.mHandleComp,
700 if ( OMX_ErrorNone == eError )
706 CAMHAL_LOGEB("OMX error 0x%x, while retrieving current ISO value", eError);
777 OMX_ERRORTYPE eError = OMX_ErrorNone;
784 eError = OMX_GetParameter (mCameraAdapterParameters.mHandleComp,
786 if(eError!=OMX_ErrorNone)
788 CAMHAL_LOGEB("OMX_GetParameter - %x", eError);
790 GOTO_EXIT_IF((eError!=OMX_ErrorNone), eError);
863 eError = OMX_SetParameter(mCameraAdapterParameters.mHandleComp,
865 if(eError!=OMX_ErrorNone)
867 CAMHAL_LOGEB("OMX_SetParameter - %x", eError);
869 GOTO_EXIT_IF((eError!=OMX_ErrorNone), eError);
872 eError = OMX_GetParameter(mCameraAdapterParameters.mHandleComp,
874 if(eError!=OMX_ErrorNone)
876 CAMHAL_LOGEB("OMX_GetParameter - %x", eError);
878 GOTO_EXIT_IF((eError!=OMX_ErrorNone), eError);
914 return ErrorUtils::omxToAndroidError(eError);
918 CAMHAL_LOGEB("Exiting function %s because of eError=%x", __FUNCTION__, eError);
922 return ErrorUtils::omxToAndroidError(eError);
928 OMX_ERRORTYPE eError = OMX_ErrorNone;
960 eError = OMX_SendCommand (mCameraAdapterParameters.mHandleComp,
965 if(eError!=OMX_ErrorNone)
967 CAMHAL_LOGEB("OMX_SendCommand(OMX_CommandFlush)-0x%x", eError);
969 GOTO_EXIT_IF((eError!=OMX_ErrorNone), eError);
1000 return (ret | ErrorUtils::omxToAndroidError(eError));
1003 CAMHAL_LOGEB("Exiting function %s because of ret %d eError=%x", __FUNCTION__, ret, eError);
1006 return (ret | ErrorUtils::omxToAndroidError(eError));
1012 OMX_ERRORTYPE eError = OMX_ErrorNone;
1053 OMX_ERRORTYPE eError = OMX_ErrorNone;
1109 eError = OMX_SendCommand(mCameraAdapterParameters.mHandleComp,
1114 if ( eError == OMX_ErrorNone )
1116 CAMHAL_LOGDB("OMX_SendCommand(OMX_CommandPortEnable) -0x%x", eError);
1120 CAMHAL_LOGEB("OMX_SendCommand(OMX_CommandPortEnable) -0x%x", eError);
1158 CAMHAL_LOGEB("Exiting function %s because of ret %d eError=%x", __FUNCTION__, ret, eError);
1161 return (ret | ErrorUtils::omxToAndroidError(eError));
1184 OMX_ERRORTYPE eError = OMX_ErrorNone;
1209 eError = OMX_SendCommand(mCameraAdapterParameters.mHandleComp,
1231 eError = OMX_SendCommand (mCameraAdapterParameters.mHandleComp ,
1235 GOTO_EXIT_IF((eError!=OMX_ErrorNone), eError);
1242 CAMHAL_LOGVB("OMX_SendCommand(OMX_StateIdle) 0x%x", eError);
1255 eError = OMX_SendCommand (mCameraAdapterParameters.mHandleComp ,
1259 GOTO_EXIT_IF((eError!=OMX_ErrorNone), eError);
1266 CAMHAL_LOGVB("OMX_SendCommand(OMX_StateExecuting) 0x%x", eError);
1274 CAMHAL_LOGEB("Exiting function %s because of ret %d eError=%x", __FUNCTION__, ret, eError);
1278 return (ret | ErrorUtils::omxToAndroidError(eError));
1284 OMX_ERRORTYPE eError = OMX_ErrorNone;
1317 eError = OMX_SendCommand (mCameraAdapterParameters.mHandleComp,
1322 if(eError!=OMX_ErrorNone)
1324 CAMHAL_LOGEB("OMX_SendCommand(OMX_StateIdle) - %x", eError);
1327 GOTO_EXIT_IF((eError!=OMX_ErrorNone), eError);
1371 eError = OMX_SendCommand (mCameraAdapterParameters.mHandleComp,
1376 if(eError!=OMX_ErrorNone)
1378 CAMHAL_LOGEB("OMX_SendCommand(OMX_StateLoaded) - %x", eError);
1380 GOTO_EXIT_IF((eError!=OMX_ErrorNone), eError);
1423 eError = OMX_SendCommand(mCameraAdapterParameters.mHandleComp,
1429 CAMHAL_LOGDB("OMX_SendCommand(OMX_CommandStateSet) 0x%x", eError);
1430 GOTO_EXIT_IF((eError!=OMX_ErrorNone), eError);
1459 return (ret | ErrorUtils::omxToAndroidError(eError));
1462 CAMHAL_LOGEB("Exiting function %s because of ret %d eError=%x", __FUNCTION__, ret, eError);
1465 return (ret | ErrorUtils::omxToAndroidError(eError));
1471 OMX_ERRORTYPE eError = OMX_ErrorNone;
1602 eError = OMX_SendCommand (mCameraAdapterParameters.mHandleComp ,
1607 CAMHAL_LOGDB("OMX_SendCommand(OMX_CommandStateSet) 0x%x", eError);
1609 GOTO_EXIT_IF((eError!=OMX_ErrorNone), eError);
1629 eError = OMX_SendCommand(mCameraAdapterParameters.mHandleComp,
1643 eError = OMX_SetParameter(mCameraAdapterParameters.mHandleComp,
1645 if(eError!=OMX_ErrorNone)
1647 CAMHAL_LOGEB("OMX_SetParameter - %x", eError);
1649 GOTO_EXIT_IF((eError!=OMX_ErrorNone), eError);
1655 eError = OMX_UseBuffer( mCameraAdapterParameters.mHandleComp,
1661 if(eError!=OMX_ErrorNone)
1663 CAMHAL_LOGEB("OMX_UseBuffer-0x%x", eError);
1665 GOTO_EXIT_IF((eError!=OMX_ErrorNone), eError);
1682 eError = OMX_UseBuffer( mCameraAdapterParameters.mHandleComp,
1689 if ( eError == OMX_ErrorNone )
1700 CAMHAL_LOGEB("OMX_UseBuffer -0x%x", eError);
1747 return (ret | ErrorUtils::omxToAndroidError(eError));
1754 CAMHAL_LOGEB("Exiting function %s because of ret %d eError=%x", __FUNCTION__, ret, eError);
1756 CAMHAL_LOGEB("Exiting function %s because of ret %d eError=%x", __FUNCTION__, ret, eError);
1760 return (ret | ErrorUtils::omxToAndroidError(eError));
1766 OMX_ERRORTYPE eError = OMX_ErrorNone;
1800 eError = OMX_SendCommand(mCameraAdapterParameters.mHandleComp,
1805 if(eError!=OMX_ErrorNone)
1807 CAMHAL_LOGEB("OMX_SendCommand(OMX_StateExecuting)-0x%x", eError);
1846 eError = OMX_FillThisBuffer(mCameraAdapterParameters.mHandleComp,
1848 if(eError!=OMX_ErrorNone)
1850 CAMHAL_LOGEB("OMX_FillThisBuffer-0x%x", eError);
1856 GOTO_EXIT_IF((eError!=OMX_ErrorNone), eError);
1865 eError = OMX_FillThisBuffer(mCameraAdapterParameters.mHandleComp,
1867 if(eError!=OMX_ErrorNone)
1869 CAMHAL_LOGEB("OMX_FillThisBuffer-0x%x", eError);
1871 GOTO_EXIT_IF((eError!=OMX_ErrorNone), eError);
1878 if ( OMX_ErrorNone == eError)
1910 return (ret | ErrorUtils::omxToAndroidError(eError));
1914 CAMHAL_LOGEB("Exiting function %s because of ret %d eError=%x", __FUNCTION__, ret, eError);
1919 return (ret | ErrorUtils::omxToAndroidError(eError));
1927 OMX_ERRORTYPE eError = OMX_ErrorNone;
1984 eError = OMX_SetConfig(mCameraAdapterParameters.mHandleComp,
1987 if ( OMX_ErrorNone != eError )
1989 CAMHAL_LOGEB("Error while configuring AF Assist mode 0x%x", eError);
2027 eError = OMX_SendCommand(mCameraAdapterParameters.mHandleComp,
2035 eError = OMX_FreeBuffer(mCameraAdapterParameters.mHandleComp,
2039 if(eError!=OMX_ErrorNone)
2041 CAMHAL_LOGEB("OMX_FreeBuffer - %x", eError);
2043 GOTO_EXIT_IF((eError!=OMX_ErrorNone), eError);
2051 eError = OMX_FreeBuffer(mCameraAdapterParameters.mHandleComp,
2054 if(eError!=OMX_ErrorNone)
2056 CAMHAL_LOGEB("OMX_FreeBuffer - %x", eError);
2058 GOTO_EXIT_IF((eError!=OMX_ErrorNone), eError);
2110 return (ret | ErrorUtils::omxToAndroidError(eError));
2113 CAMHAL_LOGEB("Exiting function %s because of ret %d eError=%x", __FUNCTION__, ret, eError);
2121 return (ret | ErrorUtils::omxToAndroidError(eError));
2128 OMX_ERRORTYPE eError = OMX_ErrorNone;
2153 eError = OMX_SetParameter(mCameraAdapterParameters.mHandleComp, ( OMX_INDEXTYPE ) OMX_TI_IndexParamSensorOverClockMode, &bOMX);
2154 if ( OMX_ErrorNone != eError )
2156 CAMHAL_LOGEB("Error while setting Sensor overclock 0x%x", eError);
2173 OMX_ERRORTYPE eError = OMX_ErrorNone;
2191 eError = OMX_GetComponentVersion(handle,
2197 if ( OMX_ErrorNone != eError )
2199 CAMHAL_LOGEB("OMX_GetComponentVersion returned 0x%x", eError);
2338 OMX_ERRORTYPE eError = OMX_ErrorNone;
2443 eError = OMX_GetParameter(mCameraAdapterParameters.mHandleComp, ( OMX_INDEXTYPE ) OMX_TI_IndexParam2DBufferAllocDimension, &tFrameDim);
2444 if ( OMX_ErrorNone == eError)
2463 OMX_ERRORTYPE eError = OMX_ErrorNone;
2479 eError = OMX_GetParameter(mCameraAdapterParameters.mHandleComp, OMX_IndexParamPortDefinition, &portCheck);
2480 if ( OMX_ErrorNone != eError )
2482 CAMHAL_LOGEB("OMX_GetParameter on OMX_IndexParamPortDefinition returned: 0x%x", eError);
2491 eError = OMX_SetParameter(mCameraAdapterParameters.mHandleComp, OMX_IndexParamPortDefinition, &portCheck);
2492 if ( OMX_ErrorNone != eError )
2494 CAMHAL_LOGEB("OMX_SetParameter on OMX_IndexParamPortDefinition returned: 0x%x", eError);
2502 eError = OMX_GetParameter(mCameraAdapterParameters.mHandleComp, OMX_IndexParamPortDefinition, &portCheck);
2503 if ( OMX_ErrorNone != eError )
2505 CAMHAL_LOGEB("OMX_GetParameter on OMX_IndexParamPortDefinition returned: 0x%x", eError);
2605 OMX_ERRORTYPE eError = OMX_ErrorNone;
2700 return eError;
2704 CAMHAL_LOGEB("Exiting function %s because of eError=%x", __FUNCTION__, eError);
2706 return eError;
2855 OMX_ERRORTYPE eError = OMX_ErrorNone;
2858 eError = oca->OMXCameraAdapterEmptyBufferDone(hComponent, pBuffHeader);
2861 return eError;
2905 OMX_ERRORTYPE eError = OMX_ErrorNone;
2920 return eError;
2933 OMX_ERRORTYPE eError = OMX_ErrorNone;
3134 return eError;
3162 return eError;
3166 CAMHAL_LOGEB("Exiting function %s because of ret %d eError=%x", __FUNCTION__, stat, eError);
3176 return eError;
3430 OMX_ERRORTYPE eError = OMX_ErrorNone;
3453 eError = OMX_SetConfig(mCameraAdapterParameters.mHandleComp,
3459 return (ret | ErrorUtils::omxToAndroidError(eError));
3607 OMX_ERRORTYPE eError = OMX_ErrorUndefined;
3624 eError = OMX_GetHandle(handle, (OMX_STRING)"OMX.TI.DUCATI1.VIDEO.CAMERA", pAppData, &oCallbacks);
3625 if ( eError == OMX_ErrorNone ) {
3629 CAMHAL_LOGEB("OMX_GetHandle() failed, error: 0x%x", eError);
3633 return eError;
3641 OMX_ERRORTYPE eError = OMX_ErrorNone;
3655 eError = OMX_Init();
3656 if (eError != OMX_ErrorNone) {
3657 CAMHAL_LOGEB("Error OMX_Init -0x%x", eError);
3658 return eError;
3661 eError = OMXCameraAdapter::OMXCameraGetHandle(&handle);
3662 if (eError != OMX_ErrorNone) {
3663 CAMHAL_LOGEB("OMX_GetHandle -0x%x", eError);
3669 while (eError == OMX_ErrorNone &&
3675 eError = OMX_SetConfig(handle, ( OMX_INDEXTYPE ) OMX_TI_IndexConfigSensorSelect, &sensorSelect);
3677 if ( OMX_ErrorNone != eError ) {