Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/utils/
DSessionConfigurationUtils.cpp220 int32_t bestWidth = -1; in roundBufferDimensionNearest() local
233 bestWidth = width; in roundBufferDimensionNearest()
236 } else if (w <= ROUNDING_WIDTH_CAP && (bestWidth == -1 || in roundBufferDimensionNearest()
238 SessionConfigurationUtils::euclidDistSquare(bestWidth, bestHeight, width, in roundBufferDimensionNearest()
240 bestWidth = w; in roundBufferDimensionNearest()
246 if (bestWidth == -1) { in roundBufferDimensionNearest()
253 *outWidth = bestWidth; in roundBufferDimensionNearest()