Home
last modified time | relevance | path

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

/device/lge/bullhead/camera/QCamera2/HAL/
DQCamera2HWI.cpp2269 cam_focus_mode_type focusMode = mParameters.getFocusMode(); in startPreview() local
2270 if (focusMode == CAM_FOCUS_MODE_CONTINOUS_PICTURE) in startPreview()
2432 cam_focus_mode_type focusMode = mParameters.getFocusMode(); in autoFocus() local
2434 switch (focusMode) { in autoFocus()
2445 ALOGE("%s: No ops in focusMode (%d)", __func__, focusMode); in autoFocus()
2467 cam_focus_mode_type focusMode = mParameters.getFocusMode(); in cancelAutoFocus() local
2469 switch (focusMode) { in cancelAutoFocus()
2480 CDBG("%s: No ops in focusMode (%d)", __func__, focusMode); in cancelAutoFocus()
4469 cam_focus_mode_type focusMode = mParameters.getFocusMode(); in processAutoFocusEvent() local
4470 switch (focusMode) { in processAutoFocusEvent()
[all …]
DQCameraParameters.cpp4803 const char *focusMode = lookupNameByValue(FOCUS_MODES_MAP, in initDefaultParameters() local
4806 if (focusMode != NULL) { in initDefaultParameters()
4807 setFocusMode(focusMode); in initDefaultParameters()
5813 int32_t QCameraParameters::setFocusMode(const char *focusMode) in setFocusMode() argument
5815 if (focusMode != NULL) { in setFocusMode()
5816 int32_t value = lookupAttr(FOCUS_MODES_MAP, PARAM_MAP_SIZE(FOCUS_MODES_MAP), focusMode); in setFocusMode()
5819 CDBG_HIGH("%s: Setting focus mode %s", __func__, focusMode); in setFocusMode()
5822 updateParamEntry(KEY_FOCUS_MODE, focusMode); in setFocusMode()
5827 if (strcmp(focusMode,"infinity")==0){ in setFocusMode()
5833 ALOGE("Invalid focus mode value: %s", (focusMode == NULL) ? "NULL" : focusMode); in setFocusMode()
DQCameraParameters.h863 int32_t setFocusMode(const char *focusMode);
/device/huawei/angler/camera/QCamera2/HAL/
DQCamera2HWI.cpp2269 cam_focus_mode_type focusMode = mParameters.getFocusMode(); in startPreview() local
2270 if (focusMode == CAM_FOCUS_MODE_CONTINOUS_PICTURE) in startPreview()
2432 cam_focus_mode_type focusMode = mParameters.getFocusMode(); in autoFocus() local
2434 switch (focusMode) { in autoFocus()
2445 ALOGE("%s: No ops in focusMode (%d)", __func__, focusMode); in autoFocus()
2467 cam_focus_mode_type focusMode = mParameters.getFocusMode(); in cancelAutoFocus() local
2469 switch (focusMode) { in cancelAutoFocus()
2480 CDBG("%s: No ops in focusMode (%d)", __func__, focusMode); in cancelAutoFocus()
4469 cam_focus_mode_type focusMode = mParameters.getFocusMode(); in processAutoFocusEvent() local
4470 switch (focusMode) { in processAutoFocusEvent()
[all …]
DQCameraParameters.cpp4803 const char *focusMode = lookupNameByValue(FOCUS_MODES_MAP, in initDefaultParameters() local
4806 if (focusMode != NULL) { in initDefaultParameters()
4807 setFocusMode(focusMode); in initDefaultParameters()
5813 int32_t QCameraParameters::setFocusMode(const char *focusMode) in setFocusMode() argument
5815 if (focusMode != NULL) { in setFocusMode()
5816 int32_t value = lookupAttr(FOCUS_MODES_MAP, PARAM_MAP_SIZE(FOCUS_MODES_MAP), focusMode); in setFocusMode()
5819 CDBG_HIGH("%s: Setting focus mode %s", __func__, focusMode); in setFocusMode()
5822 updateParamEntry(KEY_FOCUS_MODE, focusMode); in setFocusMode()
5827 if (strcmp(focusMode,"infinity")==0){ in setFocusMode()
5833 ALOGE("Invalid focus mode value: %s", (focusMode == NULL) ? "NULL" : focusMode); in setFocusMode()
DQCameraParameters.h863 int32_t setFocusMode(const char *focusMode);
/device/moto/shamu/camera/QCamera2/HAL/
DQCamera2HWI.cpp2188 cam_focus_mode_type focusMode = mParameters.getFocusMode(); in autoFocus() local
2190 switch (focusMode) { in autoFocus()
2201 ALOGE("%s: No ops in focusMode (%d)", __func__, focusMode); in autoFocus()
2222 cam_focus_mode_type focusMode = mParameters.getFocusMode(); in cancelAutoFocus() local
2224 switch (focusMode) { in cancelAutoFocus()
2236 CDBG("%s: No ops in focusMode (%d)", __func__, focusMode); in cancelAutoFocus()
3503 cam_focus_mode_type focusMode = mParameters.getFocusMode(); in processAutoFocusEvent() local
3504 switch (focusMode) { in processAutoFocusEvent()
3546 CDBG_HIGH("%s: no ops for autofocus event in focusmode %d", __func__, focusMode); in processAutoFocusEvent()
DQCameraParameters.cpp4119 const char *focusMode = lookupNameByValue(FOCUS_MODES_MAP, in initDefaultParameters() local
4122 if (focusMode != NULL) { in initDefaultParameters()
4123 setFocusMode(focusMode); in initDefaultParameters()
4910 int32_t QCameraParameters::setFocusMode(const char *focusMode) in setFocusMode() argument
4913 if (focusMode != NULL) { in setFocusMode()
4916 focusMode); in setFocusMode()
4918 CDBG_HIGH("%s: Setting focus mode %s", __func__, focusMode); in setFocusMode()
4922 updateParamEntry(KEY_FOCUS_MODE, focusMode); in setFocusMode()
4927 if (strcmp(focusMode,"infinity")==0){ in setFocusMode()
4933 ALOGE("Invalid focus mode value: %s", (focusMode == NULL) ? "NULL" : focusMode); in setFocusMode()
DQCameraParameters.h694 int32_t setFocusMode(const char *focusMode);
/device/moto/shamu/camera/QCamera2/HAL3/
DQCamera3HWI.cpp3639 uint8_t *focusMode = (uint8_t *) in translateCbUrgentMetadataToResultMetadata() local
3642 sizeof(FOCUS_MODES_MAP)/sizeof(FOCUS_MODES_MAP[0]), *focusMode); in translateCbUrgentMetadataToResultMetadata()
5669 uint8_t focusMode; in translateCapabilityToMetadata() local
5680 focusMode = ANDROID_CONTROL_AF_MODE_CONTINUOUS_PICTURE; in translateCapabilityToMetadata()
5689 focusMode = ANDROID_CONTROL_AF_MODE_CONTINUOUS_PICTURE; in translateCapabilityToMetadata()
5698 focusMode = ANDROID_CONTROL_AF_MODE_CONTINUOUS_VIDEO; in translateCapabilityToMetadata()
5709 focusMode = ANDROID_CONTROL_AF_MODE_CONTINUOUS_VIDEO; in translateCapabilityToMetadata()
5720 focusMode = ANDROID_CONTROL_AF_MODE_CONTINUOUS_PICTURE; in translateCapabilityToMetadata()
5733 focusMode = ANDROID_CONTROL_AF_MODE_OFF; in translateCapabilityToMetadata()
5749 focusMode = ANDROID_CONTROL_AF_MODE_OFF; in translateCapabilityToMetadata()
[all …]
/device/huawei/angler/camera/QCamera2/HAL3/
DQCamera3HWI.cpp5104 IF_META_AVAILABLE(uint32_t, focusMode, CAM_INTF_PARM_FOCUS_MODE, metadata) { in translateCbUrgentMetadataToResultMetadata()
5105 int val = lookupFwkName(FOCUS_MODES_MAP, METADATA_MAP_SIZE(FOCUS_MODES_MAP), *focusMode); in translateCbUrgentMetadataToResultMetadata()
7245 uint8_t focusMode; in translateCapabilityToMetadata() local
7257 focusMode = ANDROID_CONTROL_AF_MODE_CONTINUOUS_PICTURE; in translateCapabilityToMetadata()
7266 focusMode = ANDROID_CONTROL_AF_MODE_CONTINUOUS_PICTURE; in translateCapabilityToMetadata()
7275 focusMode = ANDROID_CONTROL_AF_MODE_CONTINUOUS_VIDEO; in translateCapabilityToMetadata()
7289 focusMode = ANDROID_CONTROL_AF_MODE_CONTINUOUS_VIDEO; in translateCapabilityToMetadata()
7303 focusMode = ANDROID_CONTROL_AF_MODE_CONTINUOUS_PICTURE; in translateCapabilityToMetadata()
7316 focusMode = ANDROID_CONTROL_AF_MODE_OFF; in translateCapabilityToMetadata()
7332 focusMode = ANDROID_CONTROL_AF_MODE_OFF; in translateCapabilityToMetadata()
[all …]
/device/lge/bullhead/camera/QCamera2/HAL3/
DQCamera3HWI.cpp5101 IF_META_AVAILABLE(uint32_t, focusMode, CAM_INTF_PARM_FOCUS_MODE, metadata) { in translateCbUrgentMetadataToResultMetadata()
5102 int val = lookupFwkName(FOCUS_MODES_MAP, METADATA_MAP_SIZE(FOCUS_MODES_MAP), *focusMode); in translateCbUrgentMetadataToResultMetadata()
7242 uint8_t focusMode; in translateCapabilityToMetadata() local
7254 focusMode = ANDROID_CONTROL_AF_MODE_CONTINUOUS_PICTURE; in translateCapabilityToMetadata()
7263 focusMode = ANDROID_CONTROL_AF_MODE_CONTINUOUS_PICTURE; in translateCapabilityToMetadata()
7272 focusMode = ANDROID_CONTROL_AF_MODE_CONTINUOUS_VIDEO; in translateCapabilityToMetadata()
7286 focusMode = ANDROID_CONTROL_AF_MODE_CONTINUOUS_VIDEO; in translateCapabilityToMetadata()
7300 focusMode = ANDROID_CONTROL_AF_MODE_CONTINUOUS_PICTURE; in translateCapabilityToMetadata()
7313 focusMode = ANDROID_CONTROL_AF_MODE_OFF; in translateCapabilityToMetadata()
7329 focusMode = ANDROID_CONTROL_AF_MODE_OFF; in translateCapabilityToMetadata()
[all …]