File tree Expand file tree Collapse file tree 6 files changed +64
-0
lines changed
Expand file tree Collapse file tree 6 files changed +64
-0
lines changed Original file line number Diff line number Diff line change 1+ Cadence Codec Configuration Overlays
2+ =====================================
3+
4+ This directory contains Kconfig overlay files for enabling Cadence codec support
5+ in SOF firmware builds.
6+
7+ Prerequisites
8+ -------------
9+ The Cadence codec libraries must be placed in the cadence_libs directory, one level
10+ up from the SOF project directory:
11+ sof/../cadence_libs/
12+
13+ Available Overlay Files
14+ -----------------------
15+ cadence.conf - Base Cadence codec module only (no individual codecs)
16+ mp3.conf - MP3 decoder and encoder
17+ aac.conf - AAC decoder
18+ vorbis.conf - Vorbis decoder
19+ all_codecs.conf - All supported codecs (MP3, AAC, Vorbis)
20+
21+ Usage Examples
22+ --------------
23+ Use with scripts/xtensa-build-zephyr.py via -o parameter:
24+
25+ # Base module only (e.g., for Tiger Lake)
26+ scripts/xtensa-build-zephyr.py tgl -o app/compr/cadence.conf
27+
28+ # Single codec
29+ scripts/xtensa-build-zephyr.py mtl -o app/compr/mp3.conf
30+
31+ # Multiple codecs (use separate -o for each)
32+ scripts/xtensa-build-zephyr.py mtl -o app/compr/mp3.conf -o app/compr/aac.conf
33+
34+ # All codecs
35+ scripts/xtensa-build-zephyr.py mtl -o app/compr/all_codecs.conf
36+
37+ For more information about Cadence codecs, see the SOF documentation.
Original file line number Diff line number Diff line change 1+ # Cadence AAC decoder
2+ CONFIG_CADENCE_CODEC=y
3+ CONFIG_CADENCE_CODEC_AAC_DEC=y
4+ CONFIG_CADENCE_CODEC_AAC_DEC_LIB="../cadence_libs/xa_aac_dec.a"
Original file line number Diff line number Diff line change 1+ # All Cadence codecs (MP3, AAC, Vorbis)
2+ CONFIG_CADENCE_CODEC=y
3+ CONFIG_CADENCE_CODEC_MP3_DEC=y
4+ CONFIG_CADENCE_CODEC_MP3_DEC_LIB="../cadence_libs/xa_mp3_dec.a"
5+ CONFIG_CADENCE_CODEC_MP3_ENC=y
6+ CONFIG_CADENCE_CODEC_MP3_ENC_LIB="../cadence_libs/xa_mp3_enc.a"
7+ CONFIG_CADENCE_CODEC_AAC_DEC=y
8+ CONFIG_CADENCE_CODEC_AAC_DEC_LIB="../cadence_libs/xa_aac_dec.a"
9+ CONFIG_CADENCE_CODEC_VORBIS_DEC=y
10+ CONFIG_CADENCE_CODEC_VORBIS_DEC_LIB="../cadence_libs/xa_vorbis_dec.a"
11+
Original file line number Diff line number Diff line change 1+ # Cadence codec module base support
2+ CONFIG_CADENCE_CODEC=y
Original file line number Diff line number Diff line change 1+ # Cadence MP3 decoder and encoder
2+ CONFIG_CADENCE_CODEC=y
3+ CONFIG_CADENCE_CODEC_MP3_DEC=y
4+ CONFIG_CADENCE_CODEC_MP3_DEC_LIB="../cadence_libs/xa_mp3_dec.a"
5+ CONFIG_CADENCE_CODEC_MP3_ENC=y
6+ CONFIG_CADENCE_CODEC_MP3_ENC_LIB="../cadence_libs/xa_mp3_enc.a"
Original file line number Diff line number Diff line change 1+ # Cadence Vorbis decoder
2+ CONFIG_CADENCE_CODEC=y
3+ CONFIG_CADENCE_CODEC_VORBIS_DEC=y
4+ CONFIG_CADENCE_CODEC_VORBIS_DEC_LIB="../cadence_libs/xa_vorbis_dec.a"
You can’t perform that action at this time.
0 commit comments