Home
last modified time | relevance | path

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

/hardware/interfaces/camera/device/3.4/default/
DExternalCameraUtils.cpp269 uint64_t scaledOutH = static_cast<uint64_t>(outH) * inW / outW; in getCropRect() local
270 if (scaledOutH > inH) { in getCropRect()
275 scaledOutH = scaledOutH & ~0x1; // make it multiple of 2 in getCropRect()
278 out->top = ((inH - scaledOutH) / 2) & ~0x1; in getCropRect()
280 out->height = static_cast<int32_t>(scaledOutH); in getCropRect()
282 __FUNCTION__, inW, inH, outW, outH, out->top, static_cast<int32_t>(scaledOutH)); in getCropRect()