MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / Interp8

Function Interp8

src/Engine/Scalers/common.h:123–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123static inline uint32_t Interp8(uint32_t c1, uint32_t c2)
124{
125 //(c1*5+c2*3)/8;
126 return Interpolate_2(c1, 5, c2, 3, 3);
127}
128
129static inline uint32_t Interp9(uint32_t c1, uint32_t c2, uint32_t c3)
130{

Callers

nothing calls this directly

Calls 1

Interpolate_2Function · 0.85

Tested by

no test coverage detected