Home
last modified time | relevance | path

Searched refs:calibration (Results 1 – 2 of 2) sorted by relevance

/cts/hostsidetests/adpf/app/hintsession/src/cpp/
Dmain.cpp120 FrameStats calibration[2]; in calibrate() local
127 calibration[0] = drawFrames(kCalibrationSamples, pApp, events, pSource); in calibrate()
129 calibration[1] = drawFrames(kCalibrationSamples, pApp, events, pSource); in calibrate()
131 double target = calibration[1].medianFrameInterval / 6.0; in calibrate()
134 (calibration[1].medianWorkDuration - calibration[0].medianWorkDuration) / 200.0; in calibrate()
136 int heads = (target - static_cast<double>(calibration[0].medianWorkDuration)) / perHeadDuration; in calibrate()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DStaticMetadata.java510 Integer calibration = getValueFromKeyNonNull(key); in getFocusDistanceCalibrationChecked() local
512 if (calibration == null) { in getFocusDistanceCalibrationChecked()
517 calibration >= CameraMetadata.LENS_INFO_FOCUS_DISTANCE_CALIBRATION_UNCALIBRATED && in getFocusDistanceCalibrationChecked()
518 calibration <= CameraMetadata.LENS_INFO_FOCUS_DISTANCE_CALIBRATION_CALIBRATED); in getFocusDistanceCalibrationChecked()
520 return calibration; in getFocusDistanceCalibrationChecked()