Home
last modified time | relevance | path

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

/hardware/interfaces/camera/device/3.4/default/
DExternalCameraUtils.cpp252 uint32_t inH = inSize.height; in getCropRect() local
264 out->height = inH; in getCropRect()
270 if (scaledOutH > inH) { in getCropRect()
272 __FUNCTION__, outW, outH, inW, inH); in getCropRect()
278 out->top = ((inH - scaledOutH) / 2) & ~0x1; in getCropRect()
282 __FUNCTION__, inW, inH, outW, outH, out->top, static_cast<int32_t>(scaledOutH)); in getCropRect()
284 uint64_t scaledOutW = static_cast<uint64_t>(outW) * inH / outH; in getCropRect()
287 __FUNCTION__, outW, outH, inW, inH); in getCropRect()
295 out->height = inH; in getCropRect()
297 __FUNCTION__, inW, inH, outW, outH, out->top, static_cast<int32_t>(scaledOutW)); in getCropRect()