Searched refs:inW (Results 1 – 1 of 1) sorted by relevance
/hardware/interfaces/camera/device/3.4/default/ |
D | ExternalCameraUtils.cpp | 251 uint32_t inW = inSize.width; in getCropRect() local 263 out->width = inW; in getCropRect() 269 uint64_t scaledOutH = static_cast<uint64_t>(outH) * inW / outW; in getCropRect() 272 __FUNCTION__, outW, outH, inW, inH); in getCropRect() 279 out->width = inW; in getCropRect() 282 __FUNCTION__, inW, inH, outW, outH, out->top, static_cast<int32_t>(scaledOutH)); in getCropRect() 285 if (scaledOutW > inW) { in getCropRect() 287 __FUNCTION__, outW, outH, inW, inH); in getCropRect() 292 out->left = ((inW - scaledOutW) / 2) & ~0x1; in getCropRect() 297 __FUNCTION__, inW, inH, outW, outH, out->top, static_cast<int32_t>(scaledOutW)); in getCropRect()
|