Searched refs:focus_distance (Results 1 – 5 of 5) sorted by relevance
/hardware/google/camera/common/hal/tests/ |
D | hal_camera_metadata_tests.cc | 120 float focus_distance = 0.5f; in SetGetMetadata() local 121 res = hal_metadata->Set(ANDROID_LENS_FOCUS_DISTANCE, &focus_distance, 1); in SetGetMetadata() 128 ASSERT_EQ(focus_distance, *entry.data.f) << "Get float data failed."; in SetGetMetadata()
|
/hardware/google/camera/devices/EmulatedCamera/hwl/utils/ |
D | ExifUtils.cpp | 680 float focus_distance = 1.0f / diopters; in SetSubjectDistance() local 682 static_cast<uint32_t>(std::round(focus_distance * kRationalPrecision)); in SetSubjectDistance() 685 if (focus_distance < 1.0f) { in SetSubjectDistance() 687 } else if (focus_distance < 3.0f) { in SetSubjectDistance()
|
/hardware/qcom/camera/msm8998/QCamera2/HAL/ |
D | QCamera2HWICallbacks.cpp | 2275 focus_distance[CAM_FOCUS_DISTANCE_OPTIMAL_INDEX] = *focusDistance; in metadata_stream_cb_routine() 2279 focus_distance[CAM_FOCUS_DISTANCE_NEAR_INDEX] = focusRange[0]; in metadata_stream_cb_routine() 2281 focus_distance[CAM_FOCUS_DISTANCE_FAR_INDEX] = focusRange[1]; in metadata_stream_cb_routine()
|
D | QCameraParameters.cpp | 11518 if (focusDistances->focus_distance[0] < FOCUS_PERCISION) { in updateFocusDistances() 11521 snprintf(buffer, sizeof(buffer), "%f", 1.0/focusDistances->focus_distance[0]); in updateFocusDistances() 11524 if (focusDistances->focus_distance[1] < FOCUS_PERCISION) { in updateFocusDistances() 11527 snprintf(buffer, sizeof(buffer), ",%f", 1.0/focusDistances->focus_distance[1]); in updateFocusDistances() 11530 if (focusDistances->focus_distance[2] < FOCUS_PERCISION) { in updateFocusDistances() 11533 snprintf(buffer, sizeof(buffer), ",%f", 1.0/focusDistances->focus_distance[2]); in updateFocusDistances()
|
/hardware/qcom/camera/msm8998/QCamera2/stack/common/ |
D | cam_types.h | 1456 float focus_distance[CAM_FOCUS_DISTANCE_MAX_INDEX]; member
|