Lines Matching refs:outRoi
480 NcvSize32u outRoi,
486 …ncvAssertReturn(outRoi.width <= this->layer0->width() && outRoi.height <= this->layer0->height() &&
487 outRoi.width > 0 && outRoi.height > 0, NCV_DIMENSIONS_INVALID);
489 if (outRoi.width == this->layer0->width() && outRoi.height == this->layer0->height())
506 if (outRoi.width == curLayer->width() && outRoi.height == curLayer->height())
512 if (outRoi.width >= curLayer->width() && outRoi.height >= curLayer->height())
514 if (outRoi.width < lastLayer->width() && outRoi.height < lastLayer->height())
541 dim3 gDim(divUp(outRoi.width, bDim.x), divUp(outRoi.height, bDim.y));
547 outRoi);
554 ncvAssertReturnNcvStat(outImg.copy2D(h_outImg, outRoi, cuStream));
557 for (Ncv32u i=0; i<outRoi.height; i++)
559 for (Ncv32u j=0; j<outRoi.width; j++)
562 Ncv32f ptTopX = 1.0f * (szTopLayer.width - 1) * j / (outRoi.width - 1);
563 Ncv32f ptTopY = 1.0f * (szTopLayer.height - 1) * i / (outRoi.height - 1);
572 for (Ncv32u i=0; i<outRoi.height; i++)
574 for (Ncv32u j=0; j<outRoi.width; j++)
578 Ncv32f ptTopX = 1.0f * (szTopLayer.width - 1) * j / (outRoi.width - 1);
579 Ncv32f ptTopY = 1.0f * (szTopLayer.height - 1) * i / (outRoi.height - 1);
587 Ncv32f ptBottomX = 1.0f * (szBottomLayer.width - 1) * j / (outRoi.width - 1);
588 Ncv32f ptBottomY = 1.0f * (szBottomLayer.height - 1) * i / (outRoi.height - 1);
591 …Ncv32f scale = (1.0f * outRoi.width / layer0->width() + 1.0f * outRoi.height / layer0->height()) /…