Lines Matching refs:y1
133 uint32_t y1 = std::floor(static_cast<float>(y)); in roiAlignNhwc() local
134 uint32_t x2 = x1 + 1, y2 = y1 + 1; in roiAlignNhwc()
136 T_Roi dy1 = y - static_cast<T_Roi>(y1); in roiAlignNhwc()
143 if (y1 >= inHeight - 1) { in roiAlignNhwc()
144 y1 = y2 = inHeight - 1; in roiAlignNhwc()
150 uint32_t offsets[] = {y1 * inWidth * inDepth + x1 * inDepth, in roiAlignNhwc()
151 y1 * inWidth * inDepth + x2 * inDepth, in roiAlignNhwc()
260 uint32_t x1 = std::floor(x), y1 = std::floor(y); in roiAlignNhwc() local
261 uint32_t x2 = x1 + 1, y2 = y1 + 1; in roiAlignNhwc()
263 float dy1 = y - static_cast<float>(y1); in roiAlignNhwc()
270 if (y1 >= inHeight - 1) { in roiAlignNhwc()
271 y1 = y2 = inHeight - 1; in roiAlignNhwc()
277 uint32_t offsets[] = {y1 * inWidth * inDepth + x1 * inDepth, in roiAlignNhwc()
278 y1 * inWidth * inDepth + x2 * inDepth, in roiAlignNhwc()