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

Function PatchWidth

jni/stasm/hatdesc.cpp:105–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105static int PatchWidth( // patchwidth at the given pyramid level
106 int ilev) // in: pyramid level (0 is full size)
107{
108 return HAT_PATCH_WIDTH + round2(ilev * HAT_PATCH_WIDTH_ADJ);
109}
110
111void InitHatLevData( // init the global HAT data needed for this pyr level
112 const Image& img, // in

Callers 1

InitHatLevDataFunction · 0.85

Calls 1

round2Function · 0.85

Tested by

no test coverage detected