]> git.ipfire.org Git - thirdparty/asterisk.git/commit
translate.c: implement new direct comp table mode
authorSebastian Jennen <sj@imagearts.de>
Sun, 25 Feb 2024 20:53:57 +0000 (21:53 +0100)
committerSebastian Jennen <sj@imagearts.de>
Wed, 28 Feb 2024 13:03:19 +0000 (13:03 +0000)
commita47acba99b43b3f67f8b7e3cd682c3f9850871e8
treeb5eea84d24092796a6bec2598775cf0881ce3fc9
parent667b5ee1927591b73b8cb4fe30e3f027d12542a2
translate.c: implement new direct comp table mode

The new mode lists for each codec translation the actual real cost in cpu microseconds per second translated audio.
This allows to compare the real cpu usage of translations and helps in evaluation of codec implementation changes regarding performance (regression testing).

- add new table mode
- hide the 999999 comp values, as these only indicate an issue with transcoding
- hide the 0 values, as these also do not contain any information (only indicate a multistep transcoding)

Resolves: #601
main/translate.c