1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

Merge pull request #21475 from alexgiving:atrutnev/fix_tests

GAPI: Replace resize perf test to imgproc

* resize + test configs

* fluid kernel "add"

* Add fluid core
This commit is contained in:
Trutnev Aleksei
2022-01-27 15:27:41 +03:00
committed by GitHub
parent d41fcf7345
commit 9cab808c5d
11 changed files with 274 additions and 273 deletions
@@ -2078,8 +2078,8 @@ GAPI_FLUID_KERNEL(GFluidResize, cv::gapi::imgproc::GResize, true)
int outSz_h;
if (outSz.width == 0 || outSz.height == 0)
{
outSz_w = static_cast<int>(round(in.size.width * fx));
outSz_h = static_cast<int>(round(in.size.height * fy));
outSz_w = saturate_cast<int>(in.size.width * fx);
outSz_h = saturate_cast<int>(in.size.height * fy);
}
else
{