Eliminate discrepancies between signatures in documentation and OpenCV headers

All errors were found by doc/check_docs2.py
This commit is contained in:
Andrey Kamaev
2012-10-17 21:24:55 +04:00
parent 04384a71e4
commit 461b69f6ee
14 changed files with 124 additions and 123 deletions

View File

@@ -13,11 +13,11 @@ ocl::getDevice
------------------
Returns the list of devices
.. ocv:function:: int ocl::getDevice(std::vector<Info>& oclinfo, int devicetype = CVCL_DEVICE_TYPE_GPU)
.. ocv:function:: int ocl::getDevice( std::vector<Info> & oclinfo, int devicetype=CVCL_DEVICE_TYPE_GPU )
:param oclinfo: Output vector of ``ocl::Info`` structures
:param devicetype: One of ``CVCL_DEVICE_TYPE_GPU``, ``CVCL_DEVICE_TYPE_CPU`` or ``CVCL_DEVICE_TYPE_DEFAULT``.
the function must be called before any other ``cv::ocl`` functions; it initializes ocl runtime.