TI中文支持网
TI专业的中文技术问题搜集分享网站

AM5708的DSP用AAC编解码

在AM5708的平台上做一个项目,利用内置的C66x架构的DSP内核将一边录音的数据一边编码成AAC格式的音频数据,目前在开发中,出现编码过程中出现报错情况。AAC的编解码库是使用C674x上的AAC库,请问在C66x架构上用这个库兼容的吗?

A0=0x1 A1=0x1c0
[ 0.555] A2=0x9541ece8 A3=0x954e91e8
[ 0.555] A4=0x9541dee8 A5=0x442c51d3
[ 0.555] A6=0x180 A7=0x1c
[ 0.555] A8=0x6 A9=0x2
[ 0.555] A10=0x0 A11=0x1
[ 0.555] A12=0x95416acc A13=0x95415098
[ 0.555] A14=0x95416ad4 A15=0x95416ad0
[ 0.555] A16=0x0 A17=0x95416b66
[ 0.555] A18=0x95416b60 A19=0x954150a8
[ 0.555] A20=0xbe8fba28 A21=0x3edc517e
[ 0.555] A22=0x3ecd2b72 A23=0x955de5f8
[ 0.555] A24=0x3f A25=0x100
[ 0.555] A26=0xffffffff A27=0x7
[ 0.555] A28=0x800 A29=0x40
[ 0.555] A30=0x95419c20 A31=0xc
[ 0.555] B0=0xd B1=0x0
[ 0.555] B2=0x1 B3=0x9504b218
[ 0.555] B4=0xe B5=0x0
[ 0.555] B6=0x184 B7=0x2
[ 0.555] B8=0x9541dee0 B9=0x0
[ 0.555] B10=0x95416a1c B11=0x0
[ 0.555] B12=0x95416ac8 B13=0x95416bc0
[ 0.555] B14=0x955ec890 B15=0x95414f80
[ 0.555] B16=0x9541ccd8 B17=0x459141de
[ 0.555] B18=0x80 B19=0x9541ddd8
[ 0.555] B20=0x10 B21=0x3e4789e0
[ 0.555] B22=0x3ec9fbd0 B23=0x3fb0a4b8
[ 0.555] B24=0xbe16a270 B25=0xc0904850
[ 0.555] B26=0xbe8aa684 B27=0xc03c717e
[ 0.555] B28=0xbfc03a88 B29=0xbef8c2c0
[ 0.555] B30=0x9541ac20 B31=0x810d20
[ 0.555] NTSR=0x1820d
[ 0.555] ITSR=0xf
[ 0.555] IRP=0x95048088
[ 0.555] SSR=0x0
[ 0.555] AMR=0x0
[ 0.555] RILC=0x40
[ 0.555] ILC=0x0
[ 0.555] Exception at 0x810db0
[ 0.555] EFR=0x2 NRP=0x810db0
[ 0.555] Internal exception: IERR=0x10
[ 0.555] Resource conflict exception
[ 0.555] [t=0x1806f0df] ti.sysbios.family.c64p.Exception: ERROR: line 256: E_exceptionMax: pc = 0x00810db0, sp = 0x95414f80.
[ 0.555] ti.sysbios.family.c64p.Exception: line 256: E_exceptionMax: pc = 0x00810db0, sp = 0x95414f80.
[ 0.555] xdc.runtime.Error.raise: terminating execution

Nancy Wang:

建议使用以下的AAC codec。
software-dl.ti.com/…/index_FDS.html
或者找第三方支持,以下链接有相关联系方式。
www.ti.com/…/embeddedsoftwarefulldetails.tsp

user4251816:

回复 Nancy Wang:

你发的链接C64xPlus的AAC库是COFF格式,不兼容工程的ELF格式。

warning #10373-D: library "/home/dc_ubuntu/DC_Workspace/workspace/ccs/DSP_RTSCTest/lib/aacenc_tii_lc.l64P" contains TI-COFF object files which are incompatible with the ELF output file.Ensure you are using the proper library.
warning #10373-D: library "/home/dc_ubuntu/DC_Workspace/workspace/ccs/DSP_RTSCTest/lib/aacenc_tii_lc.l64P" contains TI-COFF object files which are incompatible with the ELF output file.Ensure you are using the proper library.
error #10056: symbol "IsLittleEndian" redefined: first defined in "./src/WavReader.obj"; redefined in "./src/wav_reader.obj"
error #10056: symbol "fread_EL" redefined: first defined in "./src/WavReader.obj"; redefined in "./src/wav_reader.obj"
error #10056: symbol "read_wave_header" redefined: first defined in "./src/WavReader.obj"; redefined in "./src/wav_reader.obj"undefinedfirst referencedsymbolin file————————-AACENC_TII_IAACENC ./src/TestAppEncoder.objBCACHE_inv./src/TestAppEncoder.objBCACHE_wbInv./src/TestAppEncoder.objBCACHE_wbInvAll./src/TestAppEncoder.obj
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "DSP_RTSCTest.out" not built
>> Compilation failure
makefile:145: recipe for target 'DSP_RTSCTest.out' failed
gmake[1]: *** [DSP_RTSCTest.out] Error 1
gmake: *** [all] Error 2
makefile:141: recipe for target 'all' failed

**** Build Finished ****

yongqing wang:

回复 user4251816:

C66x DSP没有提供AAC库

yongqing wang:

回复 yongqing wang:

参考这个回答:e2e.ti.com/…/573943

赞(0)
未经允许不得转载:TI中文支持网 » AM5708的DSP用AAC编解码
分享到: 更多 (0)