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

Function Step

jni/stasm/classicdesc.cpp:95–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95static inline int Step( // return x coord at the given offset along whisker
96 double x, // in: x coord of center of whisker
97 double xstep, // in: x dist to move one pixel along whisker
98 int offset) // in: offset along whisker in pixels
99{
100 return cvRound(x + (offset * xstep));
101}
102
103static inline int Pix( // get pixel at ix and iy, forcing ix and iy in range
104 const Image& img, // in

Callers 1

FullProfFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected