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

Function WrapHistograms

jni/stasm/hat.cpp:349–358  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

347}
348
349static void WrapHistograms(
350 vec_double& histbins)
351{
352 for (int row = 0; row < GRIDHEIGHT; row++)
353 for (int col = 0; col < GRIDWIDTH; col++)
354 {
355 const int ibin = HistIndex(row, col, 0);
356 histbins[ibin] += histbins[ibin + BINS_PER_HIST]; // 360 wraps to 0
357 }
358}
359
360static void CopyHistsToDesc( // copy histograms to descriptor, skipping pad bins
361 VEC& desc, // out

Callers 1

Desc_Method · 0.85

Calls 1

HistIndexFunction · 0.85

Tested by

no test coverage detected