<div dir="ltr"><div><div><div>Hello Forrest,<br><br></div>Did you try using the same constraints as the Reference design for the TM4C129 implementation, i.e. CBR, mono at 48 KHz?<br><br></div>Regards<br></div>Amit Ashara<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jan 6, 2018 at 3:02 AM, forrest <span dir="ltr"><<a href="mailto:forrest@263.net" target="_blank">forrest@263.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id="m_-5239242585499714708write-custom-write" 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" target="_blank">http://www.ti.com/tool/TIDM-<wbr>TM4C129POEAUDIO</a></p><p style="margin:0px"><a href="http://www.ti.com/tool/TIDM-TM4C129POEAUDIO" target="_blank"></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><span class="HOEnZb"><font color="#888888"><p style="margin:0px">Forrest</p><p style="margin:0px"><br></p></font></span></div><br>______________________________<wbr>_________________<br>
opus mailing list<br>
<a href="mailto:opus@xiph.org">opus@xiph.org</a><br>
<a href="http://lists.xiph.org/mailman/listinfo/opus" rel="noreferrer" target="_blank">http://lists.xiph.org/mailman/<wbr>listinfo/opus</a><br>
<br></blockquote></div><br></div>