added cv::cartToPolar to T-API

This commit is contained in:
Ilya Lavrenov
2013-11-30 20:05:54 +04:00
parent 435028ccee
commit ba850f0b64
4 changed files with 80 additions and 7 deletions

View File

@@ -1893,7 +1893,7 @@ Context2& Context2::getDefault()
// First, try to retrieve existing context of the same type.
// In its turn, Platform::getContext() may call Context2::create()
// if there is no such context.
ctx.create(Device::TYPE_ACCELERATOR);
ctx.create(Device::TYPE_CPU);
if(!ctx.p)
ctx.create(Device::TYPE_DGPU);
if(!ctx.p)