<style>table.customTableClassName {margin-bottom: 10px;border-collapse: collapse;display: table;}.customTableClassName td, .customTableClassName th {border: 1px solid #ddd;}</style><div id="write-custom-write" tabindex="0" style="font-size: 12px; font-family: 宋体; outline: medium none currentcolor;"><p style="margin:0px;">Dear Developers,</p><p style="margin:0px;"><br></p><p style="margin:0px;">I make a opus 1.2.1 codec build for STM32F407(fixed-point and disable float APIs).</p><p style="margin:0px;">it seems too slow for the VOIP application.</p><p style="margin:0px;"><br></p><p style="margin:0px;">Case 1:<br></p><p style="margin:0px;">48KHz Sampling rate, Stereo, VBR, frame size: 20ms, Bit-rates: 96kbps</p><p style="margin:0px;">Encode cost: 2.11x real time</p><p style="margin:0px;">Decode cost: 1.54x real time</p><p style="margin:0px;">Encode + Decode: 3.65x<br></p><br><p style="margin:0px;">Case 2:</p><p style="margin:0px;">8KHz Sampling rate, Mono, VBR, frame size: 20ms, Bit-rates: 16kbps</p><p style="margin:0px;">Encode cost: 1.08x real time</p><p style="margin:0px;">Decode cost: 0.14x real time</p><p style="margin:0px;">Encode + Decode: 1.24x</p><p style="margin:0px;"><br></p><p style="margin:0px;">Are there any available optimizations or suggestions for Cortex-M4?</p><p style="margin:0px;"><br></p><p style="margin:0px;">As I knonw, TI TM4C129x is based on Cortex-M4 too:</p><p style="margin:0px;"><a href="http://www.ti.com/tool/TIDM-TM4C129POEAUDIO" _src="http://www.ti.com/tool/TIDM-TM4C129POEAUDIO">http://www.ti.com/tool/TIDM-TM4C129POEAUDIO</a></p><p style="margin:0px;"><a href="http://www.ti.com/tool/TIDM-TM4C129POEAUDIO" _src="http://www.ti.com/tool/TIDM-TM4C129POEAUDIO"></a><br></p><p style="margin:0px;">The performance of opus on it is good enough for mono 48KHz sampling rate.</p><p style="margin:0px;">CPU usage is only about 70% of 120MHz when encode/decode at same time.<br></p><p style="margin:0px;"><br> </p><p style="margin:0px;">Sincerely</p><p style="margin:0px;">Forrest</p><p style="margin:0px;"><br></p></div>