Home | History | Annotate | Download | only in OMXCameraAdapter

Lines Matching full:focus

226     if ( (mFirstTimeInit || ((str != NULL) && (mParameters3A.Focus != mode))))
230 mParameters3A.Focus = mode;
232 // if focus mode is set to infinity...update focus distance immediately
237 CAMHAL_LOGDB("Focus %x", mParameters3A.Focus);
333 CAMHAL_LOGVA("Locking Focus");
337 CAMHAL_LOGVA("UnLocking Focus");
407 Gen3A.Focus = getLUTvalue_HALtoOMX(OMXCameraAdapter::DEFAULT_FOCUS_MODE, FocusLUT);
586 OMX_IMAGE_CONFIG_FOCUSCONTROLTYPE focus;
608 //Enable face algorithm priority for focus
611 //Do normal focus afterwards
612 ////FIXME: Check if the extended focus control is needed? this overrides caf
625 //Do normal focus afterwards
626 //FIXME: Check if the extended focus control is needed? this overrides caf
627 //focus.eFocusControl = ( OMX_IMAGE_FOCUSCONTROLTYPE ) OMX_IMAGE_FocusControlExtended;
644 if ( Gen3A.Focus == OMX_IMAGE_FocusControlAutoInfinity)
652 CAMHAL_LOGDA("Focus locked. Applied focus locks successfully");
655 if ( Gen3A.Focus == OMX_IMAGE_FocusControlAuto ||
656 Gen3A.Focus == OMX_IMAGE_FocusControlAutoInfinity)
658 // Run focus scanning if switching to continuous infinity focus mode
670 OMX_INIT_STRUCT_PTR (&focus, OMX_IMAGE_CONFIG_FOCUSCONTROLTYPE);
671 focus.nPortIndex = mCameraAdapterParameters.mPrevPortIndex;
672 focus.eFocusControl = (OMX_IMAGE_FOCUSCONTROLTYPE)Gen3A.Focus;
674 CAMHAL_LOGDB("Configuring focus mode 0x%x", focus.eFocusControl);
675 eError = OMX_SetConfig( mCameraAdapterParameters.mHandleComp, OMX_IndexConfigFocusControl, &focus);
678 CAMHAL_LOGEB("Error while configuring focus mode 0x%x", eError);
682 CAMHAL_LOGDA("Camera focus mode configured successfully");
695 OMX_IMAGE_CONFIG_FOCUSCONTROLTYPE focus;
705 OMX_INIT_STRUCT_PTR (&focus, OMX_IMAGE_CONFIG_FOCUSCONTROLTYPE);
706 focus.nPortIndex = mCameraAdapterParameters.mPrevPortIndex;
708 OMX_IndexConfigFocusControl, &focus);
711 CAMHAL_LOGEB("Error while configuring focus mode 0x%x", eError);
713 Gen3A.Focus = focus.eFocusControl;
714 CAMHAL_LOGDB("Gen3A.Focus 0x%x", Gen3A.Focus);
1384 CAMHAL_LOGEB("Error while configuring Focus Lock error = 0x%x", eError);
1386 CAMHAL_LOGDB("Focus Lock configured successfully %d ", lock.bLock);
1445 CAMHAL_LOGEB("Error GetConfig Focus Lock error = 0x%x", eError);
1450 CAMHAL_LOGDB("Focus Lock GetConfig successfull bLock(%d)", lock.bLock);
1571 CAMHAL_LOGEB("Error while setting Focus Areas configuration 0x%x", eError);
1604 * for instance the focus mode gets switched.