Searched refs:bestWidth (Results 1 - 1 of 1) sorted by relevance

/frameworks/av/services/camera/libcameraservice/api2/
H A DCameraDeviceClient.cpp558 int32_t bestWidth = -1; local
571 bestWidth = width;
574 } else if (w <= ROUNDING_WIDTH_CAP && (bestWidth == -1 ||
576 CameraDeviceClient::euclidDistSquare(bestWidth, bestHeight, width, height))) {
577 bestWidth = w;
583 if (bestWidth == -1) {
590 *outWidth = bestWidth;

Completed in 440 milliseconds