Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.cpp1539 int32_t bestWidth = -1; in roundBufferDimensionNearest() local
1552 bestWidth = width; in roundBufferDimensionNearest()
1555 } else if (w <= ROUNDING_WIDTH_CAP && (bestWidth == -1 || in roundBufferDimensionNearest()
1557 CameraDeviceClient::euclidDistSquare(bestWidth, bestHeight, width, height))) { in roundBufferDimensionNearest()
1558 bestWidth = w; in roundBufferDimensionNearest()
1564 if (bestWidth == -1) { in roundBufferDimensionNearest()
1571 *outWidth = bestWidth; in roundBufferDimensionNearest()