MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / interpolate

Function interpolate

libavcodec/twinvq.c:270–279  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

268}
269
270static void interpolate(float *out, float v1, float v2, int size)
271{
272 int i;
273 float step = (v1 - v2)/(size + 1);
274
275 for (i = 0; i < size; i++) {
276 v2 += step;
277 out[i] = v2;
278 }
279}
280
281static inline float get_cos(int idx, int part, const float *cos_tab, int size)
282{

Callers 2

eval_lpcenv_or_interpFunction · 0.85
eval_lpcenv_2partsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected