节点文献
G722的XDAIS算法标准库的实现及在RF3下的调用
【作者】 唐晓莉;
【导师】 管庆;
【作者基本信息】 电子科技大学 , 信号与信息处理, 2008, 硕士
【摘要】 算法标准是指算法编码遵循的一系列规范,它能够实现同个算法在不同的软硬件环境下,不修改算法代码,也可以重新连接和配置,并独立于任何I/O设备。TI公司就开发了这样一套编写和使用DSP算法的TMS320数字信号处理器算法标准(XDAIS),大大改善了算法的移植和开发效率,提高了算法的重用性和通用性。参考框架(RF)是一个与设备相对独立的系统,提供了一套通用的I/O接口,并规定了算法和应用程序如何使用这个接口。所有外设都以接口形式存在,算法通过框架提供的接口访问外设。此外,框架还定义了任务的优先级,通过优先级,实现对各种模块的控制,即任务的调度。框架实质就是基于硬件平台之上的软件平台。TI公司提出的这样一套参考框架RF,提供了与外设和应用算法通信的标准接口规则,规范了从应用层到物理层的数据传输模式,为不同的软硬件环境提供了标准而便于使用的软件平台。XDAIS和RF定义的一系列编程的准则和建议,标准化了算法和系统软件的接口,使得算法使用者的系统集成任务大为减轻,产品开发周期大为缩短。本论文简要介绍了G722语音编解码算法、算法标准和参考框架的基本概念,详细介绍了算法标准中的静动态内存分配, ALG接口, IALG接口和一些重要的结构及函数等技术要点,并结合G722算法的XDAIS算法标准库的实现过程,解析了这些重点要素的实现方法;详细介绍了RF3中DSP/BIOS的配置,IOM硬件驱动,RF3软件中断管理和数据流程,并在DES320PP-U硬件平台上通过构建RF3软件框架,解析了这些要素的实现方法,并成功调用了G722算法标准库,验证了G722标准库的实现和RF3框架的成功搭建。
【Abstract】 Algorithm standard means a series of rules in coding, it must achive these goals: an algorithm can be executed in different software and hardware enviorement, and can be relinked and reconfigured without coding modification, and must also be independent of any special I/O device. TI developed XDAIS algorithm stardard under these rules; it enhances the efficiency of algorithm transfer and development, increases operation use and reuse of the algorithm.Reference framework (RF) is one kind of systems which is independ of devises, it provides universal I/O interfaces and the rules how algorithm and application use these interfaces. All peripheral devices are existed in forms of interface; Algorithm can visit these devices only through interfaces provided by framework. Meanwhile framework defines how to register internal application modules and the priority of tasks.Framework can control all these modules and task dispatch by editing these priorities. Framework can be considered as one kind of software platform upon hardware platform. TI generated three kinds of reference frameworks, which provide standard interfaces for communication between peripheral devices and applications, define data transfer mode from application level to hardware level, it’s a simple but conveninent software platform for different software and hardware environments.All these rules and suggestions provided by XDAIS and RF are defined as standalize interfaces of algorithm and system software, which reduce hard load of system integrator and duration of product development period.G722 algorithm and RF proposed by TI are briefly introduced in this paper. With an emphasis analysis on the key concepts as dynamic and static memory allocation, ALG interface, IALG interface and some other important structures and functions, depending on the realizing of XDAIS standard algorithm library of G722. And also with an emphasis analysis on the key concepts as DSP/BIOS configuration, IOM hardware driver and RF3 software interrupt management and data flow, depending on realizing RF3 software system, and finally rectify this library successfully called in DES320PP-U hardware development environment.
【Key words】 XDIAS algorithm standard; IALG interface; DSP/BIOS; IOM; RF3;