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:
committed by
Alexander Alekhin
parent
ec7f74f7b4
commit
9a4b5a4545
@@ -286,7 +286,7 @@ static bool openvx_harris(Mat image, OutputArray _corners,
|
||||
|
||||
try
|
||||
{
|
||||
Context context = Context::create();
|
||||
Context context = ovx::getOpenVXContext();
|
||||
|
||||
Image ovxImage = Image::createFromHandle(context, Image::matTypeToFormat(image.type()),
|
||||
Image::createAddressing(image), image.data);
|
||||
|
||||
Reference in New Issue
Block a user