move allocMatFromBuf function to farneback.cpp:

* it is the only place, where it is used
* no need to make this function public
This commit is contained in:
Vladislav Vinogradov
2014-12-18 18:02:58 +03:00
parent fd6ef87c32
commit 9210d8e542
3 changed files with 10 additions and 10 deletions

View File

@@ -314,8 +314,6 @@ The function does not reallocate memory if the matrix has proper attributes alre
*/
CV_EXPORTS void ensureSizeIsEnough(int rows, int cols, int type, OutputArray arr);
CV_EXPORTS GpuMat allocMatFromBuf(int rows, int cols, int type, GpuMat& mat);
//! BufferPool management (must be called before Stream creation)
CV_EXPORTS void setBufferPoolUsage(bool on);
CV_EXPORTS void setBufferPoolConfig(int deviceId, size_t stackSize, int stackCount);