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

Function Interp3

src/Engine/Scalers/common.h:93–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93static inline uint32_t Interp3(uint32_t c1, uint32_t c2)
94{
95 //(c1*7+c2)/8;
96 return Interpolate_2(c1, 7, c2, 1, 3);
97}
98
99static inline uint32_t Interp4(uint32_t c1, uint32_t c2, uint32_t c3)
100{

Callers

nothing calls this directly

Calls 1

Interpolate_2Function · 0.85

Tested by

no test coverage detected