Merge pull request #13480 from dbudniko:dbudniko/gapi_ocl_backend_internal_umat_size_fix

This commit is contained in:
Alexander Alekhin 2018-12-19 15:50:32 +00:00
commit e82d03ef61

View File

@ -102,7 +102,7 @@ cv::gimpl::GOCLExecutable::GOCLExecutable(const ade::Graph &g,
{
const auto mat_desc = util::get<cv::GMatDesc>(desc.meta);
const auto type = CV_MAKETYPE(mat_desc.depth, mat_desc.chan);
m_res.slot<cv::UMat>()[desc.rc].create(mat_desc.size.width, mat_desc.size.height, type);
m_res.slot<cv::UMat>()[desc.rc].create(mat_desc.size.height, mat_desc.size.width, type);
}
break;
}