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

Function HistIndex

jni/stasm/hat.cpp:297–300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

295// degrees less than but near 360 get smeared out by trilinear interpolation.
296
297static inline int HistIndex(int row, int col, int iorient) // index into histbins
298{
299 return ((row+1) * (1+GRIDWIDTH+1) + (col+1)) * (BINS_PER_HIST+1) + iorient;
300}
301
302void GetHistograms( // get all histogram bins
303 vec_double& histbins, // out

Callers 3

GetHistogramsFunction · 0.85
WrapHistogramsFunction · 0.85
CopyHistsToDescFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected