MCPcopy Create free account
hub / github.com/MoeMod/CSMoE / S_MixBufferUpsample2x

Function S_MixBufferUpsample2x

engine/client/s_mix.cpp:801–827  ·  view source on GitHub ↗

upsample by 2x, optionally using interpolation count: how many samples to upsample. will become count*2 samples in buffer, in place. pbuffer: buffer to upsample into (in place) pfiltermem: filter memory. NOTE: this must match the filtertype ie: filterlinear[] for FILTERTYPE_LINEAR if NULL then perform no filtering. cfltmem: max number of sample pairs filter can use filtertype: FILTERTYPE_NONE, _L

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

S_MixUpsampleFunction · 0.85

Calls 2

S_Interpolate2xLinearFunction · 0.85
S_Interpolate2xCubicFunction · 0.85

Tested by

no test coverage detected