- 12 May, 2019 1 commit
-
-
Jun Zhao authored
Condition 'sum==2' is always true, so remove the check logic to make the code clean. Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
-
- 12 Apr, 2017 1 commit
-
-
James Almer authored
Fixes some valgrind warnings. Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
-
- 18 Oct, 2016 1 commit
-
-
Rostislav Pehlivanov authored
Performance improvements: quant_bands: with: 681 decicycles in quant_bands, 8388453 runs, 155 skips without: 1190 decicycles in quant_bands, 8388386 runs, 222 skips Around 42% for the function Twoloop coder: abs_pow34: with/without: 7.82s/8.17s Around 4% for the entire encoder Both: with/without: 7.15s/8.17s Around 12% for the entire encoder Fast coder: abs_pow34: with/without: 3.40s/3.77s Around 10% for the entire encoder Both: with/without: 3.02s/3.77s Around 20% faster for the entire encoder Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com> Tested-by: Michael Niedermayer <michael@niedermayer.cc> Reviewed-by: James Almer <jamrial@gmail.com>
-
- 08 Dec, 2015 1 commit
-
-
Rostislav Pehlivanov authored
Makes no sense to enable for high bitrates, the coder does well enough. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
-
- 03 Dec, 2015 1 commit
-
-
Rostislav Pehlivanov authored
Discovered by Coverity.
-
- 26 Nov, 2015 2 commits
-
-
Rostislav Pehlivanov authored
This hugely reduces the echo which was introduced with the previous commit (though likely because previously everything was broken). Makes LTP actually worthwhile now. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
-
Rostislav Pehlivanov authored
This commit attempts to mirror what the decoder does more closely in addition to fixing some shortcomings.
-
- 17 Oct, 2015 5 commits
-
-
Rostislav Pehlivanov authored
There were some errors in the calculation as well as an entire unnecessary loop to find the gain coefficient. Merge the two loops. Thanks to @ubitux for the suggestions and testing.
-
Rostislav Pehlivanov authored
-
Rostislav Pehlivanov authored
Suggested by ubitux. Convenient.
-
Rostislav Pehlivanov authored
A value of 2048 will overflow 11 bits.
-
Rostislav Pehlivanov authored
Long Term Prediction allows for prediction of spectral coefficients via the previously decoded time-dependent samples. This feature works well with harmonic content 2 or more frames long, like speech, human or non-human, piano music or any constant tones at very low bitrates. It should be noted that the current coder is highly efficient and the rate control system is unable to encode files at extremely low bitrates (less than 14kbps seems to be impossible) so this extension isn't capable of optimum operation. Dramatic difference is observable with some types of audio and speech but for the most part the audiable differences are subtle. The spectrum looks better however so the encoder is able to harvest the additional bits that this feature provies, should the user choose to enable it. So it's best to enable this feature only if encoding at the absolutely lowest bitrate that the encoder is capable of.
-