[opus] Ask for suggestions about optimizing opus on STM32F407

Amit Ashara ashara.amit at gmail.com
Fri Jan 12 17:03:52 UTC 2018


Hello Forrest,

Did you try using the same constraints as the Reference design for the
TM4C129 implementation, i.e. CBR, mono at 48 KHz?

Regards
Amit Ashara

On Sat, Jan 6, 2018 at 3:02 AM, forrest <forrest at 263.net> wrote:

> Dear Developers,
>
>
> I make a opus 1.2.1 codec build for STM32F407(fixed-point and disable
> float APIs).
>
> it seems too slow for the VOIP application.
>
>
> Case 1:
>
> 48KHz Sampling rate, Stereo, VBR, frame size: 20ms, Bit-rates: 96kbps
>
> Encode cost: 2.11x real time
>
> Decode cost: 1.54x real time
>
> Encode + Decode: 3.65x
>
> Case 2:
>
> 8KHz Sampling rate, Mono, VBR, frame size: 20ms, Bit-rates: 16kbps
>
> Encode cost: 1.08x real time
>
> Decode cost: 0.14x real time
>
> Encode + Decode: 1.24x
>
>
> Are there any available optimizations or suggestions for Cortex-M4?
>
>
> As I knonw, TI TM4C129x is based on Cortex-M4 too:
>
> http://www.ti.com/tool/TIDM-TM4C129POEAUDIO
>
> <http://www.ti.com/tool/TIDM-TM4C129POEAUDIO>
>
> The performance of opus on it is good enough for mono 48KHz sampling rate.
>
> CPU usage is only about 70% of 120MHz when encode/decode at same time.
>
>
> Sincerely
>
> Forrest
>
>
>
> _______________________________________________
> opus mailing list
> opus at xiph.org
> http://lists.xiph.org/mailman/listinfo/opus
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xiph.org/pipermail/opus/attachments/20180112/d47fcf7d/attachment.html>


More information about the opus mailing list