MCPcopy Create free account
hub / github.com/HackWebRTC/webrtc / Add

Method Add

modules/audio_coding/neteq/histogram.cc:49–105  ·  view source on GitHub ↗

Each element in the vector is first multiplied by the forgetting factor |forget_factor_|. Then the vector element indicated by |iat_packets| is then increased (additive) by 1 - |forget_factor_|. This way, the probability of |value| is slightly increased, while the sum of the histogram remains constant (=1). Due to inaccuracies in the fixed-point arithmetic, the histogram may no longer sum up to 1

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

TESTFunction · 0.45
UpdateMethod · 0.45

Calls 2

sizeMethod · 0.45
valueMethod · 0.45

Tested by 1

TESTFunction · 0.36