Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/utils/
DSessionConfigurationUtils.cpp180 int32_t bestWidth = -1; in roundBufferDimensionNearest() local
193 bestWidth = width; in roundBufferDimensionNearest()
196 } else if (w <= ROUNDING_WIDTH_CAP && (bestWidth == -1 || in roundBufferDimensionNearest()
198 SessionConfigurationUtils::euclidDistSquare(bestWidth, bestHeight, width, in roundBufferDimensionNearest()
200 bestWidth = w; in roundBufferDimensionNearest()
206 if (bestWidth == -1) { in roundBufferDimensionNearest()
215 *outWidth = bestWidth; in roundBufferDimensionNearest()