MCPcopy Create free account
hub / github.com/KAlO2/PerfectShow / round2

Function round2

jni/stasm/hatdesc.cpp:100–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98#endif // not CACHE
99
100static int round2(double x) // return closest int to x that is divisible by 2
101{
102 return 2 * cvRound(x / 2);
103}
104
105static int PatchWidth( // patchwidth at the given pyramid level
106 int ilev) // in: pyramid level (0 is full size)

Callers 3

PatchWidthFunction · 0.85
HatDescSearchFunction · 0.85
TraceShapeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected