]> 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)
committerasterisk-org-access-app[bot] <120671045+asterisk-org-access-app[bot]@users.noreply.github.com>
Wed, 28 Feb 2024 13:03:26 +0000 (13:03 +0000)
commitea8ead4e13c1ebe5f816f8cb3126a10bfb0165f8
tree28d32fee75a8626f651875f274fa9e81618f0c93
parent8d79e658d9bf40657d521cdb63fee8d9e106436c
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