mirror of https://github.com/FFmpeg/FFmpeg.git
The feedback factors for the timefilter are directly computed from the expected period. This commit changes the init function to accept the period itself and compute the feedback factors internally, rather than having all client code duplicate the formulas. This commit also actually fixes the formulas: the current code had sqrt(2*o), but the correct formula, both theoretically and according to experimental testing, is sqrt(2)*o. Furthermore, it adds an exponential to feedback factors larger than 1 with large periods.pull/3/merge
parent
1007a805a4
commit
3073aadf2d
4 changed files with 22 additions and 17 deletions
Loading…
Reference in new issue