1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 08:13:04 +04:00

Merge branch '2.4'

This commit is contained in:
Andrey Kamaev
2012-10-23 20:32:19 +04:00
24 changed files with 131 additions and 79 deletions
-1
View File
@@ -2543,7 +2543,6 @@ public:
data(_data),
centers(_centers)
{
CV_DbgAssert(centers.cols == data.cols);
}
void operator()( const BlockedRange& range ) const
+2 -2
View File
@@ -361,8 +361,8 @@ void cv::setNumThreads( int threads )
else if (pplScheduler == 0 || 1 + pplScheduler->GetNumberOfVirtualProcessors() != (unsigned int)threads)
{
pplScheduler = Concurrency::Scheduler::Create(Concurrency::SchedulerPolicy(2,
Concurrency::PolicyElementKey::MinConcurrency, threads-1,
Concurrency::PolicyElementKey::MaxConcurrency, threads-1));
Concurrency::MinConcurrency, threads-1,
Concurrency::MaxConcurrency, threads-1));
}
#endif