Searched refs:scaledOutH (Results 1 – 2 of 2) sorted by relevance
479 uint64_t scaledOutH = static_cast<uint64_t>(outH) * inW / outW; in getCropRect() local480 if (scaledOutH > inH) { in getCropRect()485 scaledOutH = scaledOutH & ~0x1; // make it multiple of 2 in getCropRect()488 out->top = static_cast<int32_t>((inH - scaledOutH) / 2) & ~0x1; in getCropRect()490 out->height = static_cast<int32_t>(scaledOutH); in getCropRect()492 out->top, static_cast<int32_t>(scaledOutH)); in getCropRect()
298 uint64_t scaledOutH = static_cast<uint64_t>(outH) * inW / outW; in getCropRect() local299 if (scaledOutH > inH) { in getCropRect()304 scaledOutH = scaledOutH & ~0x1; // make it multiple of 2 in getCropRect()307 out->top = ((inH - scaledOutH) / 2) & ~0x1; in getCropRect()309 out->height = static_cast<int32_t>(scaledOutH); in getCropRect()311 __FUNCTION__, inW, inH, outW, outH, out->top, static_cast<int32_t>(scaledOutH)); in getCropRect()