Repository navigation
Commit 2d2476f
committed
audio: pcm_converter: add ARM Cortex-M DSP format conversion routines
Implement ARM Cortex-M DSP optimizations for PCM format conversion:
- Add CONFIG_FORMAT_CONVERT_ARM_SIMD Kconfig option in audio Kconfig.
- Define PCM_CONVERTER_ARM_SIMD in pcm_converter.h.
- Implement pcm_converter_arm.c:
* Fast integer format conversions (S16, S24, S32) using SXTH,
PKHBT, SSAT, and sign extension.
* Float-to-integer and integer-to-float conversions with hardware FPU.
* Linear and circular buffer conversion routines with IPC3 and IPC4
dispatch tables (pcm_func_map, pcm_func_vc_map).
Signed-off-by: Liam Girdwood <lgirdwood@gmail.com>1 parent 7ab6c0e commit 2d2476f
4 files changed
Lines changed: 1105 additions & 1 deletion
File tree
- src
- audio
- pcm_converter
- include/sof/audio
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
285 | 292 | | |
286 | 293 | | |
287 | 294 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
0 commit comments