]> 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:22 +0000 (13:03 +0000)
commit3c72bc8a7b06823dc9f6ff6e6176d8feb31d2f0f
tree95fca20e2cdb04cdc043c2360122fc3a94564bde
parent07055dce94231393a7bc291e6828e10b14072ebe
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