Home
last modified time | relevance | path

Searched refs:focusMode (Results 1 – 9 of 9) sorted by relevance

/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
DOMXFocus.cpp271 status_t OMXCameraAdapter::getFocusMode(OMX_IMAGE_CONFIG_FOCUSCONTROLTYPE &focusMode) in getFocusMode() argument
282 OMX_INIT_STRUCT_PTR (&focusMode, OMX_IMAGE_CONFIG_FOCUSCONTROLTYPE); in getFocusMode()
283 focusMode.nPortIndex = mCameraAdapterParameters.mPrevPortIndex; in getFocusMode()
287 &focusMode); in getFocusMode()
302 OMX_IMAGE_CONFIG_FOCUSCONTROLTYPE focusMode; in cancelAutoFocus() local
306 ret = getFocusMode(focusMode); in cancelAutoFocus()
312 if ( ( focusMode.eFocusControl != OMX_IMAGE_FocusControlAuto ) && in cancelAutoFocus()
313 ( focusMode.eFocusControl != ( OMX_IMAGE_FOCUSCONTROLTYPE ) in cancelAutoFocus()
316 } else if (focusMode.eFocusControl == OMX_IMAGE_FocusControlAuto) { in cancelAutoFocus()
/hardware/samsung_slsi/exynos5/libcamera/
DExynosCamera.cpp123 focusMode = ExynosCamera::FOCUS_MODE_AUTO; in ExynosCameraInfo()
254 focusMode = ExynosCamera::FOCUS_MODE_AUTO; in ExynosCameraInfoM5M0()
371 focusMode = ExynosCamera::FOCUS_MODE_FIXED; in ExynosCameraInfoS5K6A3()
486 focusMode = ExynosCamera::FOCUS_MODE_AUTO; in ExynosCameraInfoS5K4E5()
1190 if (m_curCameraInfo->focusMode == FOCUS_MODE_CONTINUOUS_VIDEO in startPreview()
1191 || m_curCameraInfo->focusMode == FOCUS_MODE_CONTINUOUS_PICTURE) { in startPreview()
1877 switch (m_curCameraInfo->focusMode) { in autoFocus()
1908 ALOGE("ERR(%s):Unsupported value(%d)", __func__, m_curCameraInfo->focusMode); in autoFocus()
1930 switch (m_curCameraInfo->focusMode) { in cancelAutoFocus()
1955 ALOGE("ERR(%s):Unsupported value(%d)", __func__, m_curCameraInfo->focusMode); in cancelAutoFocus()
[all …]
DExynosCameraHWInterface.cpp1978 int focusMode = m_secCamera->getSupportedFocusModes(); in m_initDefaultParameters() local
1980 if (focusMode & ExynosCamera::FOCUS_MODE_AUTO) { in m_initDefaultParameters()
1984 if (focusMode & ExynosCamera::FOCUS_MODE_INFINITY) { in m_initDefaultParameters()
1988 if (focusMode & ExynosCamera::FOCUS_MODE_MACRO) { in m_initDefaultParameters()
1992 if (focusMode & ExynosCamera::FOCUS_MODE_FIXED) { in m_initDefaultParameters()
1996 if (focusMode & ExynosCamera::FOCUS_MODE_EDOF) { in m_initDefaultParameters()
2000 if (focusMode & ExynosCamera::FOCUS_MODE_CONTINUOUS_VIDEO) { in m_initDefaultParameters()
2004 if (focusMode & ExynosCamera::FOCUS_MODE_CONTINUOUS_PICTURE) in m_initDefaultParameters()
2010 if (focusMode & ExynosCamera::FOCUS_MODE_CONTINUOUS_PICTURE) in m_initDefaultParameters()
2013 else if (focusMode & ExynosCamera::FOCUS_MODE_CONTINUOUS_VIDEO) in m_initDefaultParameters()
[all …]
/hardware/qcom/camera/QCamera2/HAL/
DQCamera2HWI.cpp1791 cam_focus_mode_type focusMode = mParameters.getFocusMode(); in autoFocus() local
1793 switch (focusMode) { in autoFocus()
1843 ALOGE("%s: No ops in focusMode (%d)", __func__, focusMode); in autoFocus()
1864 cam_focus_mode_type focusMode = mParameters.getFocusMode(); in cancelAutoFocus() local
1866 switch (focusMode) { in cancelAutoFocus()
1888 ALOGI("%s: No ops in focusMode (%d)", __func__, focusMode); in cancelAutoFocus()
2467 cam_focus_mode_type focusMode = mParameters.getFocusMode(); in processAutoFocusEvent() local
2468 switch (focusMode) { in processAutoFocusEvent()
2511 ALOGD("%s: no ops for autofocus event in focusmode %d", __func__, focusMode); in processAutoFocusEvent()
DQCameraParameters.cpp2993 const char *focusMode = lookupNameByValue(FOCUS_MODES_MAP, in initDefaultParameters() local
2996 if (focusMode != NULL) { in initDefaultParameters()
2997 setFocusMode(focusMode); in initDefaultParameters()
3631 int32_t QCameraParameters::setFocusMode(const char *focusMode) in setFocusMode() argument
3633 if (focusMode != NULL) { in setFocusMode()
3636 focusMode); in setFocusMode()
3638 ALOGD("%s: Setting focus mode %s", __func__, focusMode); in setFocusMode()
3646 updateParamEntry(KEY_FOCUS_MODE, focusMode); in setFocusMode()
3653 ALOGE("Invalid focus mode value: %s", (focusMode == NULL) ? "NULL" : focusMode); in setFocusMode()
DQCameraParameters.h476 int32_t setFocusMode(const char *focusMode);
/hardware/qcom/camera/QCamera2/HAL3/
DQCamera3HWI.cpp2151 uint8_t *focusMode = in translateCbUrgentMetadataToResultMetadata() local
2154 sizeof(FOCUS_MODES_MAP)/sizeof(FOCUS_MODES_MAP[0]), *focusMode); in translateCbUrgentMetadataToResultMetadata()
3288 static uint8_t focusMode; in translateCapabilityToMetadata() local
3290 focusMode = ANDROID_CONTROL_AF_MODE_AUTO; in translateCapabilityToMetadata()
3292 focusMode = ANDROID_CONTROL_AF_MODE_OFF; in translateCapabilityToMetadata()
3294 settings.update(ANDROID_CONTROL_AF_MODE, &focusMode, 1); in translateCapabilityToMetadata()
3534 uint8_t focusMode; in translateMetadataToParameters() local
3536 focusMode = CAM_FOCUS_MODE_INFINITY; in translateMetadataToParameters()
3538 focusMode = lookupHalName(FOCUS_MODES_MAP, in translateMetadataToParameters()
3543 sizeof(focusMode), &focusMode); in translateMetadataToParameters()
/hardware/samsung_slsi/exynos5/include/
DExynosCamera.h112 int focusMode; member
/hardware/ti/omap4xxx/camera/inc/OMXCameraAdapter/
DOMXCameraAdapter.h460 status_t getFocusMode(OMX_IMAGE_CONFIG_FOCUSCONTROLTYPE &focusMode);