MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / FastS16weight2

Function FastS16weight2

src/SB/Core/gc/iMorph.cpp:281–293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

279}
280
281void FastS16weight2(F32* dest, S16** v_array, S16* weight, S32 count, F32 scale)
282{
283 S32 i;
284 S16* a = v_array[0];
285 S16* b = v_array[1];
286 F32 s0 = scale * weight[0];
287 F32 s1 = scale * weight[1];
288
289 for (i = 0; i < count; i++)
290 {
291 dest[i] = a[i] * s0 + b[i] * s1;
292 }
293}
294
295void FastS16weight4(F32* dest, S16** v_array, S16* weight, S32 count, F32 scale)
296{

Callers 1

MorphCommonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected