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

core: divUp function

This commit is contained in:
Alexander Alekhin
2017-08-03 11:57:45 +03:00
parent 2e608b1c97
commit 9ca39821c8
3 changed files with 17 additions and 10 deletions
@@ -23,11 +23,6 @@ enum
CTA_SIZE_DEFAULT = 256
};
static int divUp(int a, int b)
{
return (a + b - 1) / b;
}
template <typename FT, typename ST, typename WT>
static bool ocl_calcAlmostDist2Weight(UMat & almostDist2Weight,
int searchWindowSize, int templateWindowSize,