Home
last modified time | relevance | path

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

/hardware/interfaces/camera/device/3.4/default/
DExternalCameraUtils.cpp284 uint64_t scaledOutW = static_cast<uint64_t>(outW) * inH / outH; in getCropRect() local
285 if (scaledOutW > inW) { in getCropRect()
290 scaledOutW = scaledOutW & ~0x1; // make it multiple of 2 in getCropRect()
292 out->left = ((inW - scaledOutW) / 2) & ~0x1; in getCropRect()
294 out->width = static_cast<int32_t>(scaledOutW); in getCropRect()
297 __FUNCTION__, inW, inH, outW, outH, out->top, static_cast<int32_t>(scaledOutW)); in getCropRect()