简体   繁体   English

用于Blackfin的交叉编译OPUS编解码器

[英]Cross-compile OPUS codec for blackfin

I have succesfully worked with it on linux setting up a stream between 2 linux pc's. 我已经在Linux上成功使用它,在2个Linux PC之间建立了流。 That is straigt forward following the README file for OPUS. 紧随OPUS的README文件之后。

Now I need to cross-compile the OPUS-codec for a Blackfin ADSP-BF707 on windows. 现在,我需要在Windows上交叉编译Blackfin ADSP-BF707的OPUS编解码器。 I have tried to compile though CrossCore Embedded Studio, but then i do not have all the includes and defines that the make file is setting up. 我已经尝试通过CrossCore Embedded Studio进行编译,但是后来我没有所有包含内容,并且定义了make文件正在设置中。

I can see that a define can be set for a ARM processor but i have not found anything for Blackfin. 我可以看到可以为ARM处理器设置定义,但是我没有为Blackfin找到任何东西。 Their Q&A tells that the codec has been compiled the the Blackfin. 他们的Q&A告诉您编解码器已编译为Blackfin。 In linux the "./configure"-command builds the makefile but i do not see how this is done for a cross-compilation. 在Linux中,“ ./ configure”命令生成makefile,但是我看不到如何进行交叉编译。 Do i build my own makefile or what do I do? 我要建立自己的Makefile还是要做什么?

The OPUS codec for Blackfin includes a (closed source) library from Analog Devices with some optimizations in the signal processing part. 用于Blackfin的OPUS编解码器包括来自Analog Devices的(封闭源)库,并在信号处理部分进行了一些优化。 The current version (CELT Codec for Blackfin Production Code (Rev. 1.2.0)) is based on the reference OPUS codec version 0.9.8 当前版本(用于Blackfin生产代码的CELT编解码器(版本1.2.0))基于参考OPUS编解码器版本0.9.8。

My suggestion is that you get the reference version 0.9.8 from the Xiph.org directly and compile it. 我的建议是,您可以直接从Xiph.org获得参考版本0.9.8并进行编译。 In my company, we already did an investigation whether the OPUS codec from Analog Devices produces the 100% byte identical result as the reference implementation and the answer is: yes. 在我的公司中,我们已经进行了调查,ADI公司的OPUS编解码器是否产生与参考实现相同的100%字节结果,答案是:是的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM