MCPcopy Create free account
hub / github.com/creatale/node-dv / cmp16u

Function cmp16u

deps/opencv/modules/core/src/arithm.cpp:2291–2304  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2289}
2290
2291static void cmp16u(const ushort* src1, size_t step1, const ushort* src2, size_t step2,
2292 uchar* dst, size_t step, Size size, void* _cmpop)
2293{
2294#if ARITHM_USE_IPP
2295 IppCmpOp op = convert_cmp(*(int *)_cmpop);
2296 if( op >= 0 )
2297 {
2298 fixSteps(size, sizeof(dst[0]), step1, step2, step);
2299 if( ippiCompare_16u_C1R(src1, (int)step1, src2, (int)step2, dst, (int)step, ippiSize(size), op) >= 0 )
2300 return;
2301 }
2302#endif
2303 cmp_(src1, step1, src2, step2, dst, step, size, *(int*)_cmpop);
2304}
2305
2306static void cmp16s(const short* src1, size_t step1, const short* src2, size_t step2,
2307 uchar* dst, size_t step, Size size, void* _cmpop)

Callers

nothing calls this directly

Calls 4

convert_cmpFunction · 0.85
fixStepsFunction · 0.85
cmp_Function · 0.85
ippiSizeFunction · 0.70

Tested by

no test coverage detected