Searched refs:scaledOutW (Results 1 – 2 of 2) sorted by relevance
494 uint64_t scaledOutW = static_cast<uint64_t>(outW) * inH / outH; in getCropRect() local495 if (scaledOutW > inW) { in getCropRect()500 scaledOutW = scaledOutW & ~0x1; // make it multiple of 2 in getCropRect()502 out->left = static_cast<int32_t>((inW - scaledOutW) / 2) & ~0x1; in getCropRect()504 out->width = static_cast<int32_t>(scaledOutW); in getCropRect()507 out->top, static_cast<int32_t>(scaledOutW)); in getCropRect()
313 uint64_t scaledOutW = static_cast<uint64_t>(outW) * inH / outH; in getCropRect() local314 if (scaledOutW > inW) { in getCropRect()319 scaledOutW = scaledOutW & ~0x1; // make it multiple of 2 in getCropRect()321 out->left = ((inW - scaledOutW) / 2) & ~0x1; in getCropRect()323 out->width = static_cast<int32_t>(scaledOutW); in getCropRect()326 __FUNCTION__, inW, inH, outW, outH, out->top, static_cast<int32_t>(scaledOutW)); in getCropRect()