Searched refs:lastSucceeded (Results 1 – 1 of 1) sorted by relevance
147 static int correctFocus(bool lastSucceeded, FocusState & state, double rate) in correctFocus() argument165 if (!lastSucceeded) in correctFocus()324 bool lastSucceeded = true; in main() local385 int stepToCorrect = correctFocus(lastSucceeded, state, rateFrame(frame)); in main()386 lastSucceeded = cap.set(CAP_PROP_ZOOM, in main()388 if ((!lastSucceeded) || (stepToCorrect < state.minFocusStep)) in main()