Home | History | Annotate | Download | only in include

Lines Matching full:divisor

258    by the same constant. Most compilers do it too if they know the divisor value
263 unsigned delta, scale, divisor;
269 CV_INLINE CvFastDiv cvFastDiv( int divisor )
273 assert( divisor >= 1 );
274 uint64 temp = ((uint64)1 << CV_FAST_DIV_SHIFT)/divisor;
276 fastdiv.divisor = divisor;
277 fastdiv.delta = (unsigned)(((temp & 1) ^ 1) + divisor - 1);