@@ -31,7 +31,7 @@ Aligns a buffer size to the specified number of bytes.
31
31
32
32
:param n: Alignment size that must be a power of two.
33
33
34
- The function returns the minimum number that is greater or equal to ``sz `` and is divisible by ``n `` :
34
+ The function returns the minimum number that is greater than or equal to ``sz `` and is divisible by ``n `` :
35
35
36
36
.. math ::
37
37
@@ -363,7 +363,7 @@ Always returns 0 if called outside of parallel region.
363
363
364
364
.. ocv :function :: int getThreadNum()
365
365
366
- The exact meaning of return value depends on the threading framework used by OpenCV library:
366
+ The exact meaning of the return value depends on the threading framework used by OpenCV library:
367
367
368
368
* **TBB ** – Unsupported with current 4.1 TBB release. May be will be supported in future.
369
369
* **OpenMP ** – The thread number, within the current team, of the calling thread.
@@ -450,22 +450,22 @@ This operation is used in the simplest or most complex image processing function
450
450
setNumThreads
451
451
-----------------
452
452
OpenCV will try to set the number of threads for the next parallel region.
453
- If ``threads == 0 ``, OpenCV will disable threading optimizations and run all it's
453
+ If ``threads == 0 ``, OpenCV will disable threading optimizations and run all its
454
454
functions sequentially. Passing ``threads < 0 `` will reset threads number to system default.
455
455
This function must be called outside of parallel region.
456
456
457
457
.. ocv :function :: void setNumThreads(int nthreads)
458
458
459
459
:param nthreads: Number of threads used by OpenCV.
460
460
461
- OpenCV will try to run it's functions with specified threads number, but
461
+ OpenCV will try to run its functions with specified threads number, but
462
462
some behaviour differs from framework:
463
463
464
464
* **TBB ** – User-defined parallel constructions will run with the same threads number,
465
- if another does not specified. If late on user creates own scheduler, OpenCV will be use it.
465
+ if another is not specified. If late on user creates his own scheduler, OpenCV will be use it.
466
466
* **OpenMP ** – No special defined behaviour.
467
467
* **Concurrency ** – If ``threads == 1 ``, OpenCV will disable threading optimizations
468
- and run it's functions sequentially.
468
+ and run its functions sequentially.
469
469
* **GCD ** – Supports only values <= 0.
470
470
* **C= ** – No special defined behaviour.
471
471
0 commit comments