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

OpenVX calls updated to use single common OpenVX context per thread

This commit is contained in:
Vitaly Tuzov
2017-02-14 13:32:17 +03:00
committed by Alexander Alekhin
parent ec7f74f7b4
commit 9a4b5a4545
16 changed files with 68 additions and 21 deletions
+1 -1
View File
@@ -1958,7 +1958,7 @@ static bool openvx_accumulate(InputArray _src, InputOutputArray _dst, InputArray
try
{
ivx::Context context = ivx::Context::create();
ivx::Context context = ovx::getOpenVXContext();
ivx::Image srcImage = ivx::Image::createFromHandle(context, ivx::Image::matTypeToFormat(srcMat.type()),
ivx::Image::createAddressing(srcMat), srcMat.data);
ivx::Image dstImage = ivx::Image::createFromHandle(context, ivx::Image::matTypeToFormat(dstMat.type()),