Searched refs:inH (Results 1 – 2 of 2) sorted by relevance
/hardware/interfaces/camera/device/default/ |
D | ExternalCameraUtils.cpp | 462 uint32_t inH = inSize.height; in getCropRect() local 474 out->height = static_cast<int32_t>(inH); in getCropRect() 480 if (scaledOutH > inH) { in getCropRect() 482 __FUNCTION__, outW, outH, inW, inH); in getCropRect() 488 out->top = static_cast<int32_t>((inH - scaledOutH) / 2) & ~0x1; in getCropRect() 491 ALOGV("%s: crop %dx%d to %dx%d: top %d, scaledH %d", __FUNCTION__, inW, inH, outW, outH, in getCropRect() 494 uint64_t scaledOutW = static_cast<uint64_t>(outW) * inH / outH; in getCropRect() 497 __FUNCTION__, outW, outH, inW, inH); in getCropRect() 505 out->height = static_cast<int32_t>(inH); in getCropRect() 506 ALOGV("%s: crop %dx%d to %dx%d: top %d, scaledW %d", __FUNCTION__, inW, inH, outW, outH, in getCropRect()
|
/hardware/interfaces/camera/device/3.4/default/ |
D | ExternalCameraUtils.cpp | 281 uint32_t inH = inSize.height; in getCropRect() local 293 out->height = inH; in getCropRect() 299 if (scaledOutH > inH) { in getCropRect() 301 __FUNCTION__, outW, outH, inW, inH); in getCropRect() 307 out->top = ((inH - scaledOutH) / 2) & ~0x1; in getCropRect() 311 __FUNCTION__, inW, inH, outW, outH, out->top, static_cast<int32_t>(scaledOutH)); in getCropRect() 313 uint64_t scaledOutW = static_cast<uint64_t>(outW) * inH / outH; in getCropRect() 316 __FUNCTION__, outW, outH, inW, inH); in getCropRect() 324 out->height = inH; in getCropRect() 326 __FUNCTION__, inW, inH, outW, outH, out->top, static_cast<int32_t>(scaledOutW)); in getCropRect()
|