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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user