Home
last modified time | relevance | path

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

/hardware/interfaces/camera/device/3.4/default/
DExternalCameraDeviceSession.cpp988 uint32_t inW = inSize.width; in getCropRect() local
1000 out->width = inW; in getCropRect()
1006 uint64_t scaledOutH = static_cast<uint64_t>(outH) * inW / outW; in getCropRect()
1009 __FUNCTION__, outW, outH, inW, inH); in getCropRect()
1016 out->width = inW; in getCropRect()
1019 __FUNCTION__, inW, inH, outW, outH, out->top, static_cast<int32_t>(scaledOutH)); in getCropRect()
1022 if (scaledOutW > inW) { in getCropRect()
1024 __FUNCTION__, outW, outH, inW, inH); in getCropRect()
1029 out->left = ((inW - scaledOutW) / 2) & ~0x1; in getCropRect()
1034 __FUNCTION__, inW, inH, outW, outH, out->top, static_cast<int32_t>(scaledOutW)); in getCropRect()