Searched refs:cur_frame (Results 1 – 1 of 1) sorted by relevance
9 static inline uint32_t interpolate(uint32_t max, int32_t cur_frame, int32_t period) { in interpolate() argument10 float fraction = ((float) (cur_frame % period)) / ((float) period - 1); in interpolate()11 fraction = (cur_frame / period) % 2 ? 1.0f - fraction : fraction; in interpolate()
Completed in 2 milliseconds