Searched refs:bestWidth (Results 1 – 1 of 1) sorted by relevance
558 int32_t bestWidth = -1; in roundBufferDimensionNearest() local571 bestWidth = width; in roundBufferDimensionNearest()574 } else if (w <= ROUNDING_WIDTH_CAP && (bestWidth == -1 || in roundBufferDimensionNearest()576 CameraDeviceClient::euclidDistSquare(bestWidth, bestHeight, width, height))) { in roundBufferDimensionNearest()577 bestWidth = w; in roundBufferDimensionNearest()583 if (bestWidth == -1) { in roundBufferDimensionNearest()590 *outWidth = bestWidth; in roundBufferDimensionNearest()