Lines Matching refs:y1
129 uint32_t y1 = std::floor(static_cast<float>(y)); in roiAlignNhwc() local
130 uint32_t x2 = x1 + 1, y2 = y1 + 1; in roiAlignNhwc()
132 T_Roi dy1 = y - static_cast<T_Roi>(y1); in roiAlignNhwc()
139 if (y1 >= inHeight - 1) { in roiAlignNhwc()
140 y1 = y2 = inHeight - 1; in roiAlignNhwc()
146 uint32_t offsets[] = {y1 * inWidth * inDepth + x1 * inDepth, in roiAlignNhwc()
147 y1 * inWidth * inDepth + x2 * inDepth, in roiAlignNhwc()
255 uint32_t x1 = std::floor(x), y1 = std::floor(y); in roiAlignQuantNhwc() local
256 uint32_t x2 = x1 + 1, y2 = y1 + 1; in roiAlignQuantNhwc()
258 float dy1 = y - static_cast<float>(y1); in roiAlignQuantNhwc()
265 if (y1 >= inHeight - 1) { in roiAlignQuantNhwc()
266 y1 = y2 = inHeight - 1; in roiAlignQuantNhwc()
272 uint32_t offsets[] = {y1 * inWidth * inDepth + x1 * inDepth, in roiAlignQuantNhwc()
273 y1 * inWidth * inDepth + x2 * inDepth, in roiAlignQuantNhwc()