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

Function IncreasingLeftMargin

jni/stasm/MOD_1/facedet.cpp:98–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96// order by increasing distance from left marg, and dist from top marg within that
97
98static bool IncreasingLeftMargin( // compare predicate for std::sort
99 const DetectorParameter& detpar1, // in
100 const DetectorParameter& detpar2) // in
101{
102 return 1e5 * detpar2.x + detpar2.y >
103 1e5 * detpar1.x + detpar1.y;
104}
105
106// order by decreasing width, and dist from the left margin within that
107

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected