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

Function cmp32f

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

Source from the content-addressed store, hash-verified

2410}
2411
2412static void cmp32f(const float* src1, size_t step1, const float* src2, size_t step2,
2413 uchar* dst, size_t step, Size size, void* _cmpop)
2414{
2415#if ARITHM_USE_IPP
2416 IppCmpOp op = convert_cmp(*(int *)_cmpop);
2417 if( op >= 0 )
2418 {
2419 fixSteps(size, sizeof(dst[0]), step1, step2, step);
2420 if( ippiCompare_32f_C1R(src1, (int)step1, src2, (int)step2, dst, (int)step, ippiSize(size), op) >= 0 )
2421 return;
2422 }
2423#endif
2424 cmp_(src1, step1, src2, step2, dst, step, size, *(int*)_cmpop);
2425}
2426
2427static void cmp64f(const double* src1, size_t step1, const double* src2, size_t step2,
2428 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