Lines Matching refs:x1
128 uint32_t x1 = std::floor(static_cast<float>(x)); in roiAlignNhwc() local
130 uint32_t x2 = x1 + 1, y2 = y1 + 1; in roiAlignNhwc()
131 T_Roi dx1 = x - static_cast<T_Roi>(x1); in roiAlignNhwc()
135 if (x1 >= inWidth - 1) { in roiAlignNhwc()
136 x1 = x2 = inWidth - 1; in roiAlignNhwc()
146 uint32_t offsets[] = {y1 * inWidth * inDepth + x1 * inDepth, in roiAlignNhwc()
148 y2 * inWidth * inDepth + x1 * 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()
257 float dx1 = x - static_cast<float>(x1); in roiAlignQuantNhwc()
261 if (x1 >= inWidth - 1) { in roiAlignQuantNhwc()
262 x1 = x2 = inWidth - 1; in roiAlignQuantNhwc()
272 uint32_t offsets[] = {y1 * inWidth * inDepth + x1 * inDepth, in roiAlignQuantNhwc()
274 y2 * inWidth * inDepth + x1 * inDepth, in roiAlignQuantNhwc()