Lines Matching refs:y1
139 uint32_t y1 = std::floor(static_cast<float>(y)); in roiAlignNhwc() local
140 uint32_t x2 = x1 + 1, y2 = y1 + 1; in roiAlignNhwc()
142 T_Roi dy1 = y - static_cast<T_Roi>(y1); in roiAlignNhwc()
149 if (y1 >= inHeight - 1) { in roiAlignNhwc()
150 y1 = y2 = inHeight - 1; in roiAlignNhwc()
156 uint32_t offsets[] = {y1 * inWidth * inDepth + x1 * inDepth, in roiAlignNhwc()
157 y1 * inWidth * inDepth + x2 * inDepth, in roiAlignNhwc()
265 uint32_t x1 = std::floor(x), y1 = std::floor(y); in roiAlignQuantNhwc() local
266 uint32_t x2 = x1 + 1, y2 = y1 + 1; in roiAlignQuantNhwc()
268 float dy1 = y - static_cast<float>(y1); in roiAlignQuantNhwc()
275 if (y1 >= inHeight - 1) { in roiAlignQuantNhwc()
276 y1 = y2 = inHeight - 1; in roiAlignQuantNhwc()
282 uint32_t offsets[] = {y1 * inWidth * inDepth + x1 * inDepth, in roiAlignQuantNhwc()
283 y1 * inWidth * inDepth + x2 * inDepth, in roiAlignQuantNhwc()