Home
last modified time | relevance | path

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

/hardware/interfaces/camera/device/3.4/default/
DExternalCameraDeviceSession.cpp989 uint32_t inH = inSize.height; in getCropRect() local
1001 out->height = inH; in getCropRect()
1007 if (scaledOutH > inH) { in getCropRect()
1009 __FUNCTION__, outW, outH, inW, inH); in getCropRect()
1015 out->top = ((inH - scaledOutH) / 2) & ~0x1; in getCropRect()
1019 __FUNCTION__, inW, inH, outW, outH, out->top, static_cast<int32_t>(scaledOutH)); in getCropRect()
1021 uint64_t scaledOutW = static_cast<uint64_t>(outW) * inH / outH; in getCropRect()
1024 __FUNCTION__, outW, outH, inW, inH); in getCropRect()
1032 out->height = inH; in getCropRect()
1034 __FUNCTION__, inW, inH, outW, outH, out->top, static_cast<int32_t>(scaledOutW)); in getCropRect()