xiph / xiph/opus

How to improve the compression speed of opus on STM32?

Open
#258 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
3.3k
Forks
808
PR merge metrics
No merged PRs in 30d

Description

Thanks for the open source!
I tried to use the OPUS compression algorithm on STM32L476@80Mhz, compressing 12K, 40ms, 480 data, -Of optimization, complexity 1, it took 25ms, and then defined OPUS_ARM_ASM, OPUS_ARM_INLINE_ASM two definitions, but the speed did not improve, there is Any other way to increase the speed? Thank you

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported 25 ms compression time on the STM32L476 at 80 MHz with 12K, 40 ms, 480-sample data, complexity 1, and the stated optimization settings. Compare the results with and without OPUS_ARM_ASM and OPUS_ARM_INLINE_ASM; done means identifying a verified speed improvement or documenting why the definitions do not help.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
audio-video-rtc, embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.