IMX8MP hifi4 dsp codec library

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

IMX8MP hifi4 dsp codec library

1,731件の閲覧回数
jiada
Contributor III

Hello NXP support team

We are evaluating hifi4 dsp on iMX8MP, so far we are able to compile DSP framework, unit-test, from imx-audio-framework , and confirmed hifi4 dsp can be started/stopped via sysfs interface

But executing of unit-test failed with error message

root@imx8mpevk:~# dsp_test.out -f1 -d16 -itest.mp3 -otest.pcm
****************************************************************
Cadence Audio Framework (Hostless) : 'Decoder'
Build: NON_XTENSA, RTOS: Linux, On: Jan 10 2023 23:53:16
Copyright (c) 2015-2020 Cadence Design Systems, Inc.
Lib Name : Audio Framework (Hostless)
Lib Version : 2.6
API Version : 2.0
****************************************************************
Audio Device Ready
xaf_load_library failed, Error code : -2 (invalid value at src/xaf-fsl-dec-test.c:513)

By looking at unit-test source code and  i.MX DSP User's Guide (nxp.com) 

I think this is because I am missing DSP codec and DSP codec wrapper libraries,
which needs authorization from NXP marketing or can be downloaded from yocto mirror server
(but so far I am not able to find where to download)

Could you please provide us required DSP codec and codec wrapper libraries
or let us know where to download?

DSP codec & wrapper library: (need authorization from NXP marketing)

/usr/lib/imx-mm/audio-codec/dsp/lib_dsp_codec_wrap.so
/usr/lib/imx-mm/audio-codec/dsp/lib_dsp_mp3_dec.so
/usr/lib/imx-mm/audio-codec/dsp/lib_dsp_aac_dec.so
/usr/lib/imx-mm/audio-codec/dsp/lib_dsp_bsac_dec.so
/usr/lib/imx-mm/audio-codec/dsp/lib_dsp_dabplus_dec.so
/usr/lib/imx-mm/audio-codec/dsp/lib_dsp_drm_dec.so
/usr/lib/imx-mm/audio-codec/dsp/lib_dsp_mp2_dec.so
/usr/lib/imx-mm/audio-codec/dsp/lib_dsp_sbc_dec.so
/usr/lib/imx-mm/audio-codec/dsp/lib_dsp_sbc_enc.so
/usr/lib/imx-mm/audio-codec/dsp/lib_wma10d_wrap_dsp.so

DSP codec wrapper library: (can be downloaded from yocto mirror server)

/usr/lib/imx-mm/audio-codec/dsp/lib_mp3d_wrap_dsp.so
/usr/lib/imx-mm/audio-codec/dsp/lib_aacd_wrap_dsp.so
/usr/lib/imx-mm/audio-codec/dsp/lib_vorbisd_wrap_dsp.so
/usr/lib/imx-mm/audio-codec/dsp/lib_nbamrd_wrap_dsp.so
/usr/lib/imx-mm/audio-codec/dsp/lib_wbamrd_wrap_dsp.so

(listed in “7.2 Binary files in Linux OS rootfs” of i.MX DSP User's Guide (nxp.com) )

Thanks,
Jiada

ラベル(1)
0 件の賞賛
返信
7 返答(返信)

1,015件の閲覧回数
panpanjiangjiang
Contributor II

According to the i.MX DSP User's Guide documentation our problem was solved, thank you very much。

0 件の賞賛
返信

1,695件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

I have already  mailed to you, pls check the mail

0 件の賞賛
返信

1,062件の閲覧回数
praveen_yaramada
Contributor II

Hi @joanxie , Can you also send me a copy of the NXP's codec library ? I am stuck in the similar fashion. I could not locate the libraries or the Yocto mirror site. My platform is also a iMX8 MP EVK.

Thankyou

0 件の賞賛
返信

1,028件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

pls create a new case for your request

0 件の賞賛
返信

1,116件の閲覧回数
panpanjiangjiang
Contributor II
Hi @joanxie
I have already resolved the previous issue, but now I want to integrate our own audio codec library because the desired codec protocol is not available. How can we integrate our own audio codec library into the DSP?
0 件の賞賛
返信

1,023件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

if you still have issue about this, pls create a new case for this, and uploaded detailed your use case information

0 件の賞賛
返信

1,352件の閲覧回数
mrjacob
Contributor I

Hi @joanxie 

I have mailed to you, pls check

Thanks.

0 件の賞賛
返信